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

Bump: Add support for Python3.13 #4651

Merged
Merged
Show file tree
Hide file tree
Changes from 6 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
2 changes: 1 addition & 1 deletion .github/workflows/container_build_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
container_name: [base]
python_version: ["3.10", "3.11", "3.12"]
python_version: ["3.10", "3.11", "3.12", "3.13"]
include:
- python_version: "3.11"
container_tags: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container_build_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
container_name: [dev]
python_version: ["3.10", "3.11", "3.12"]
python_version: ["3.10", "3.11", "3.12", "3.13"]
include:
- python_version: "3.11"
container_tags: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container_build_universal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
container_name: [universal]
python_version: ["3.10", "3.11", "3.12"]
python_version: ["3.10", "3.11", "3.12", "3.13"]
include:
- python_version: "3.11"
container_tags: latest
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- name: 'Set environment variables'
run: |
Expand Down Expand Up @@ -358,6 +359,7 @@ jobs:
3.10
3.11
3.12
# 3.13 - Still waiting for support in ansible-test
- name: 'Install Python requirements'
run: |
pip install "ansible-core<2.18.0" -r .github/requirements-ci.txt --upgrade
Expand All @@ -380,9 +382,14 @@ jobs:
with:
python-version: |
3.10
3.11
3.12
# 3.13 - Still waiting for support in ansible-test
- name: 'Install Python requirements'
run: |
pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.18.0" -r .github/requirements-ci.txt --upgrade
python3.10 -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.18.0" -r .github/requirements-ci.txt --upgrade
python3.11 -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.18.0" -r .github/requirements-ci.txt --upgrade
python3.12 -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.18.0" -r .github/requirements-ci.txt --upgrade
- name: 'Run ansible-test units test cases'
run: |
cd ansible_collections/arista/avd/
Expand All @@ -402,6 +409,7 @@ jobs:
with:
python-version: |
3.12
# 3.13 - Still waiting for support in ansible-test
- name: 'Install Python requirements'
run: |
pip install "ansible-core<2.18.0" -r .github/requirements-ci.txt --upgrade
Expand All @@ -426,6 +434,7 @@ jobs:
3.10
3.11
3.12
3.13
- name: 'Install Python & Ansible requirements'
run: |
pip install -r ansible_collections/arista/avd/requirements-dev.txt -r ansible_collections/arista/avd/requirements.txt --upgrade
Expand Down Expand Up @@ -482,7 +491,7 @@ jobs:
needs.file-changes.outputs.pyavd == 'true'
strategy:
matrix:
python: ["3.10", "3.11", "3.12"]
python: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: 'Set environment variables'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python version
sonar.python.version=3.10, 3.11, 3.12
sonar.python.version=3.10, 3.11, 3.12, 3.13
# Exclude tests from source
sonar.exclusions=python-avd/tests/**
# Path to tests
Expand Down
1 change: 1 addition & 0 deletions python-avd/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
]
Expand Down
1 change: 1 addition & 0 deletions python-avd/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ python =
3.10: py310
3.11: coverage, report
3.12: py312
3.13: py313

[testenv]
description = run the tests with our own runner
Expand Down
Loading