3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pytest-doctestplus: unbreak

This commit is contained in:
Robert T. McGibbon 2021-04-27 09:58:23 -04:00
parent 39a51c9923
commit 928d3fc2fb

View file

@ -4,7 +4,9 @@
, isPy27
, six
, pytest
, pytestCheckHook
, numpy
, setuptools_scm
}:
buildPythonPackage rec {
@ -17,7 +19,12 @@ buildPythonPackage rec {
sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a";
};
buildInputs = [ pytest ];
nativeBuildInputs = [
setuptools_scm
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
six
@ -25,14 +32,9 @@ buildPythonPackage rec {
];
checkInputs = [
pytest
pytestCheckHook
];
# check_distribution incorrectly pulls pytest version
checkPhase = ''
pytest -k 'not check_distribution'
'';
meta = with lib; {
description = "Pytest plugin with advanced doctest features";
homepage = "https://astropy.org";