Skip to content

Commit

Permalink
Bump: Add support for Python3.13 (#4651)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausHolbechArista authored Oct 25, 2024
1 parent a8aea88 commit 02a3040
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
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
6 changes: 5 additions & 1 deletion .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 Down Expand Up @@ -402,6 +404,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 +429,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 +486,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

0 comments on commit 02a3040

Please sign in to comment.