Merge pull request #68842 from Ma27/disable-pytest5-on-python2
python2Packages.pytest_5: disable build
This commit is contained in:
commit
d8f5ad9948
@ -6,6 +6,8 @@ buildPythonPackage rec {
|
||||
version = "5.1.0";
|
||||
pname = "pytest";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
preCheck = ''
|
||||
# don't test bash builtins
|
||||
rm testing/test_argcomplete.py
|
||||
@ -19,7 +21,6 @@ buildPythonPackage rec {
|
||||
checkInputs = [ hypothesis mock ];
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
|
||||
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
|
||||
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
||||
|
Loading…
Reference in New Issue
Block a user