Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: python3Packages.imagecodecs 0 -> 1 attrpath: python3Packages.imagecodecs Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/fw7bf5qyk0m9n9q2ws1pwq8c42i0w39b-packages.json.drv building '/nix/store/fw7bf5qyk0m9n9q2ws1pwq8c42i0w39b-packages.json.drv'... Going to be running update for following packages: - python3.14-imagecodecs-2026.6.26 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-imagecodecs-2026.6.26: UPDATING ... - python3.14-imagecodecs-2026.6.26: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/imagecodecs/default.nix b/pkgs/development/python-modules/imagecodecs/default.nix index e07a06619ef2..b3e7bef2597c 100644 --- a/pkgs/development/python-modules/imagecodecs/default.nix +++ b/pkgs/development/python-modules/imagecodecs/default.nix @@ -29,7 +29,7 @@ }: let - version = "2026.6.26"; + version = "2026.11.11"; in buildPythonPackage rec { pname = "imagecodecs"; @@ -40,7 +40,7 @@ buildPythonPackage rec { owner = "cgohlke"; repo = "imagecodecs"; tag = "v${version}"; - hash = "sha256-0o4zSf1iCzxph9tQ+b2nShaRWeCBuszf/r85Zg1BGTY="; + hash = "sha256-GvOVSbPANKHs7llLmWWUIKahnvw4Fy0LcMEwAu5HKk4="; }; build-system = [ No auto update branch exists Old version 2026.6.26" not present in staging derivation file with contents: { lib, buildPythonPackage, fetchFromGitHub, # build-system cython, numpy, setuptools, # nativeBuildInputs pkgs, lcms2, openjpeg, # buildInputs jxrlib, lerc, libdeflate, libjpeg, libpng, libtiff, libwebp, openjph, xz, zlib, # tests pytest-run-parallel, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "imagecodecs"; version = "2026.10.10"; pyproject = true; src = fetchFromGitHub { owner = "cgohlke"; repo = "imagecodecs"; tag = "v${finalAttrs.version}"; hash = "sha256-PGctU16wv0bisjJ8JwZxfUrIMzU9lR0A+pnvoBl2SY4="; }; build-system = [ cython numpy setuptools ]; nativeBuildInputs = [ pkgs.lz4.dev # lz4 was hidden by python3Packages.lz4 lcms2.dev openjpeg.dev ]; buildInputs = [ jxrlib lcms2 lerc libdeflate libjpeg libpng libtiff libwebp pkgs.lz4 openjpeg openjph xz # liblzma zlib pkgs.zstd ]; dependencies = [ numpy ]; prePatch = '' substituteInPlace setup.py \ --replace-fail "/usr/include/openjpeg" "${openjpeg.dev}/include/openjpeg" \ --replace-fail "/usr/include/jxrlib" "${jxrlib}/include/jxrlib" ''; nativeCheckInputs = [ pytest-run-parallel pytestCheckHook ]; preCheck = '' # import from $out rm -r imagecodecs ''; disabledTests = [ # alpha channel not supported by codec "jpeg8-rgba" "jpeg8-uint8-rgba" # lossless mode not supported by legacy JPEG codec "test_imread_imwrite" # we don't package liblzf "test_lzf_exceptions" ]; pythonImportsCheck = [ "imagecodecs" ]; meta = { description = "Image transformation, compression, and decompression codecs"; homepage = "https://github.com/cgohlke/imagecodecs"; changelog = "https://github.com/cgohlke/imagecodecs/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ yzx9 ]; }; })