Skip to content

Commit

Permalink
python312Packages.imageio: 2.36.0 -> 2.36.1 (#359832)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored Dec 14, 2024
2 parents 7ac2854 + 0442a9b commit 343a6c4
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions pkgs/development/python-modules/imageio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@

buildPythonPackage rec {
pname = "imageio";
version = "2.36.0";
version = "2.36.1";
pyproject = true;

src = fetchFromGitHub {
owner = "imageio";
repo = "imageio";
rev = "refs/tags/v${version}";
hash = "sha256-dQrAVPXtDdibaxxfqW29qY7j5LyegvmI0Y7/btXmsyY=";
tag = "v${version}";
hash = "sha256-jHy0w+tHjoYGTgkcIvy4FnjoZ1eJrVA3JrDYapkBLhY=";
};

patches = lib.optionals (!stdenv.hostPlatform.isDarwin) [
Expand Down Expand Up @@ -76,11 +76,14 @@ buildPythonPackage rec {
heif = [ pillow-heif ];
};

nativeCheckInputs = [
fsspec
psutil
pytestCheckHook
] ++ fsspec.optional-dependencies.github ++ lib.flatten (builtins.attrValues optional-dependencies);
nativeCheckInputs =
[
fsspec
psutil
pytestCheckHook
]
++ fsspec.optional-dependencies.github
++ lib.flatten (builtins.attrValues optional-dependencies);

pytestFlagsArray = [ "-m 'not needs_internet'" ];

Expand All @@ -97,26 +100,20 @@ buildPythonPackage rec {
"tests/test_swf.py"
];

disabledTests =
[
# Pillow 11.0.0 compat
# https://github.com/imageio/imageio/issues/1104
"test_gif"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Segmentation fault
"test_bayer_write"
# RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
"test_writer_file_properly_closed"
"test_writer_pixelformat_size_verbose"
"test_writer_ffmpeg_params"
"test_reverse_read"
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Segmentation fault
"test_bayer_write"
# RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
"test_writer_file_properly_closed"
"test_writer_pixelformat_size_verbose"
"test_writer_ffmpeg_params"
"test_reverse_read"
];

meta = {
description = "Library for reading and writing a wide range of image, video, scientific, and volumetric data formats";
homepage = "https://imageio.readthedocs.io";
changelog = "https://github.com/imageio/imageio/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/imageio/imageio/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ Luflosi ];
};
Expand Down

0 comments on commit 343a6c4

Please sign in to comment.