Skip to content

Commit

Permalink
test with poetry 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-n committed Jan 8, 2025
1 parent 50504c4 commit 19d9d8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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,
):
Expand Down
Binary file not shown.

0 comments on commit 19d9d8a

Please sign in to comment.