Loading pkgs/development/python-modules/sparse/default.nix +27 −25 Original line number Diff line number Diff line { lib, buildPythonPackage, dask, fetchPypi, numba, numpy, pytest7CheckHook, pythonOlder, fetchFromGitHub, # build-system setuptools, setuptools-scm, # dependencies numba, numpy, scipy, # tests dask, pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { Loading @@ -17,18 +23,13 @@ buildPythonPackage rec { version = "0.15.5"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-THbODJb1zVwxt+eeZQ8AIkJMKxbwXxAEnpxjge5L4mY="; src = fetchFromGitHub { owner = "pydata"; repo = "sparse"; tag = version; hash = "sha256-W4rcq7G/bQsT9oTLieOzWNst5LnIAelRMbm+uUPeQgs="; }; postPatch = '' substituteInPlace pytest.ini \ --replace-fail "--cov-report term-missing --cov-report html --cov-report=xml --cov-report=term --cov sparse --cov-config .coveragerc --junitxml=junit/test-results.xml" "" ''; build-system = [ setuptools setuptools-scm Loading @@ -42,22 +43,23 @@ buildPythonPackage rec { nativeCheckInputs = [ dask pytest7CheckHook pytest-cov-stub pytestCheckHook ]; pythonImportsCheck = [ "sparse" ]; pytestFlagsArray = [ "-W" "ignore::pytest.PytestRemovedIn8Warning" ]; meta = with lib; { meta = { description = "Sparse n-dimensional arrays computations"; homepage = "https://sparse.pydata.org/"; changelog = "https://sparse.pydata.org/en/stable/changelog.html"; downloadPage = "https://github.com/pydata/sparse/releases/tag/${version}"; license = licenses.bsd3; maintainers = [ ]; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; badPlatforms = [ # Most tests fail with: Fatal Python error: Segmentation fault # numba/typed/typedlist.py", line 344 in append "aarch64-linux" ]; }; } Loading
pkgs/development/python-modules/sparse/default.nix +27 −25 Original line number Diff line number Diff line { lib, buildPythonPackage, dask, fetchPypi, numba, numpy, pytest7CheckHook, pythonOlder, fetchFromGitHub, # build-system setuptools, setuptools-scm, # dependencies numba, numpy, scipy, # tests dask, pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { Loading @@ -17,18 +23,13 @@ buildPythonPackage rec { version = "0.15.5"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-THbODJb1zVwxt+eeZQ8AIkJMKxbwXxAEnpxjge5L4mY="; src = fetchFromGitHub { owner = "pydata"; repo = "sparse"; tag = version; hash = "sha256-W4rcq7G/bQsT9oTLieOzWNst5LnIAelRMbm+uUPeQgs="; }; postPatch = '' substituteInPlace pytest.ini \ --replace-fail "--cov-report term-missing --cov-report html --cov-report=xml --cov-report=term --cov sparse --cov-config .coveragerc --junitxml=junit/test-results.xml" "" ''; build-system = [ setuptools setuptools-scm Loading @@ -42,22 +43,23 @@ buildPythonPackage rec { nativeCheckInputs = [ dask pytest7CheckHook pytest-cov-stub pytestCheckHook ]; pythonImportsCheck = [ "sparse" ]; pytestFlagsArray = [ "-W" "ignore::pytest.PytestRemovedIn8Warning" ]; meta = with lib; { meta = { description = "Sparse n-dimensional arrays computations"; homepage = "https://sparse.pydata.org/"; changelog = "https://sparse.pydata.org/en/stable/changelog.html"; downloadPage = "https://github.com/pydata/sparse/releases/tag/${version}"; license = licenses.bsd3; maintainers = [ ]; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; badPlatforms = [ # Most tests fail with: Fatal Python error: Segmentation fault # numba/typed/typedlist.py", line 344 in append "aarch64-linux" ]; }; }