python3Packages.imageio: 2.37.0 -> 2.37.1
Diff: https://github.com/imageio/imageio/compare/v2.37.0...v2.37.1 Changelog: https://github.com/imageio/imageio/blob/v2.37.1/CHANGELOG.md
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPyPy,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -44,29 +43,16 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "imageio";
|
||||
version = "2.37.0";
|
||||
version = "2.37.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "imageio";
|
||||
repo = "imageio";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-/nxJxZrTYX7F2grafIWwx9SyfR47ZXyaUwPHMEOdKkI=";
|
||||
hash = "sha256-eNS++8pD+m51IxRR23E98K0f3rwNez/UiByA+PSfUH8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/imageio/imageio/issues/1139
|
||||
# https://github.com/imageio/imageio/pull/1144
|
||||
name = "fix-pyav-13-1-compat";
|
||||
url = "https://github.com/imageio/imageio/commit/eadfc5906f5c2c3731f56a582536dbc763c3a7a9.patch";
|
||||
excludes = [
|
||||
"setup.py"
|
||||
];
|
||||
hash = "sha256-ycsW1YXtiO3ZecIF1crYaX6vg/nRW4bF4So5uWCVzME=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
substituteInPlace tests/test_core.py \
|
||||
--replace-fail 'ctypes.util.find_library("GL")' '"${libgl}"'
|
||||
@@ -112,14 +98,6 @@ buildPythonPackage rec {
|
||||
|
||||
pytestFlags = [ "--test-images=file://${test_images}" ];
|
||||
|
||||
disabledTests = [
|
||||
# These should have had `needs_internet` mark applied but don't so far.
|
||||
# See https://github.com/imageio/imageio/pull/1142
|
||||
"test_read_stream"
|
||||
"test_uri_reading"
|
||||
"test_trim_filter"
|
||||
];
|
||||
|
||||
disabledTestMarks = [ "needs_internet" ];
|
||||
|
||||
# These tests require the old and vulnerable freeimage binaries; skip.
|
||||
|
||||
Reference in New Issue
Block a user