python312Packages.keras-{applications,preprocessing}: remove (#373129)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user