python3Packages.stable-baselines3: patch failing test

This commit is contained in:
Gaetan Lepage
2025-06-28 17:07:59 +02:00
parent 264a34a3cc
commit c4a6eaa324
@@ -32,6 +32,13 @@ buildPythonPackage rec {
hash = "sha256-VnoQ8cKqPcZPpR9c3M6xJDdG7gnO9fxIa4v2kxd9Nzg=";
};
postPatch =
# Environment version v0 for `CliffWalking` is deprecated
''
substituteInPlace "tests/test_vec_normalize.py" \
--replace-fail "CliffWalking-v0" "CliffWalking-v1"
'';
build-system = [ setuptools ];
pythonRelaxDeps = [