Merge pull request #229277 from fabaff/dipy-bump

python311Packages.dipy: 1.5.0 -> 1.7.0
This commit is contained in:
Fabian Affolter 2023-05-01 20:05:46 +02:00 committed by GitHub
commit 103897b4fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,6 @@
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, packaging , packaging
, pytest
, cython , cython
, numpy , numpy
, scipy , scipy
@ -14,7 +13,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dipy"; pname = "dipy";
version = "1.5.0"; version = "1.7.0";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -22,10 +22,14 @@ buildPythonPackage rec {
owner = "dipy"; owner = "dipy";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-kJ8JbnNpjTqGJXwwMTqZdgeN8fOEuxarycunDCRLB74="; hash = "sha256-sfqCK2r9Io1gDDHL9s9R37J0h9KcOQML3B2zJx2+QuA=";
}; };
nativeBuildInputs = [ cython packaging ]; nativeBuildInputs = [
cython
packaging
];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
scipy scipy
@ -34,8 +38,6 @@ buildPythonPackage rec {
tqdm tqdm
]; ];
nativeCheckInputs = [ pytest ];
# disable tests for now due to: # disable tests for now due to:
# - some tests require data download (see dipy/dipy/issues/2092); # - some tests require data download (see dipy/dipy/issues/2092);
# - running the tests manually causes a multiprocessing hang; # - running the tests manually causes a multiprocessing hang;
@ -64,6 +66,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
homepage = "https://dipy.org/"; homepage = "https://dipy.org/";
description = "Diffusion imaging toolkit for Python"; description = "Diffusion imaging toolkit for Python";
changelog = "https://github.com/dipy/dipy/blob/${version}/Changelog";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ]; maintainers = with maintainers; [ bcdarwin ];
}; };