Python integration tests: disable for older python 3 versions

because the package that is used as part of the test does not support
older versions.
gstqt5
Frederik Rietdijk 2020-04-22 18:51:16 +02:00 committed by Frederik Rietdijk
parent 71171b3225
commit 6f873e98f4
2 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,7 @@ let
};
# All PyPy package builds are broken at the moment
integrationTests = lib.optionalAttrs (python.isPy3k && (!python.isPyPy)) rec {
integrationTests = lib.optionalAttrs (python.pythonAtLeast "3.7" && (!python.isPyPy)) rec {
# Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix {
interpreter = python;

View File

@ -1,4 +1,4 @@
{ buildPythonPackage }:
{ buildPythonPackage, pythonOlder }:
buildPythonPackage {
@ -8,4 +8,6 @@ buildPythonPackage {
src = ./.;
disabled = pythonOlder "3.7";
}