Merge pull request #141761 from flokli/python37-flake8
python37Packages.flake8: don't run tests if older than python3.8
This commit is contained in:
commit
cc7b700c54
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ buildPythonPackage rec {
|
|||
++ lib.optionals (pythonOlder "3.5") [ typing ]
|
||||
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
# Tests fail on Python 3.7 due to importlib using a deprecated interface
|
||||
doCheck = !(pythonOlder "3.8");
|
||||
|
||||
# fixtures fail to initialize correctly
|
||||
checkPhase = ''
|
||||
py.test tests --ignore=tests/integration/test_checker.py
|
||||
|
|
Loading…
Reference in a new issue