Skip to content

Commit 6295683

Browse files
committed
python3Packages.scipy: nixfmt
1 parent 77e66ec commit 6295683

1 file changed

Lines changed: 35 additions & 36 deletions

File tree

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

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -100,42 +100,41 @@ buildPythonPackage (finalAttrs: {
100100
pytest-xdist
101101
];
102102

103-
disabledTests =
104-
[
105-
# precision issues on at least some x86_64 and aarch64
106-
# see: https://github.com/scipy/scipy/issues/25488
107-
"test_nyquist"
108-
]
109-
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
110-
# more flakiness
111-
# see: https://github.com/scipy/scipy/issues/25522
112-
"test_convergence"
113-
]
114-
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
115-
# The following tests are broken on aarch64-darwin with newer compilers and library versions.
116-
# See https://github.com/scipy/scipy/issues/18308
117-
"test_a_b_neg_int_after_euler_hypergeometric_transformation"
118-
"test_dst4_definition_ortho"
119-
"test_load_mat4_le"
120-
"hyp2f1_test_case47"
121-
"hyp2f1_test_case3"
122-
"test_uint64_max"
123-
"test_large_m4" # https://github.com/scipy/scipy/issues/22466
124-
"test_spiral_cleanup"
125-
]
126-
++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [
127-
# https://github.com/scipy/scipy/issues/24090
128-
"test_cython_api"
129-
"test_distance_transform_cdt05"
130-
"test_eval_chebyt_gh20129"
131-
"test_hyp0f1"
132-
"test_hyp0f1_gh5764"
133-
"test_simple_det_shapes_real_complex"
134-
]
135-
++ lib.optionals (python.isPy311) [
136-
# https://github.com/scipy/scipy/issues/22789 Observed only with Python 3.11
137-
"test_funcs"
138-
];
103+
disabledTests = [
104+
# precision issues on at least some x86_64 and aarch64
105+
# see: https://github.com/scipy/scipy/issues/25488
106+
"test_nyquist"
107+
]
108+
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
109+
# more flakiness
110+
# see: https://github.com/scipy/scipy/issues/25522
111+
"test_convergence"
112+
]
113+
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
114+
# The following tests are broken on aarch64-darwin with newer compilers and library versions.
115+
# See https://github.com/scipy/scipy/issues/18308
116+
"test_a_b_neg_int_after_euler_hypergeometric_transformation"
117+
"test_dst4_definition_ortho"
118+
"test_load_mat4_le"
119+
"hyp2f1_test_case47"
120+
"hyp2f1_test_case3"
121+
"test_uint64_max"
122+
"test_large_m4" # https://github.com/scipy/scipy/issues/22466
123+
"test_spiral_cleanup"
124+
]
125+
++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [
126+
# https://github.com/scipy/scipy/issues/24090
127+
"test_cython_api"
128+
"test_distance_transform_cdt05"
129+
"test_eval_chebyt_gh20129"
130+
"test_hyp0f1"
131+
"test_hyp0f1_gh5764"
132+
"test_simple_det_shapes_real_complex"
133+
]
134+
++ lib.optionals (python.isPy311) [
135+
# https://github.com/scipy/scipy/issues/22789 Observed only with Python 3.11
136+
"test_funcs"
137+
];
139138

140139
doCheck = !(stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin);
141140

0 commit comments

Comments
 (0)