Skip to content

Commit

Permalink
Add support for py313
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Nov 7, 2024
1 parent 3348666 commit 4549974
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ concurrency:
jobs:
tox:
uses: ansible/team-devtools/.github/workflows/tox.yml@main
with:
max_python: "3.13"
jobs_producing_coverage: 8
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
]
Expand Down
5 changes: 3 additions & 2 deletions src/tox_ansible/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@
ENV_LIST = """
{integration, sanity, unit}-py3.9-{2.15}
{integration, sanity, unit}-py3.10-{2.15, 2.16, 2.17}
{integration, sanity, unit}-py3.11-{2.15, 2.16, 2.17, milestone, devel}
{integration, sanity, unit}-py3.12-{2.16, 2.17, milestone, devel}
{integration, sanity, unit}-py3.11-{2.15, 2.16, 2.17, 2.18, milestone, devel}
{integration, sanity, unit}-py3.12-{2.16, 2.17, 2.18, milestone, devel}
{integration, sanity, unit}-py3.13-{2.18, milestone, devel}
"""
TOX_WORK_DIR = Path()
OUR_DEPS = [
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if TYPE_CHECKING:
from _pytest.python import Metafunc

GH_MATRIX_LENGTH = 33
GH_MATRIX_LENGTH = 45


@pytest.fixture(scope="session")
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_type_current(
monkeypatch: pytest fixture to patch modules
module_fixture_dir: pytest fixture to provide a module specific fixture directory
"""
matrix_length = 33
matrix_length = 45
monkeypatch.delenv("GITHUB_ACTIONS", raising=False)
monkeypatch.delenv("GITHUB_OUTPUT", raising=False)
monkeypatch.chdir(module_fixture_dir)
Expand Down

0 comments on commit 4549974

Please sign in to comment.