diff --git a/pkgs/development/python-modules/imageio/default.nix b/pkgs/development/python-modules/imageio/default.nix index 68dcc85cf483..8811e6c7ce27 100644 --- a/pkgs/development/python-modules/imageio/default.nix +++ b/pkgs/development/python-modules/imageio/default.nix @@ -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.