Merge pull request #334313 from GaetanLepage/imageio

This commit is contained in:
Sandro 2024-08-14 13:56:06 +02:00 committed by GitHub
commit c4a0a122c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "imageio"; pname = "imageio";
version = "2.34.2"; version = "2.35.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = "imageio"; owner = "imageio";
repo = "imageio"; repo = "imageio";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-1q/LPEdo9rzcIR1ZD+bIP8MIKe7PmxRd8UX6c5C0V5k="; hash = "sha256-mmd3O7vvqKiHISASE5xRnBzuYon9HeEYRZGyDKy7n9o=";
}; };
patches = lib.optionals (!stdenv.isDarwin) [ patches = lib.optionals (!stdenv.isDarwin) [
@ -58,7 +58,7 @@ buildPythonPackage rec {
pillow pillow
]; ];
passthru.optional-dependencies = { optional-dependencies = {
bsdf = [ ]; bsdf = [ ];
dicom = [ ]; dicom = [ ];
feisem = [ ]; feisem = [ ];
@ -79,14 +79,11 @@ buildPythonPackage rec {
heif = [ pillow-heif ]; heif = [ pillow-heif ];
}; };
nativeCheckInputs = nativeCheckInputs = [
[ fsspec
fsspec psutil
psutil pytestCheckHook
pytestCheckHook ] ++ fsspec.optional-dependencies.github ++ lib.flatten (builtins.attrValues optional-dependencies);
]
++ fsspec.optional-dependencies.github
++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pytestFlagsArray = [ "-m 'not needs_internet'" ]; pytestFlagsArray = [ "-m 'not needs_internet'" ];