Skip to content

Commit 257a630

Browse files
ci: main Python version update to 3.12 (#1112)
Co-authored-by: pyansys-ci-bot <pyansys.github.bot@ansys.com>
1 parent 9a43dac commit 257a630

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/ci_cd.yml

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

1111
env:
12-
MAIN_PYTHON_VERSION: '3.11'
13-
MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED: '3.9'
12+
MAIN_PYTHON_VERSION: '3.12'
1413
PACKAGE_NAME: 'ansys-geometry-core'
1514
DOCUMENTATION_CNAME: 'geometry.docs.pyansys.com'
1615
ANSRV_GEO_IMAGE: 'ghcr.io/ansys/geometry'
@@ -139,7 +138,7 @@ jobs:
139138
if: env.SKIP_UNSTABLE == 'false'
140139
uses: actions/setup-python@v5
141140
with:
142-
python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED }} # self-hosted has an issue with 3.11
141+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
143142

144143
- name: Set up headless display
145144
if: env.SKIP_UNSTABLE == 'false'
@@ -258,7 +257,7 @@ jobs:
258257
- name: Set up Python
259258
uses: actions/setup-python@v5
260259
with:
261-
python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED }} # self-hosted has an issue with 3.11
260+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
262261

263262
- name: Set up headless display
264263
uses: pyvista/setup-headless-display-action@v2
@@ -500,7 +499,7 @@ jobs:
500499
- name: Set up Python
501500
uses: actions/setup-python@v5
502501
with:
503-
python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED }} # self-hosted has an issue with 3.11
502+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
504503

505504
- name: Download Windows binaries
506505
uses: actions/download-artifact@v4

.github/workflows/nightly_docker_test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
- cron: "0 3 * * *"
66

77
env:
8-
MAIN_PYTHON_VERSION: '3.11'
9-
MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED: '3.9'
8+
MAIN_PYTHON_VERSION: '3.12'
109
ANSRV_GEO_IMAGE_WINDOWS_TAG: ghcr.io/ansys/geometry:windows-latest-unstable
1110
ANSRV_GEO_IMAGE_LINUX_TAG: ghcr.io/ansys/geometry:linux-latest-unstable
1211
ANSRV_GEO_PORT: 710
@@ -34,7 +33,7 @@ jobs:
3433
- name: Set up Python
3534
uses: actions/setup-python@v5
3635
with:
37-
python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED }} # self-hosted has an issue with 3.11
36+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
3837
cache: 'pip'
3938
cache-dependency-path: 'pyproject.toml'
4039

doc/changelog.d/1112.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ci: main Python version update to 3.12

0 commit comments

Comments
 (0)