diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index b0956d838..5313a7d74 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -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' @@ -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: @@ -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 diff --git a/doc/changelog.d/481.documentation.md b/doc/changelog.d/481.documentation.md new file mode 100644 index 000000000..51f9b6f0d --- /dev/null +++ b/doc/changelog.d/481.documentation.md @@ -0,0 +1 @@ +MAINT: Add support for Python 3.13 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 807d5f2e0..80559e187 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ diff --git a/tox.ini b/tox.ini index 8d07a6eea..966e0d5b5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [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 @@ -9,10 +9,10 @@ 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 =