diff --git a/poetry.lock b/poetry.lock index 5f1a4f420..c784c195f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2426,4 +2426,4 @@ poetry-plugin = ["poetry"] [metadata] lock-version = "2.1" python-versions = ">=3.9" -content-hash = "501f70eee33b90b28f058c92fc96f128ec248382b96b12a27cac2cb544c78006" +content-hash = "e551642bd09e23c744d4a6385a3f21a8c79ca0723653009dae5c80f567f2460b" diff --git a/tests/conftest.py b/tests/conftest.py index bcd370e9f..ed766e47b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -245,7 +245,7 @@ def run_poe_main( @pytest.fixture(scope="session") -def run_poetry(use_venv, poe_project_path): +def run_poetry(use_venv, poe_project_path, version: str = "2.0.0"): venv_location = poe_project_path / "tests" / "temp" / "poetry_venv" def run_poetry(args: list[str], cwd: str, env: Optional[dict[str, str]] = None): @@ -275,7 +275,7 @@ def run_poetry(args: list[str], cwd: str, env: Optional[dict[str, str]] = None): venv_location, [ ".[poetry_plugin]", - "./tests/fixtures/packages/poetry-1.8.2-py3-none-any.whl", + f"./tests/fixtures/packages/poetry-{version}-py3-none-any.whl", ], require_empty=True, ): diff --git a/tests/fixtures/packages/poetry-2.0.0-py3-none-any.whl b/tests/fixtures/packages/poetry-2.0.0-py3-none-any.whl new file mode 100644 index 000000000..d0e30d9cf Binary files /dev/null and b/tests/fixtures/packages/poetry-2.0.0-py3-none-any.whl differ