python312Packages.keras: remove tf-keras dependency (#345793)

This commit is contained in:
Peder Bergebakken Sundt
2024-10-03 18:53:27 +02:00
committed by GitHub
@@ -19,7 +19,8 @@
packaging,
rich,
tensorflow,
tf-keras,
pythonAtLeast,
distutils,
}:
buildPythonPackage rec {
@@ -52,8 +53,7 @@ buildPythonPackage rec {
packaging
rich
tensorflow
tf-keras
];
] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ];
pythonImportsCheck = [
"keras"