python3Packages.keras: unmark as broken (#446771)
This commit is contained in:
@@ -82,7 +82,14 @@ buildPythonPackage rec {
|
||||
transforms3d
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
disabledTests = [
|
||||
# AttributeError: 'functools.partial' object has no attribute 'value'
|
||||
"testModelEncoding0"
|
||||
"testModelEncoding1"
|
||||
"testTrain"
|
||||
"testTrainDomainRandomize"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
# Flaky:
|
||||
# AssertionError: Array(-0.00135638, dtype=float32) != 0.0 within 0.001 delta (Array(0.00135638, dtype=float32) difference)
|
||||
"test_pendulum_period2"
|
||||
|
||||
@@ -214,7 +214,5 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/keras-team/keras/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
# Not yet released for tensorflow >= 2.20.0
|
||||
broken = lib.versionAtLeast tensorflow.version "2.20";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,6 +31,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-TNb3oKZvgBuXoSwsTuEJjFKEVZyHynazuPInj7wVKs8=";
|
||||
};
|
||||
|
||||
# pipes has been removed in python 3.13
|
||||
postPatch = ''
|
||||
substituteInPlace mhcflurry/downloads.py \
|
||||
--replace-fail \
|
||||
"from pipes import quote" \
|
||||
"from shlex import quote"
|
||||
'';
|
||||
|
||||
# keras and tensorflow are not in the official setup.py requirements but are required for the CLI utilities to run.
|
||||
dependencies = [
|
||||
appdirs
|
||||
|
||||
Reference in New Issue
Block a user