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.
This commit is contained in:
parent
71171b3225
commit
6f873e98f4
@ -53,7 +53,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
# All PyPy package builds are broken at the moment
|
# 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
|
# Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
|
||||||
nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix {
|
nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix {
|
||||||
interpreter = python;
|
interpreter = python;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ buildPythonPackage }:
|
{ buildPythonPackage, pythonOlder }:
|
||||||
|
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
@ -8,4 +8,6 @@ buildPythonPackage {
|
|||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user