Skip to content

Commit

Permalink
MAINT: Add support for Python 3.13 (#481)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <[email protected]>
  • Loading branch information
ansjmoody and pyansys-ci-bot authored Jan 6, 2025
1 parent 2b562b9 commit f50e12e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

env:
MAIN_PYTHON_VERSION: '3.10'
MAIN_PYTHON_VERSION: '3.13'
PACKAGE_NAME: 'ansys-sherlock-core'
PACKAGE_NAMESPACE: 'ansys.sherlock.core'
DOCUMENTATION_CNAME: 'sherlock.docs.pyansys.com'
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
should-release:
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
exclude:
Expand All @@ -67,7 +67,7 @@ jobs:
runs-on: [ self-hosted, pysherlock ]
strategy:
matrix:
python-version: [ '3.10', '3.11', '3.12' ]
python-version: [ '3.10', '3.11', '3.12', '3.13' ]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/481.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MAINT: Add support for Python 3.13
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

dependencies = [
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[tox]
description = Default tox environments list
envlist =
style,{py38,py39,py310,py311}{,-coverage},doc
style,{py310,py311,py312,py313}{,-coverage},doc
skip_missing_interpreters = true
isolated_build = true
isolated_build_env = build

[testenv]
description = Checks for project unit tests and coverage (if desired)
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py311: python3.12
py311: python3.13
py: python3
{style,reformat,doc}: python3
setenv =
Expand Down

0 comments on commit f50e12e

Please sign in to comment.