Skip to content

Commit a63f620

Browse files
authored
Update supported Python versions (#1210)
* Update package metadata supported Python * Bump CI to Python 3.9 and add Python 3.11 to testing * Switch docs generation to 3.10 * Revert "Switch docs generation to 3.10" This reverts commit d5dfa72. * Add debug prints to create_sites_for_python_operators.ps1 * Fix create_sites_for_python_operators.ps1 * Fix 02-python_operators_with_dependencies.py * Augment test timeout to 35mn * Fix gltf (#1213) * Only run gltf example * Remove superfluous prints * Raise on stderr * Fix path expansion * Final fix for create_sites_for_python_operators.ps1 * Revert "Remove superfluous prints" This reverts commit fb81e4a. * Revert "Only run gltf example" This reverts commit df37386. * Ci/update supported python fix gltf2 (#1215) * Only run gltf example * Remove superfluous prints * Run docs * Fix create_sites_for_python_operators.ps1 * Fix create_sites_for_python_operators.ps1 * Fix create_sites_for_python_operators.ps1 * Fix create_sites_for_python_operators.ps1 * Revert "Remove superfluous prints" This reverts commit 6f20181. * Revert "Only run gltf example" This reverts commit 1b32b57 * Fix create_sites_for_python_operators.ps1
1 parent 8a66a2b commit a63f620

File tree

14 files changed

+40
-78
lines changed

14 files changed

+40
-78
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ body:
8585
- '3.9'
8686
- '3.10'
8787
- '3.11'
88+
- '3.12'
8889
validations:
8990
required: true
9091

.github/ISSUE_TEMPLATE/examples.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -27,49 +27,3 @@ body:
2727
as a .zip file.
2828
validations:
2929
required: true
30-
31-
- type: dropdown
32-
id: os-name
33-
attributes:
34-
label: '💻 Which operating system are you using?'
35-
multiple: false
36-
options:
37-
- 'Windows'
38-
- 'MacOS'
39-
- 'Linux'
40-
validations:
41-
required: true
42-
43-
- type: textarea
44-
id: ansys-version
45-
attributes:
46-
label: '📀 Which ANSYS version are you using?'
47-
placeholder: Indicate the ANSYS version of the products you are using.
48-
49-
validations:
50-
required: false
51-
52-
- type: dropdown
53-
id: python-version
54-
attributes:
55-
label: '🐍 Which Python version are you using?'
56-
description: Run `python --version` to verify your Python version
57-
multiple: false
58-
options:
59-
- '3.7'
60-
- '3.8'
61-
- '3.9'
62-
- '3.10'
63-
- '3.11'
64-
validations:
65-
required: true
66-
67-
- type: textarea
68-
id: installed-packages
69-
attributes:
70-
label: '📦 Installed packages'
71-
description: Run `python -m pip freeze` to list installed packages
72-
placeholder: Paste the output of `python -m pip freeze` here.
73-
render: shell
74-
validations:
75-
required: true

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
env:
2424
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
25-
MAIN_PYTHON_VERSION: '3.8'
25+
MAIN_PYTHON_VERSION: '3.9'
2626
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
2727
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}
2828

@@ -82,7 +82,7 @@ jobs:
8282
uses: ./.github/workflows/tests.yml
8383
with:
8484
ANSYS_VERSION: "241"
85-
python_versions: '["3.8"]'
85+
python_versions: '["3.9"]'
8686
wheel: true
8787
wheelhouse: false
8888
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
@@ -92,7 +92,7 @@ jobs:
9292
uses: ./.github/workflows/tests.yml
9393
with:
9494
ANSYS_VERSION: "241"
95-
python_versions: '["3.8"]'
95+
python_versions: '["3.9"]'
9696
wheel: true
9797
wheelhouse: false
9898
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
@@ -112,7 +112,7 @@ jobs:
112112
uses: ./.github/workflows/examples_docker.yml
113113
with:
114114
ANSYS_VERSION: "241"
115-
python_versions: '["3.8"]'
115+
python_versions: '["3.9"]'
116116
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
117117
secrets: inherit
118118

@@ -137,7 +137,7 @@ jobs:
137137
token: ${{ secrets.GITHUB_TOKEN }}
138138
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
139139
decompress-artifact: true
140-
140+
141141
doc-index-dev:
142142
name: "Deploy dev index docs"
143143
runs-on: ubuntu-latest
@@ -158,7 +158,7 @@ jobs:
158158
uses: ./.github/workflows/examples.yml
159159
with:
160160
ANSYS_VERSION: "241"
161-
python_versions: '["3.8"]'
161+
python_versions: '["3.9"]'
162162
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
163163
secrets: inherit
164164

@@ -168,7 +168,7 @@ jobs:
168168
uses: ./.github/workflows/tests.yml
169169
with:
170170
ANSYS_VERSION: "232"
171-
python_versions: '["3.8"]'
171+
python_versions: '["3.9"]'
172172
DOCSTRING: false
173173
standalone_suffix: ''
174174
secrets: inherit
@@ -179,7 +179,7 @@ jobs:
179179
uses: ./.github/workflows/tests.yml
180180
with:
181181
ANSYS_VERSION: "231"
182-
python_versions: '["3.8"]'
182+
python_versions: '["3.9"]'
183183
DOCSTRING: false
184184
secrets: inherit
185185

@@ -189,7 +189,7 @@ jobs:
189189
uses: ./.github/workflows/tests.yml
190190
with:
191191
ANSYS_VERSION: "222"
192-
python_versions: '["3.8"]'
192+
python_versions: '["3.9"]'
193193
DOCSTRING: false
194194
secrets: inherit
195195

.github/workflows/ci_release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
env:
2727
ANSYS_VERSION: 241
2828
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
29-
MAIN_PYTHON_VERSION: '3.8'
29+
MAIN_PYTHON_VERSION: '3.9'
3030

3131
jobs:
3232
debug:
@@ -84,7 +84,7 @@ jobs:
8484
uses: ./.github/workflows/tests.yml
8585
with:
8686
ANSYS_VERSION: "241"
87-
python_versions: '["3.8", "3.9", "3.10"]'
87+
python_versions: '["3.9", "3.10", "3.11"]'
8888
wheel: true
8989
wheelhouse: true
9090
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
@@ -94,7 +94,7 @@ jobs:
9494
uses: ./.github/workflows/tests.yml
9595
with:
9696
ANSYS_VERSION: "241"
97-
python_versions: '["3.8", "3.9", "3.10"]'
97+
python_versions: '["3.9", "3.10", "3.11"]'
9898
wheel: true
9999
wheelhouse: false
100100
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
@@ -113,7 +113,7 @@ jobs:
113113
uses: ./.github/workflows/examples.yml
114114
with:
115115
ANSYS_VERSION: "241"
116-
python_versions: '["3.8", "3.9", "3.10"]'
116+
python_versions: '["3.9", "3.10", "3.11"]'
117117
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
118118
secrets: inherit
119119

@@ -122,7 +122,7 @@ jobs:
122122
uses: ./.github/workflows/tests.yml
123123
with:
124124
ANSYS_VERSION: "232"
125-
python_versions: '["3.8"]'
125+
python_versions: '["3.9"]'
126126
DOCSTRING: false
127127
secrets: inherit
128128

@@ -131,7 +131,7 @@ jobs:
131131
uses: ./.github/workflows/tests.yml
132132
with:
133133
ANSYS_VERSION: "231"
134-
python_versions: '["3.8"]'
134+
python_versions: '["3.9"]'
135135
DOCSTRING: false
136136
secrets: inherit
137137

@@ -140,7 +140,7 @@ jobs:
140140
uses: ./.github/workflows/tests.yml
141141
with:
142142
ANSYS_VERSION: "222"
143-
python_versions: '["3.8"]'
143+
python_versions: '["3.9"]'
144144
DOCSTRING: false
145145
secrets: inherit
146146

@@ -187,7 +187,7 @@ jobs:
187187
uses: ./.github/workflows/examples_docker.yml
188188
with:
189189
ANSYS_VERSION: "241"
190-
python_versions: '["3.8", "3.9", "3.10"]'
190+
python_versions: '["3.9", "3.10", "3.11"]'
191191
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
192192
secrets: inherit
193193

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
python_version:
88
required: false
99
type: string
10-
default: "3.8"
10+
default: "3.9"
1111
ANSYS_VERSION:
1212
required: false
1313
type: string
@@ -29,7 +29,7 @@ on:
2929
description: "Python interpreter"
3030
required: true
3131
type: string
32-
default: "3.8"
32+
default: "3.9"
3333
ANSYS_VERSION:
3434
description: "ANSYS version"
3535
required: true

.github/workflows/examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
python_versions:
88
required: false
99
type: string
10-
default: '["3.8"]'
10+
default: '["3.9"]'
1111
ANSYS_VERSION:
1212
required: false
1313
type: string
@@ -24,7 +24,7 @@ on:
2424
description: "Python interpreters to test."
2525
required: true
2626
type: string
27-
default: '["3.8"]'
27+
default: '["3.9"]'
2828
ANSYS_VERSION:
2929
description: "ANSYS version to run."
3030
required: true

.github/workflows/examples_docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
python_versions:
88
required: false
99
type: string
10-
default: '["3.8"]'
10+
default: '["3.9"]'
1111
ANSYS_VERSION:
1212
required: false
1313
type: string
@@ -24,7 +24,7 @@ on:
2424
description: "Python interpreters to test."
2525
required: true
2626
type: string
27-
default: '["3.8"]'
27+
default: '["3.9"]'
2828
ANSYS_VERSION:
2929
description: "ANSYS version to run."
3030
required: true

.github/workflows/pydpf-post.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
fail-fast: false
5757
matrix:
5858
os: ["windows-latest", "ubuntu-latest"]
59-
python-version: ["3.8"]
59+
python-version: ["3.9"]
6060

6161
steps:
6262
- uses: actions/checkout@v3
@@ -71,7 +71,7 @@ jobs:
7171
- name: "Setup Python"
7272
uses: actions/[email protected]
7373
with:
74-
python-version: "3.8"
74+
python-version: ${{ matrix.python-version }}
7575

7676
- name: "Install ansys-dpf-core build requirements"
7777
run: pip install -r requirements/requirements_build.txt

.github/workflows/releaser.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
env:
88
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
9-
PYTHON_MAIN_VERSION: '3.10'
109
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
1110
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}
1211

.github/workflows/test_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
python-version: ["3.8"]
43+
python-version: ["3.9"]
4444
os: ["ubuntu-latest"]
4545

4646
steps:

0 commit comments

Comments
 (0)