lol

Merge pull request #242752 from bcdarwin/remove-python3-imgaug

python310Packages.imgaug: remove

authored by

Nick Cao and committed by
GitHub
63b561d4 319c4468

+2 -156
-84
pkgs/development/python-modules/imgaug/default.nix
··· 1 - { buildPythonPackage 2 - , fetchFromGitHub 3 - , imageio 4 - , imagecorruptions 5 - , numpy 6 - , opencv3 7 - , pytestCheckHook 8 - , scikit-image 9 - , scipy 10 - , shapely 11 - , six 12 - , lib 13 - }: 14 - 15 - buildPythonPackage rec { 16 - pname = "imgaug"; 17 - version = "0.4.0"; 18 - 19 - src = fetchFromGitHub { 20 - owner = "aleju"; 21 - repo = "imgaug"; 22 - rev = version; 23 - sha256 = "17hbxndxphk3bfnq35y805adrfa6gnm5x7grjxbwdw4kqmbbqzah"; 24 - }; 25 - 26 - postPatch = '' 27 - substituteInPlace requirements.txt \ 28 - --replace "opencv-python-headless" "" 29 - substituteInPlace setup.py \ 30 - --replace "opencv-python-headless" "" 31 - substituteInPlace pytest.ini \ 32 - --replace "--xdoctest --xdoctest-global-exec=\"import imgaug as ia\nfrom imgaug import augmenters as iaa\"" "" 33 - ''; 34 - 35 - propagatedBuildInputs = [ 36 - imageio 37 - imagecorruptions 38 - numpy 39 - opencv3 40 - scikit-image 41 - scipy 42 - shapely 43 - six 44 - ]; 45 - 46 - nativeCheckInputs = [ 47 - opencv3 48 - pytestCheckHook 49 - ]; 50 - 51 - disabledTests = [ 52 - # Tests are outdated 53 - "test_quokka_segmentation_map" 54 - "test_pool" 55 - "test_avg_pool" 56 - "test_max_pool" 57 - "test_min_pool" 58 - "est_median_pool" 59 - "test_alpha_is_080" 60 - "test_face_and_lines_at_half_visibility" 61 - "test_polygon_fully_inside_image__no_rectangular_shape" 62 - # flaky due to timing-based assertions 63 - "test_imap_batches_output_buffer_size" 64 - "test_imap_batches_unordered_output_buffer_size" 65 - ]; 66 - 67 - disabledTestPaths = [ 68 - # TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' 69 - "test/augmenters/test_pooling.py" 70 - ]; 71 - 72 - pythonImportsCheck = [ "imgaug" ]; 73 - 74 - meta = with lib; { 75 - homepage = "https://github.com/aleju/imgaug"; 76 - description = "Image augmentation for machine learning experiments"; 77 - license = licenses.mit; 78 - maintainers = with maintainers; [ cmcdragonkai rakesh4g ]; 79 - platforms = platforms.linux; 80 - # Scikit-image 0.19 update broke API, see https://github.com/scikit-image/scikit-image/releases/tag/v0.19.0 81 - # and https://github.com/scikit-image/scikit-image/issues/6093 82 - broken = lib.versionAtLeast scikit-image.version "0.19"; 83 - }; 84 - }
-68
pkgs/development/python-modules/mask-rcnn/default.nix
··· 1 - { buildPythonPackage 2 - , cython 3 - , fetchFromGitHub 4 - , fetchpatch 5 - , h5py 6 - , imgaug 7 - , ipython 8 - , keras 9 - , lib 10 - , matplotlib 11 - , numpy 12 - , opencv3 13 - , pillow 14 - , scikit-image 15 - , scipy 16 - , tensorflow 17 - }: 18 - 19 - buildPythonPackage rec { 20 - pname = "mask-rcnn"; 21 - version = "2.1"; 22 - 23 - src = fetchFromGitHub { 24 - owner = "matterport"; 25 - repo = "Mask_RCNN"; 26 - rev = "3deaec5d902d16e1daf56b62d5971d428dc920bc"; 27 - sha256 = "13s3q9yh2q9m9vyksd269mww3bni4q2w7q5l419q70ca075qp8zp"; 28 - }; 29 - 30 - patches = [ 31 - # Fix for TF2: 32 - # https://github.com/matterport/Mask_RCNN/issues/2734 33 - (fetchpatch { 34 - url = "https://github.com/BupyeongHealer/Mask_RCNN_tf_2.x/commit/7957839fe2b248f2f22c7e991ead12068ddc6cfc.diff"; 35 - excludes = [ "mrcnn/model.py" ]; 36 - hash = "sha256-70BGrx6X1uJDA2025f0YTlreT2uB3n35yIzuhf+ypVc="; 37 - }) 38 - ]; 39 - 40 - # Fix for recent Keras 41 - postPatch = '' 42 - substituteInPlace mrcnn/model.py \ 43 - --replace "KE." "KL." 44 - ''; 45 - 46 - nativeBuildInputs = [ cython ]; 47 - 48 - propagatedBuildInputs = [ 49 - h5py 50 - imgaug 51 - ipython 52 - keras 53 - matplotlib 54 - numpy 55 - opencv3 56 - pillow 57 - scikit-image 58 - scipy 59 - tensorflow 60 - ]; 61 - 62 - meta = with lib; { 63 - description = "Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow"; 64 - homepage = "https://github.com/matterport/Mask_RCNN"; 65 - license = licenses.mit; 66 - maintainers = with maintainers; [ rakesh4g ]; 67 - }; 68 - }
+2
pkgs/top-level/python-aliases.nix
··· 150 150 IMAPClient = imapclient; # added 2021-10-28 151 151 imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08 152 152 image-match = throw "image-match has been removed because it is no longer maintained"; # added 2023-06-10 153 + imgaug = throw "imgaug has been removed as it is no longer maintained"; # added 2023-07-10 153 154 intreehook = throw "intreehooks has been removed because it is obsolete as a backend-path key was added to PEP 517"; # added 2023-04-11 154 155 ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30 155 156 influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10 ··· 172 173 Mako = mako; # added 2023-02-19 173 174 Markups = markups; # added 2022-02-14 174 175 markdownsuperscript = throw "markdownsuperscript is unmaintained, use pymdown-extensions"; # added 2023-06-10 176 + mask-rcnn = throw "mask-rcnn has been removed as it is unmaintained and its dependency imgaug no longer builds"; # added 2023-07-10 175 177 MDP = mdp; # added 2023-02-19 176 178 MechanicalSoup = mechanicalsoup; # added 2021-06-01 177 179 memcached = python-memcached; # added 2022-05-06
-4
pkgs/top-level/python-packages.nix
··· 4951 4951 4952 4952 img2pdf = callPackage ../development/python-modules/img2pdf { }; 4953 4953 4954 - imgaug = callPackage ../development/python-modules/imgaug { }; 4955 - 4956 4954 imgdiff = callPackage ../development/python-modules/imgdiff { }; 4957 4955 4958 4956 imgsize = callPackage ../development/python-modules/imgsize { }; ··· 6180 6178 marshmallow-sqlalchemy = callPackage ../development/python-modules/marshmallow-sqlalchemy { }; 6181 6179 6182 6180 mashumaro = callPackage ../development/python-modules/mashumaro { }; 6183 - 6184 - mask-rcnn = callPackage ../development/python-modules/mask-rcnn { }; 6185 6181 6186 6182 masky = callPackage ../development/python-modules/masky { }; 6187 6183