diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-11-25 17:22:42 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-11-29 03:59:51 -0500 |
commit | 2411e4c1e1949c4f19beef9dd32bbc82820740ba (patch) | |
tree | 8cf6c91262c1565f04f554392d69f9ac46979802 | |
parent | 7dcd2f54b82826b05cfd91730a1d77b5d80f008c (diff) |
python3Packages.Keras: rename to keras
9 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/edward/default.nix b/pkgs/development/python-modules/edward/default.nix index ac2d5023cc970..05171c22d18e1 100644 --- a/pkgs/development/python-modules/edward/default.nix +++ b/pkgs/development/python-modules/edward/default.nix @@ -1,5 +1,5 @@ { lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast -, Keras, numpy, scipy, six, tensorflow }: +, keras, numpy, scipy, six, tensorflow }: buildPythonPackage rec { pname = "edward"; @@ -15,7 +15,7 @@ buildPythonPackage rec { # disabled for now due to Tensorflow trying to create files in $HOME: doCheck = false; - propagatedBuildInputs = [ Keras numpy scipy six tensorflow ]; + propagatedBuildInputs = [ keras numpy scipy six tensorflow ]; meta = with lib; { description = "Probabilistic programming language using Tensorflow"; diff --git a/pkgs/development/python-modules/keras-preprocessing/default.nix b/pkgs/development/python-modules/keras-preprocessing/default.nix index d62a179136f4a..a0d9d4bb153d0 100644 --- a/pkgs/development/python-modules/keras-preprocessing/default.nix +++ b/pkgs/development/python-modules/keras-preprocessing/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi, numpy, six, scipy, pillow, pytest, Keras }: +{ lib, buildPythonPackage, fetchPypi, numpy, six, scipy, pillow, pytest, keras }: buildPythonPackage rec { pname = "Keras_Preprocessing"; @@ -17,7 +17,7 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest Keras + pytest keras ]; checkPhase = '' diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix index 28b09222b4726..33004be680c28 100644 --- a/pkgs/development/python-modules/keras/default.nix +++ b/pkgs/development/python-modules/keras/default.nix @@ -5,7 +5,7 @@ }: buildPythonPackage rec { - pname = "Keras"; + pname = "keras"; version = "2.4.3"; src = fetchPypi { diff --git a/pkgs/development/python-modules/mask-rcnn/default.nix b/pkgs/development/python-modules/mask-rcnn/default.nix index ae07e7928a6a5..bab6aadfa22d8 100644 --- a/pkgs/development/python-modules/mask-rcnn/default.nix +++ b/pkgs/development/python-modules/mask-rcnn/default.nix @@ -4,7 +4,7 @@ , h5py , imgaug , ipython -, Keras +, keras , lib , matplotlib , numpy @@ -32,7 +32,7 @@ buildPythonPackage rec { h5py imgaug ipython - Keras + keras matplotlib numpy opencv3 diff --git a/pkgs/development/python-modules/optuna/default.nix b/pkgs/development/python-modules/optuna/default.nix index b7247083be43c..6dde9ededb50f 100644 --- a/pkgs/development/python-modules/optuna/default.nix +++ b/pkgs/development/python-modules/optuna/default.nix @@ -9,7 +9,7 @@ , xgboost , mpi4py , lightgbm -, Keras +, keras , mxnet , scikit-optimize , tensorflow @@ -49,7 +49,7 @@ buildPythonPackage rec { xgboost mpi4py lightgbm - Keras + keras mxnet scikit-optimize tensorflow diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix index b43ac71ba41e8..ae55ac637e97c 100644 --- a/pkgs/development/python-modules/tensorflow/default.nix +++ b/pkgs/development/python-modules/tensorflow/default.nix @@ -4,7 +4,7 @@ , buildPythonPackage, pythonOlder, python # Python libraries , numpy, tensorflow-tensorboard, absl-py -, setuptools, wheel, Keras, keras-preprocessing, google-pasta +, setuptools, wheel, keras, keras-preprocessing, google-pasta , opt-einsum, astunparse, h5py , termcolor, grpcio, six, wrapt, protobuf, tensorflow-estimator , dill, flatbuffers-python, tblib, typing-extensions @@ -479,7 +479,7 @@ in buildPythonPackage { # Actual tests are slow and impure. # TODO try to run them anyway # TODO better test (files in tensorflow/tools/ci_build/builds/*test) - checkInputs = [ Keras ]; + checkInputs = [ keras ]; checkPhase = '' ${python.interpreter} <<EOF # A simple "Hello world" diff --git a/pkgs/development/python-modules/umap-learn/default.nix b/pkgs/development/python-modules/umap-learn/default.nix index df635d856d94d..987cb6711d67b 100644 --- a/pkgs/development/python-modules/umap-learn/default.nix +++ b/pkgs/development/python-modules/umap-learn/default.nix @@ -9,7 +9,7 @@ , pynndescent , tensorflow , pytestCheckHook -, Keras +, keras }: buildPythonPackage rec { @@ -35,7 +35,7 @@ buildPythonPackage rec { nose tensorflow pytestCheckHook - Keras + keras ]; preCheck = '' diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index d863ce5c21b18..4f38fcc82d5c1 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -59,6 +59,7 @@ mapAliases ({ hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07 IMAPClient = imapclient; # added 2021-10-28 jupyter_client = jupyter-client; # added 2021-10-15 + Keras = keras; # added 2021-11-25 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04 MechanicalSoup = mechanicalsoup; # added 2021-06-01 pam = python-pam; # added 2020-09-07. diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fd6ccefe3a446..863222b337d8d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4189,7 +4189,7 @@ in { keras-applications = callPackage ../development/python-modules/keras-applications { }; - Keras = callPackage ../development/python-modules/keras { }; + keras = callPackage ../development/python-modules/keras { }; keras-preprocessing = callPackage ../development/python-modules/keras-preprocessing { }; |