Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.imageio: 2.36.0 -> 2.36.1 #359832

Merged
merged 1 commit into from
Dec 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading