From 2098b9993ca5351e5731308e7f98d8fe01a54291 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Mon, 25 Mar 2024 12:32:18 -0700 Subject: [PATCH] constraint --- tests/test_cli_compile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index 8d9ffcd3..a098e045 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -3388,6 +3388,7 @@ def test_compile_recursive_extras_build_targets(runner, tmp_path, current_resolv """ ) ) + (tmp_path / "constraints.txt").write_text("wheel<0.43") out = runner.invoke( cli, [ @@ -3402,6 +3403,8 @@ def test_compile_recursive_extras_build_targets(runner, tmp_path, current_resolv "--find-links", os.fspath(MINIMAL_WHEELS_PATH), os.fspath(tmp_path / "pyproject.toml"), + "--constraint", + os.fspath(tmp_path / "constraints.txt"), "--output-file", "-", ],