python3Packages.Keras: rename to keras

This commit is contained in:
Dmitry Kalinkin 2021-11-25 17:22:42 -05:00
parent 7dcd2f54b8
commit 2411e4c1e1
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
9 changed files with 15 additions and 14 deletions

View file

@ -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";

View file

@ -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 = ''

View file

@ -5,7 +5,7 @@
}:
buildPythonPackage rec {
pname = "Keras";
pname = "keras";
version = "2.4.3";
src = fetchPypi {

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -9,7 +9,7 @@
, pynndescent
, tensorflow
, pytestCheckHook
, Keras
, keras
}:
buildPythonPackage rec {
@ -35,7 +35,7 @@ buildPythonPackage rec {
nose
tensorflow
pytestCheckHook
Keras
keras
];
preCheck = ''

View file

@ -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.

View file

@ -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 { };