File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed
pkgs/development/python-modules Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 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" ;
Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 2020
2121buildPythonPackage 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}
You can’t perform that action at this time.
0 commit comments