Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for py313 and ansible 2.18 #388

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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