Loading pkgs/development/python-modules/keras/default.nix +14 −7 Original line number Diff line number Diff line Loading @@ -9,21 +9,22 @@ # dependencies absl-py, distutils, h5py, ml-dtypes, namex, numpy, onnxruntime, optree, packaging, pythonAtLeast, rich, scikit-learn, tensorflow, pythonAtLeast, distutils, # tests dm-tree, jax, jaxlib, pandas, pydot, pytestCheckHook, Loading @@ -33,14 +34,14 @@ buildPythonPackage rec { pname = "keras"; version = "3.7.0"; version = "3.8.0"; pyproject = true; src = fetchFromGitHub { owner = "keras-team"; repo = "keras"; tag = "v${version}"; hash = "sha256-qidY1OmlOYPKVoxryx1bEukA7IS6rPV4jqlnuf3y39w="; hash = "sha256-sbAGiI1Ai0MPiQ8AMpa5qX6hYt/plsIqhn9xYLBb120="; }; build-system = [ Loading @@ -53,9 +54,11 @@ buildPythonPackage rec { ml-dtypes namex numpy onnxruntime optree packaging rich scikit-learn tensorflow ] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ]; Loading @@ -66,7 +69,6 @@ buildPythonPackage rec { nativeCheckInputs = [ dm-tree jaxlib jax pandas pydot Loading @@ -81,6 +83,9 @@ buildPythonPackage rec { disabledTests = [ # Requires onnx which is currently broken "test_export_onnx" # Tries to install the package in the sandbox "test_keras_imports" Loading @@ -99,6 +104,9 @@ buildPythonPackage rec { ]; disabledTestPaths = [ # Require onnx which is currently broken "keras/src/export/onnx_test.py" # Datasets are downloaded from the internet "integration_tests/dataset_tests" Loading @@ -121,7 +129,6 @@ buildPythonPackage rec { # TypeError: this __dict__ descriptor does not support '_DictWrapper' objects "keras/src/backend/tensorflow/saved_model_test.py" "keras/src/export/export_lib_test.py" # KeyError: 'Unable to synchronously open object (bad object header version number)' "keras/src/saving/file_editor_test.py" Loading pkgs/development/python-modules/torchrl/default.nix +46 −40 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -132,7 +133,8 @@ buildPythonPackage rec { ++ optional-dependencies.gym-continuous ++ optional-dependencies.rendering; disabledTests = [ disabledTests = [ # torchrl is incompatible with gymnasium>=1.0 # https://github.com/pytorch/rl/discussions/2483 "test_resetting_strategies" Loading Loading @@ -171,6 +173,10 @@ buildPythonPackage rec { # Flaky (hangs indefinitely on some CPUs) "test_gae_multidim" "test_gae_param_as_tensor" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Flaky (AssertionError) "test_vecnorm_parallel_auto" ]; meta = { Loading Loading
pkgs/development/python-modules/keras/default.nix +14 −7 Original line number Diff line number Diff line Loading @@ -9,21 +9,22 @@ # dependencies absl-py, distutils, h5py, ml-dtypes, namex, numpy, onnxruntime, optree, packaging, pythonAtLeast, rich, scikit-learn, tensorflow, pythonAtLeast, distutils, # tests dm-tree, jax, jaxlib, pandas, pydot, pytestCheckHook, Loading @@ -33,14 +34,14 @@ buildPythonPackage rec { pname = "keras"; version = "3.7.0"; version = "3.8.0"; pyproject = true; src = fetchFromGitHub { owner = "keras-team"; repo = "keras"; tag = "v${version}"; hash = "sha256-qidY1OmlOYPKVoxryx1bEukA7IS6rPV4jqlnuf3y39w="; hash = "sha256-sbAGiI1Ai0MPiQ8AMpa5qX6hYt/plsIqhn9xYLBb120="; }; build-system = [ Loading @@ -53,9 +54,11 @@ buildPythonPackage rec { ml-dtypes namex numpy onnxruntime optree packaging rich scikit-learn tensorflow ] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ]; Loading @@ -66,7 +69,6 @@ buildPythonPackage rec { nativeCheckInputs = [ dm-tree jaxlib jax pandas pydot Loading @@ -81,6 +83,9 @@ buildPythonPackage rec { disabledTests = [ # Requires onnx which is currently broken "test_export_onnx" # Tries to install the package in the sandbox "test_keras_imports" Loading @@ -99,6 +104,9 @@ buildPythonPackage rec { ]; disabledTestPaths = [ # Require onnx which is currently broken "keras/src/export/onnx_test.py" # Datasets are downloaded from the internet "integration_tests/dataset_tests" Loading @@ -121,7 +129,6 @@ buildPythonPackage rec { # TypeError: this __dict__ descriptor does not support '_DictWrapper' objects "keras/src/backend/tensorflow/saved_model_test.py" "keras/src/export/export_lib_test.py" # KeyError: 'Unable to synchronously open object (bad object header version number)' "keras/src/saving/file_editor_test.py" Loading
pkgs/development/python-modules/torchrl/default.nix +46 −40 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -132,7 +133,8 @@ buildPythonPackage rec { ++ optional-dependencies.gym-continuous ++ optional-dependencies.rendering; disabledTests = [ disabledTests = [ # torchrl is incompatible with gymnasium>=1.0 # https://github.com/pytorch/rl/discussions/2483 "test_resetting_strategies" Loading Loading @@ -171,6 +173,10 @@ buildPythonPackage rec { # Flaky (hangs indefinitely on some CPUs) "test_gae_multidim" "test_gae_param_as_tensor" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Flaky (AssertionError) "test_vecnorm_parallel_auto" ]; meta = { Loading