Skip to content

Commit 2e66644

Browse files
authored
python312Packages.equinox: 0.11.12 -> 0.12.1 (#394109)
2 parents 77601fa + e7f1d22 commit 2e66644

File tree

3 files changed

+7
-24
lines changed

3 files changed

+7
-24
lines changed

pkgs/development/python-modules/equinox/default.nix

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222

2323
buildPythonPackage rec {
2424
pname = "equinox";
25-
version = "0.11.12";
25+
version = "0.12.1";
2626
pyproject = true;
2727

2828
src = fetchFromGitHub {
2929
owner = "patrick-kidger";
3030
repo = "equinox";
3131
tag = "v${version}";
32-
hash = "sha256-hor2qw+aTL7yhV53E/y5DUwyDEYJA8RPRS39xxa8xcw=";
32+
hash = "sha256-mw2fk+527b6Rx6FGe6QJf3ZbxZ3rjYFXKleX2g6AryU=";
3333
};
3434

3535
# Relax speed constraints on tests that can fail on busy builders
@@ -56,14 +56,6 @@ buildPythonPackage rec {
5656
pytestCheckHook
5757
];
5858

59-
pytestFlagsArray = [
60-
# Since jax 0.5.3:
61-
# DeprecationWarning: shape requires ndarray or scalar arguments, got <class 'jax._src.api.ShapeDtypeStruct'> at position 0. In a future JAX release this will be an error.
62-
# https://github.com/patrick-kidger/equinox/issues/979
63-
"-W"
64-
"ignore::DeprecationWarning"
65-
];
66-
6759
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
6860
# SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!
6961
"test_filter"

pkgs/development/python-modules/lineax/default.nix

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,20 @@
1616
beartype,
1717
pytest,
1818
python,
19-
20-
fetchpatch,
2119
}:
2220

2321
buildPythonPackage rec {
2422
pname = "lineax";
25-
version = "0.0.7";
23+
version = "0.0.8";
2624
pyproject = true;
2725

2826
src = fetchFromGitHub {
2927
owner = "patrick-kidger";
3028
repo = "lineax";
3129
tag = "v${version}";
32-
hash = "sha256-HcFI55Ww/y7ZaUkawj7xWSb7VDTBec3u0ulWL8kTm2c=";
30+
hash = "sha256-VMTDCExgxfCcd/3UZAglfAxAFaSjzFJJuvSWJAx2tJs=";
3331
};
3432

35-
patches = [
36-
(fetchpatch {
37-
# Reported upstream: https://github.com/patrick-kidger/lineax/issues/118
38-
# Fixed by https://github.com/patrick-kidger/lineax/pull/119
39-
name = "fix-vmap-tests";
40-
url = "https://github.com/patrick-kidger/lineax/pull/119/commits/d21552ac4c504d7b139ad8e4f15d5f102b54d705.patch";
41-
hash = "sha256-pBejiqIVNjXi7dXuDBQdAy892wro1WxzwbI7v07N86c=";
42-
})
43-
];
44-
4533
build-system = [ hatchling ];
4634

4735
dependencies = [

pkgs/development/python-modules/stable-baselines3/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ buildPythonPackage rec {
6565
];
6666

6767
disabledTests = [
68+
# Flaky: Can fail if it takes too long, which happens when the system is under heavy load
69+
"test_fps_logger"
70+
6871
# Tests that attempt to access the filesystem
6972
"test_make_atari_env"
7073
"test_vec_env_monitor_kwargs"

0 commit comments

Comments
 (0)