Skip to content

Commit 5464c34

Browse files
authored
python312Packages.sparse: 0.15.5 -> 0.16.0 (#397670)
2 parents c154df9 + ce6948c commit 5464c34

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

pkgs/development/python-modules/dask-glm/default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
stdenv,
34
buildPythonPackage,
45
fetchFromGitHub,
56

@@ -59,9 +60,14 @@ buildPythonPackage rec {
5960
disabledTests = [
6061
# ValueError: <class 'bool'> can be computed for one-element arrays only.
6162
"test_dot_with_sparse"
63+
64+
# ValueError: `shape` was not provided.
65+
"test_sparse"
6266
];
6367

64-
__darwinAllowLocalNetworking = true;
68+
# On darwin, tests saturate the entire system, even when constrained to run single-threaded
69+
# Removing pytest-xdist AND setting --cores to one does not prevent the load from exploding
70+
doCheck = !stdenv.hostPlatform.isDarwin;
6571

6672
meta = {
6773
description = "Generalized Linear Models with Dask";

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,14 @@ buildPythonPackage rec {
6767
# AttributeError: module 'numpy' has no attribute 'product'
6868
"test_extended_system"
6969
]
70+
++
71+
lib.optionals
72+
((stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin)
73+
[
74+
# AssertionError on a numerical test
75+
"test_cell_list"
76+
]
7077
++ lib.optionals stdenv.hostPlatform.isDarwin [
71-
# AssertionError on a numerical test
72-
"test_cell_list"
73-
7478
# Fatal Python error: Aborted
7579
# matplotlib/backend_bases.py", line 2654 in create_with_canvas
7680
"test_examples"

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
buildPythonPackage rec {
2222
pname = "sparse";
23-
version = "0.15.5";
23+
version = "0.16.0";
2424
pyproject = true;
2525

2626
src = fetchFromGitHub {
2727
owner = "pydata";
2828
repo = "sparse";
2929
tag = version;
30-
hash = "sha256-W4rcq7G/bQsT9oTLieOzWNst5LnIAelRMbm+uUPeQgs=";
30+
hash = "sha256-ChSEb+IwzutDgYBJxhlunRaF8VvkLHW/ae5RdrljWj0=";
3131
};
3232

3333
build-system = [
@@ -56,10 +56,5 @@ buildPythonPackage rec {
5656
downloadPage = "https://github.com/pydata/sparse/releases/tag/${version}";
5757
license = lib.licenses.bsd3;
5858
maintainers = with lib.maintainers; [ GaetanLepage ];
59-
badPlatforms = [
60-
# Most tests fail with: Fatal Python error: Segmentation fault
61-
# numba/typed/typedlist.py", line 344 in append
62-
"aarch64-linux"
63-
];
6459
};
6560
}

0 commit comments

Comments
 (0)