From 21934feb20747fc2c3ee4c463b8bf5ca03a63bf9 Mon Sep 17 00:00:00 2001 From: Federico Negri Date: Tue, 3 Dec 2024 13:18:56 +0100 Subject: [PATCH 1/3] support python 3.13 --- .github/workflows/ci_cd.yml | 4 +++- .github/workflows/nightly.yml | 3 ++- pyproject.toml | 1 + tox.ini | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 116fbe69..a1b90107 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -115,7 +115,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: @@ -127,6 +127,8 @@ jobs: python-version: '3.11' - should-release: false python-version: '3.12' + - should-release: false + python-version: '3.13' steps: - uses: extractions/netrc@v2 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7c8c550e..e2c9ce49 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -56,6 +56,7 @@ jobs: { python-version: '3.10', toxenv: 'py310' }, { python-version: '3.11', toxenv: 'py311' }, { python-version: '3.12', toxenv: 'py312' }, + { python-version: '3.13', toxenv: 'py313' }, ] fail-fast: false uses: ./.github/workflows/tests.yml @@ -74,7 +75,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: diff --git a/pyproject.toml b/pyproject.toml index 32325582..7495acea 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", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] diff --git a/tox.ini b/tox.ini index 434899be..738f3d0d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,10 +7,10 @@ skip_missing_interpreters = true [testenv] description = Checks for project unit tests and coverage (if desired) basepython = - py39: python3.9 py310: python3.10 py311: python3.11 py312: python3.12 + py313: python3.13 py: python3 {style,reformat,doc,build}: python3 passenv = HPS_TEST_* From b22ff0a47b28da7b1188913d622f91782d126282 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:19:17 +0100 Subject: [PATCH 2/3] fix: tox.ini missing change --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 738f3d0d..5240d1b5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] description = Default tox environments list envlist = - style,py{39,310,311,312}{,-coverage},doc + style,py{39,310,311,312,313}{,-coverage},doc skip_missing_interpreters = true [testenv] @@ -46,4 +46,4 @@ allowlist_externals = make commands = python archive_examples.py make -C doc html - make -C doc pdf \ No newline at end of file + make -C doc pdf From 03d1ca282eec73a26290c16a6ae8812843673c77 Mon Sep 17 00:00:00 2001 From: Federico Negri Date: Tue, 3 Dec 2024 15:23:47 +0100 Subject: [PATCH 3/3] bump MAIN_PYTHON_VERSION to 3.12 --- .github/workflows/ci_cd.yml | 2 +- .github/workflows/nightly.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index a1b90107..7c3b5022 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -23,7 +23,7 @@ on: - main env: - MAIN_PYTHON_VERSION: '3.10' + MAIN_PYTHON_VERSION: '3.12' DOCUMENTATION_CNAME: 'hps.docs.pyansys.com' PACKAGE_NAME: 'ansys-hps-client' diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e2c9ce49..b8de9dfb 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -15,7 +15,7 @@ on: - cron: "0 2 * * *" env: - MAIN_PYTHON_VERSION: '3.10' + MAIN_PYTHON_VERSION: '3.12' PACKAGE_NAME: 'ansys-hps-client' concurrency: