From c97e4eb65656942fc1f3e5282200bf608587abf1 Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 21 Oct 2024 19:20:51 -0700 Subject: [PATCH] Final hatchling workaround fixes. --- testing/build_system.py | 2 +- tests/integration/cli/commands/test_lock.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/build_system.py b/testing/build_system.py index 4277dcc54..7d03aeab6 100644 --- a/testing/build_system.py +++ b/testing/build_system.py @@ -26,7 +26,7 @@ hatchling_only_supports_37_and_greater = pytest.mark.skipif( - sys.version_info[:2] <= (3, 7), reason="Our current build system only works under Python>=3.7" + sys.version_info[:2] < (3, 7), reason="Our current build system only works under Python>=3.7" ) diff --git a/tests/integration/cli/commands/test_lock.py b/tests/integration/cli/commands/test_lock.py index 36eb82f53..56b02e25e 100644 --- a/tests/integration/cli/commands/test_lock.py +++ b/tests/integration/cli/commands/test_lock.py @@ -44,6 +44,7 @@ make_env, run_pex_command, ) +from testing.build_system import hatchling_only_supports_37_and_greater from testing.cli import run_pex3 from testing.resolve import normalize_locked_resolve @@ -174,6 +175,7 @@ def create_lock( ) +@hatchling_only_supports_37_and_greater def test_create_local( tmpdir, # type: Any pex_project_dir, # type: str