Skip to content

Commit

Permalink
python 3.13 in workflows (python-poetry#9523)
Browse files Browse the repository at this point in the history
Co-authored-by: Randy Döring <[email protected]>
(cherry picked from commit 6c43ac3)
  • Loading branch information
dimbleby authored and radoering committed Oct 12, 2024
1 parent a2d09a1 commit 6768da3
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
os: [Ubuntu, macOS, Windows]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
include:
- os: Ubuntu
image: ubuntu-22.04
Expand Down
123 changes: 69 additions & 54 deletions poetry.lock

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

8 changes: 8 additions & 0 deletions tests/console/commands/test_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from pytest_mock import MockerFixture
from tomlkit import TOMLDocument

from poetry.config.config import Config
from poetry.poetry import Poetry
from poetry.utils.env import MockEnv
from poetry.utils.env import VirtualEnv
Expand All @@ -37,6 +38,13 @@
from tests.types import ProjectFactory


@pytest.fixture(autouse=True)
def config(config: Config) -> Config:
# Disable parallel installs to get reproducible output.
config.merge({"installer": {"parallel": False}})
return config


@pytest.fixture
def poetry_with_up_to_date_lockfile(
project_factory: ProjectFactory, fixture_dir: FixtureDirGetter
Expand Down

0 comments on commit 6768da3

Please sign in to comment.