Skip to content

Commit 5fd864f

Browse files
chore: Add Python 3.13 to workflow (#311)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent c0d83e3 commit 5fd864f

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- main
99

1010
env:
11-
MAIN_PYTHON_VERSION: '3.12'
11+
MAIN_PYTHON_VERSION: '3.13'
1212
DOCUMENTATION_CNAME: 'pre-commit-hooks.docs.ansys.com'
1313
LIBRARY_NAME: 'ansys-pre-commit-hooks'
1414

@@ -56,7 +56,7 @@ jobs:
5656
fail-fast: false
5757
matrix:
5858
os: [ubuntu-latest, windows-latest]
59-
python-version: ['3.10', '3.11', '3.12']
59+
python-version: ['3.10', '3.11', '3.12', '3.13']
6060
steps:
6161
- uses: ansys/actions/build-wheelhouse@v9
6262
with:
@@ -71,7 +71,7 @@ jobs:
7171
strategy:
7272
matrix:
7373
os: [ubuntu-latest, windows-latest]
74-
python-version: ['3.10', '3.11', '3.12']
74+
python-version: ['3.10', '3.11', '3.12', '3.13']
7575
fail-fast: false
7676
steps:
7777
- uses: ansys/actions/tests-pytest@v9
@@ -128,6 +128,7 @@ jobs:
128128
uses: ansys/actions/release-github@v9
129129
with:
130130
library-name: ${{ env.LIBRARY_NAME }}
131+
token: ${{ secrets.GITHUB_TOKEN }}
131132

132133
doc-deploy-stable:
133134
name: "Deploy stable documentation"

doc/changelog.d/311.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Python 3.13 to workflow

tests/test_tech_review_files/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "ansys-tech-review"
88
version = "0.1.0"
99
description = "A Python wrapper to create ansys-tech-review"
1010
readme = "README.rst"
11-
requires-python = ">=3.9,<4"
11+
requires-python = ">=3.10,<4"
1212
license = {file = "LICENSE"}
1313
authors = [
1414
{name = "ANSYS, Inc.", email = "[email protected]"},

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ isolated_build_env = build
99
[testenv]
1010
description = Checks for project unit tests and coverage (if desired)
1111
basepython =
12-
py39: python3.9
1312
py310: python3.10
1413
py311: python3.11
1514
py312: python3.12
15+
py313: python3.13
1616
py: python3
1717
{style,reformat,doc,build}: python3
1818
extras =

0 commit comments

Comments
 (0)