diff --git a/tests/test_verify_build.py b/tests/test_verify_build.py index 4ba95b77..428dc52c 100644 --- a/tests/test_verify_build.py +++ b/tests/test_verify_build.py @@ -1925,6 +1925,8 @@ def test_install_pyinotify_w_latest_pip(pipexec, build, minor_version): @pytest.mark.skip_unless_on_linux def test_install_editable_package(pipexec, pyexec, build, minor_version, tmp_path): + if tuple(int(x) for x in minor_version.split(".")) < (3, 11): + pytest.skip(reason="saltext-zabbix HEAD requires Python >= 3.11") _install_ppbt(pyexec) os.chdir(tmp_path) env = os.environ.copy() @@ -1948,6 +1950,8 @@ def test_install_editable_package(pipexec, pyexec, build, minor_version, tmp_pat @pytest.mark.skip_unless_on_linux def test_install_editable_package_in_extras(pipexec, pyexec, build, minor_version, tmp_path): + if tuple(int(x) for x in minor_version.split(".")) < (3, 11): + pytest.skip(reason="saltext-zabbix HEAD requires Python >= 3.11") _install_ppbt(pyexec) sitepkgs = pathlib.Path(build) / "lib" / f"python{minor_version}" / "site-packages"