python3Packages.pytest-astropy: fix build
This commit is contained in:
parent
703aa3a94f
commit
e1f76eeb64
1 changed files with 3 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-astropy";
|
pname = "pytest-astropy";
|
||||||
version = "0.9.0";
|
version = "0.9.0";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -43,11 +43,8 @@ buildPythonPackage rec {
|
||||||
pytest-remotedata
|
pytest-remotedata
|
||||||
];
|
];
|
||||||
|
|
||||||
# pytest-astropy is a meta package and has no tests
|
# pytest-astropy is a meta package that only propagates requirements
|
||||||
#doCheck = false;
|
doCheck = false;
|
||||||
checkPhase = ''
|
|
||||||
# 'doCheck = false;' still invokes the pytestCheckPhase which makes the build fail
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Meta-package containing dependencies for testing";
|
description = "Meta-package containing dependencies for testing";
|
||||||
|
|
Loading…
Reference in a new issue