3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.reproject: fix tests

This commit is contained in:
Sébastien Maret 2022-10-01 15:37:21 +02:00
parent af03e7f59f
commit d61f68964f

View file

@ -2,7 +2,6 @@
, astropy
, astropy-extension-helpers
, astropy-healpix
, astropy-helpers
, buildPythonPackage
, cython
, fetchPypi
@ -28,7 +27,6 @@ buildPythonPackage rec {
nativeBuildInputs = [
astropy-extension-helpers
astropy-helpers
cython
setuptools-scm
];
@ -36,7 +34,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [
astropy
astropy-healpix
astropy-helpers
numpy
scipy
];
@ -46,9 +43,11 @@ buildPythonPackage rec {
pytestCheckHook
];
preCheck = ''
cd build/lib*
'';
pytestFlagsArray = [
"build/lib*"
# Avoid failure due to user warning: Distutils was imported before Setuptools
"-p no:warnings"
];
pythonImportsCheck = [
"reproject"