diff --git a/tests/__pycache__/test_cli_compile.cpython-312-pytest-8.2.2.pyc.20944 b/tests/__pycache__/test_cli_compile.cpython-312-pytest-8.2.2.pyc.20944 new file mode 100644 index 00000000..19b9cad7 Binary files /dev/null and b/tests/__pycache__/test_cli_compile.cpython-312-pytest-8.2.2.pyc.20944 differ diff --git a/tests/__pycache__/test_resolver.cpython-312-pytest-8.2.2.pyc.10476 b/tests/__pycache__/test_resolver.cpython-312-pytest-8.2.2.pyc.10476 new file mode 100644 index 00000000..7676adf7 Binary files /dev/null and b/tests/__pycache__/test_resolver.cpython-312-pytest-8.2.2.pyc.10476 differ diff --git a/tests/__pycache__/test_resolver.cpython-312-pytest-8.2.2.pyc.17852 b/tests/__pycache__/test_resolver.cpython-312-pytest-8.2.2.pyc.17852 new file mode 100644 index 00000000..7676adf7 Binary files /dev/null and b/tests/__pycache__/test_resolver.cpython-312-pytest-8.2.2.pyc.17852 differ diff --git a/tests/__pycache__/test_utils.cpython-312-pytest-8.2.2.pyc.10476 b/tests/__pycache__/test_utils.cpython-312-pytest-8.2.2.pyc.10476 new file mode 100644 index 00000000..92dd58e9 Binary files /dev/null and b/tests/__pycache__/test_utils.cpython-312-pytest-8.2.2.pyc.10476 differ diff --git a/tests/__pycache__/test_utils.cpython-312-pytest-8.2.2.pyc.17852 b/tests/__pycache__/test_utils.cpython-312-pytest-8.2.2.pyc.17852 new file mode 100644 index 00000000..92dd58e9 Binary files /dev/null and b/tests/__pycache__/test_utils.cpython-312-pytest-8.2.2.pyc.17852 differ diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index c5031fc2..cbdfba95 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -3431,7 +3431,15 @@ def test_compile_recursive_extras_build_targets(runner, tmp_path, current_resolv """ ) ) - (tmp_path / "constraints.txt").write_text("wheel<0.43") + version_constraints = [ + "setuptools<70.1.0", + "wheel<0.43", + ] + constraints_file = (tmp_path / "constraints.txt") + constraints_file.write_text("\n".join(version_constraints)) + env = os.environ.copy() # Copy entire env to avoid Windows compatibility issues + # Work around https://github.com/jazzband/pip-tools/pull/1681/files#r1667748889 + env["PIP_CONSTRAINT"] = str(constraints_file) out = runner.invoke( cli, [ @@ -3451,6 +3459,7 @@ def test_compile_recursive_extras_build_targets(runner, tmp_path, current_resolv "--output-file", "-", ], + env=env, ) expected = rf"""foo[footest] @ {tmp_path.as_uri()} small-fake-a==0.2