diff --git a/changelogs/master/changed/20250320_change_imagecorruptions.md b/changelogs/master/changed/20250320_change_imagecorruptions.md new file mode 100644 index 000000000..da6452adb --- /dev/null +++ b/changelogs/master/changed/20250320_change_imagecorruptions.md @@ -0,0 +1,10 @@ +# Switch imagecorruptions dependency + +The existing PyPi `imagecorruptions` package introduces test +failures due to broken determinism and broken `scikit-image` +compatability. + +A [fix](https://github.com/bethgelab/imagecorruptions/pull/27) +was provided, yet ignored for several months. Therefore a +[fork](https://github.com/imaug/imagecorruptions) was necessary which +fixes the issues and provides the PyPi `imagecorruptions-imaug` package. \ No newline at end of file diff --git a/setup.py b/setup.py index 142328196..efb3b0248 100644 --- a/setup.py +++ b/setup.py @@ -19,9 +19,7 @@ "opencv-python", "imageio", "Shapely", - # TODO(erjel): Ask for new version with included fixes on PyPi - #imagecorruptions>=1.1.3 - "imagecorruptions @ git+https://github.com/erjel/imagecorruptions.git@c3079b5123f8db32832c2c8b482fe377dafdd448", + "imagecorruptions-imaug>=1.1.3", ] ALT_INSTALL_REQUIRES = {