python3Packages.pytest-astropy: fix build

This commit is contained in:
Martin Weinelt 2021-11-02 19:56:04 +01:00
parent 703aa3a94f
commit e1f76eeb64
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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";