diff options
| author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2025-01-22 22:02:56 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-22 22:02:56 +0900 |
| commit | 25b5be85d093e89a75ac3257fd37cbd4e5105f53 (patch) | |
| tree | 13be87061f45bb8c0438bda07104e56ee2c83ebd | |
| parent | mmseqs2: 16-747c6 -> 17-b804f (#374958) (diff) | |
| parent | python312Packages.keras-preprocessing: remove (diff) | |
| download | nixpkgs-25b5be85d093e89a75ac3257fd37cbd4e5105f53.tar.gz | |
python312Packages.keras-{applications,preprocessing}: remove (#373129)
6 files changed, 2 insertions, 97 deletions
diff --git a/pkgs/development/python-modules/keras-applications/default.nix b/pkgs/development/python-modules/keras-applications/default.nix deleted file mode 100644 index cdb3beb6a403..000000000000 --- a/pkgs/development/python-modules/keras-applications/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - numpy, - h5py, -}: - -buildPythonPackage rec { - pname = "keras-applications"; - version = "1.0.8"; - - src = fetchPypi { - pname = "Keras_Applications"; - inherit version; - sha256 = "5579f9a12bcde9748f4a12233925a59b93b73ae6947409ff34aa2ba258189fe5"; - }; - - # Cyclic dependency: keras-applications requires keras, which requires keras-applications - postPatch = '' - sed -i "s/keras>=[^']*//" setup.py - ''; - - # No tests in PyPI tarball - doCheck = false; - - propagatedBuildInputs = [ - numpy - h5py - ]; - - meta = with lib; { - description = "Reference implementations of popular deep learning models"; - homepage = "https://github.com/keras-team/keras-applications"; - license = licenses.mit; - }; -} diff --git a/pkgs/development/python-modules/keras-preprocessing/default.nix b/pkgs/development/python-modules/keras-preprocessing/default.nix deleted file mode 100644 index 0e9b0bf5187f..000000000000 --- a/pkgs/development/python-modules/keras-preprocessing/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - numpy, - six, - scipy, - pillow, - pytest, - keras, -}: - -buildPythonPackage rec { - pname = "keras-preprocessing"; - version = "1.1.2"; - - src = fetchPypi { - pname = "Keras_Preprocessing"; - inherit version; - sha256 = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3"; - }; - - propagatedBuildInputs = [ - # required - numpy - six - # optional - scipy - pillow - ]; - - nativeCheckInputs = [ - pytest - keras - ]; - - checkPhase = '' - py.test tests/ - ''; - - # Cyclic dependency: keras-preprocessing's tests require Keras, which requires keras-preprocessing - doCheck = false; - - meta = with lib; { - description = "Easy data preprocessing and data augmentation for deep learning models"; - homepage = "https://github.com/keras-team/keras-preprocessing"; - license = licenses.mit; - }; -} diff --git a/pkgs/development/python-modules/tensorflow/bin.nix b/pkgs/development/python-modules/tensorflow/bin.nix index cb709c98b720..2ca3c4c1dc61 100644 --- a/pkgs/development/python-modules/tensorflow/bin.nix +++ b/pkgs/development/python-modules/tensorflow/bin.nix @@ -29,8 +29,6 @@ cudaPackages, zlib, python, - keras-applications, - keras-preprocessing, addDriverRunpath, astunparse, flatbuffers, @@ -90,8 +88,6 @@ buildPythonPackage rec { wrapt tensorflow-estimator-bin tensorboard - keras-applications - keras-preprocessing h5py ] ++ lib.optional (!isPy3k) mock; diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix index ac2430d1a2b6..0201564e683f 100644 --- a/pkgs/development/python-modules/tensorflow/default.nix +++ b/pkgs/development/python-modules/tensorflow/default.nix @@ -22,7 +22,6 @@ packaging, setuptools, wheel, - keras-preprocessing, google-pasta, opt-einsum, astunparse, @@ -197,7 +196,6 @@ let google-pasta grpcio h5py - keras-preprocessing numpy opt-einsum packaging @@ -648,7 +646,6 @@ buildPythonPackage { google-pasta grpcio h5py - keras-preprocessing numpy opt-einsum packaging diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index bd2465ec9bb1..2284859f75c5 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -328,6 +328,8 @@ mapAliases ({ Kajiki = kajiki; # added 2023-02-19 keepkey_agent = keepkey-agent; # added 2024-01-06 Keras = keras; # added 2021-11-25 + keras-applications = throw "keras-applications has been removed because it's abandoned since 2022"; # added 2025-01-12 + keras-preprocessing = throw "keras-preprocessing has been removed because it's abandoned since 2024"; # added 2025-01-12 keyring_24 = throw "keyring_24 has been removed, use keyring instead"; # added 2025-01-01 ldap = python-ldap; # added 2022-09-16 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0ca790c9a6a4..aac99f5adafc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6965,12 +6965,8 @@ self: super: with self; { keke = callPackage ../development/python-modules/keke { }; - keras-applications = callPackage ../development/python-modules/keras-applications { }; - keras = callPackage ../development/python-modules/keras { }; - keras-preprocessing = callPackage ../development/python-modules/keras-preprocessing { }; - kerberos = callPackage ../development/python-modules/kerberos { }; kestra = callPackage ../development/python-modules/kestra { }; |
