Skip to content

Commit 009e8bb

Browse files
Merge branch 'dgupta/trial' into dgupta/1134558_252
2 parents 8dab10a + 3ad9835 commit 009e8bb

File tree

129 files changed

+3602
-3865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+3602
-3865
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
name: "Style Check"
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: ansys/actions/code-style@v7
76+
- uses: ansys/actions/code-style@v8
7777
with:
7878
use-python-cache: false
7979

@@ -161,7 +161,7 @@ jobs:
161161
needs: [docs]
162162
steps:
163163
- name: "Upload development documentation"
164-
uses: ansys/actions/doc-deploy-dev@v7
164+
uses: ansys/actions/doc-deploy-dev@v8
165165
with:
166166
cname: ${{ env.DOCUMENTATION_CNAME }}
167167
token: ${{ secrets.GITHUB_TOKEN }}
@@ -174,7 +174,7 @@ jobs:
174174
needs: upload-development-docs
175175
steps:
176176
- name: "Deploy the latest documentation index"
177-
uses: ansys/actions/doc-deploy-index@v7
177+
uses: ansys/actions/doc-deploy-index@v8
178178
with:
179179
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
180180
index-name: pydpf-core-vdev

.github/workflows/ci_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
name: "Style Check"
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: ansys/actions/code-style@v6
46+
- uses: ansys/actions/code-style@v8
4747
with:
4848
use-python-cache: false
4949

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: "Running documentation style checks"
54-
uses: ansys/actions/doc-style@v7
54+
uses: ansys/actions/doc-style@v8
5555
with:
5656
token: ${{ secrets.GITHUB_TOKEN }}
5757

@@ -120,7 +120,7 @@ jobs:
120120
uses: pyvista/setup-headless-display-action@v2
121121

122122
- name: "Setup Graphviz"
123-
uses: ts-graphviz/setup-graphviz@v1
123+
uses: ts-graphviz/setup-graphviz@v2
124124

125125
- name: "Install OS packages"
126126
run: |

.github/workflows/releaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
path: HTML-doc-ansys-dpf-core.zip
9090

9191
- name: "Deploy the stable documentation"
92-
uses: ansys/actions/doc-deploy-stable@v7
92+
uses: ansys/actions/doc-deploy-stable@v8
9393
with:
9494
cname: ${{ env.DOCUMENTATION_CNAME }}
9595
token: ${{ secrets.GITHUB_TOKEN }}
@@ -121,7 +121,7 @@ jobs:
121121
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
122122
123123
- name: "Deploy the latest documentation index"
124-
uses: ansys/actions/doc-deploy-index@v7
124+
uses: ansys/actions/doc-deploy-index@v8
125125
with:
126126
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
127127
index-name: pydpf-core-v${{ env.VERSION_MEILI }}

.github/workflows/test_docker.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
echo "RERUNS=--reruns 2 --reruns-delay 1" >> $GITHUB_ENV
116116
117117
- name: "Test API"
118-
uses: nick-fields/retry@v2
118+
uses: nick-fields/retry@v3
119119
with:
120120
timeout_minutes: 10
121121
max_attempts: 2
@@ -124,7 +124,7 @@ jobs:
124124
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results.xml tests/.
125125
126126
- name: "Test API test_launcher"
127-
uses: nick-fields/retry@v2
127+
uses: nick-fields/retry@v3
128128
with:
129129
timeout_minutes: 2
130130
max_attempts: 2
@@ -133,7 +133,7 @@ jobs:
133133
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results2.xml test_launcher/.
134134
135135
- name: "Test API test_server"
136-
uses: nick-fields/retry@v2
136+
uses: nick-fields/retry@v3
137137
with:
138138
timeout_minutes: 5
139139
max_attempts: 2
@@ -142,7 +142,7 @@ jobs:
142142
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results3.xml test_server/.
143143
144144
- name: "Test API test_local_server"
145-
uses: nick-fields/retry@v2
145+
uses: nick-fields/retry@v3
146146
with:
147147
timeout_minutes: 2
148148
max_attempts: 2
@@ -151,7 +151,7 @@ jobs:
151151
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results4.xml test_local_server/.
152152
153153
- name: "Test API test_multi_server"
154-
uses: nick-fields/retry@v2
154+
uses: nick-fields/retry@v3
155155
with:
156156
timeout_minutes: 5
157157
max_attempts: 2
@@ -160,7 +160,7 @@ jobs:
160160
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results5.xml test_multi_server/.
161161
162162
- name: "Test API test_remote_workflow"
163-
uses: nick-fields/retry@v2
163+
uses: nick-fields/retry@v3
164164
with:
165165
timeout_minutes: 2
166166
max_attempts: 3
@@ -169,7 +169,7 @@ jobs:
169169
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results6.xml test_remote_workflow/.
170170
171171
- name: "Test API test_remote_operator"
172-
uses: nick-fields/retry@v2
172+
uses: nick-fields/retry@v3
173173
with:
174174
timeout_minutes: 2
175175
max_attempts: 2
@@ -178,7 +178,7 @@ jobs:
178178
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results7.xml test_remote_operator/.
179179
180180
- name: "Test API test_workflow"
181-
uses: nick-fields/retry@v2
181+
uses: nick-fields/retry@v3
182182
with:
183183
timeout_minutes: 3
184184
max_attempts: 3
@@ -187,7 +187,7 @@ jobs:
187187
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results8.xml test_workflow/.
188188
189189
- name: "Test API test_service"
190-
uses: nick-fields/retry@v2
190+
uses: nick-fields/retry@v3
191191
with:
192192
timeout_minutes: 3
193193
max_attempts: 2
@@ -196,7 +196,7 @@ jobs:
196196
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.
197197
198198
- name: "Test Operators"
199-
uses: nick-fields/retry@v2
199+
uses: nick-fields/retry@v3
200200
with:
201201
timeout_minutes: 3
202202
max_attempts: 2
@@ -221,4 +221,8 @@ jobs:
221221
timeout-minutes: 5
222222

223223
- name: "Upload coverage to Codecov"
224-
uses: codecov/codecov-action@v3
224+
uses: codecov/codecov-action@v4
225+
with:
226+
token: ${{ secrets.CODECOV_TOKEN }} # required
227+
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ inputs.ANSYS_VERSION }}_docker.xml
228+
flags: docker,${{ inputs.ANSYS_VERSION }},${{ matrix.os }},${{ matrix.python-version }}

.github/workflows/tests.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ jobs:
232232
uses: ansys/pydpf-actions/[email protected]
233233

234234
- name: "Test API test_launcher"
235-
uses: nick-fields/retry@v2
235+
uses: nick-fields/retry@v3
236236
with:
237237
timeout_minutes: 2
238238
max_attempts: 2
@@ -244,7 +244,7 @@ jobs:
244244
uses: ansys/pydpf-actions/[email protected]
245245

246246
- name: "Test API test_server"
247-
uses: nick-fields/retry@v2
247+
uses: nick-fields/retry@v3
248248
with:
249249
timeout_minutes: 5
250250
max_attempts: 2
@@ -256,7 +256,7 @@ jobs:
256256
uses: ansys/pydpf-actions/[email protected]
257257

258258
- name: "Test API test_local_server"
259-
uses: nick-fields/retry@v2
259+
uses: nick-fields/retry@v3
260260
with:
261261
timeout_minutes: 2
262262
max_attempts: 2
@@ -268,7 +268,7 @@ jobs:
268268
uses: ansys/pydpf-actions/[email protected]
269269

270270
- name: "Test API test_multi_server"
271-
uses: nick-fields/retry@v2
271+
uses: nick-fields/retry@v3
272272
with:
273273
timeout_minutes: 5
274274
max_attempts: 2
@@ -280,7 +280,7 @@ jobs:
280280
uses: ansys/pydpf-actions/[email protected]
281281

282282
- name: "Test API test_remote_workflow"
283-
uses: nick-fields/retry@v2
283+
uses: nick-fields/retry@v3
284284
with:
285285
timeout_minutes: 4
286286
max_attempts: 3
@@ -301,7 +301,7 @@ jobs:
301301
uses: ansys/pydpf-actions/[email protected]
302302

303303
- name: "Test API test_workflow"
304-
uses: nick-fields/retry@v2
304+
uses: nick-fields/retry@v3
305305
with:
306306
timeout_minutes: 3
307307
max_attempts: 4
@@ -314,7 +314,7 @@ jobs:
314314
uses: ansys/pydpf-actions/[email protected]
315315

316316
- name: "Test API test_service"
317-
uses: nick-fields/retry@v2
317+
uses: nick-fields/retry@v3
318318
with:
319319
timeout_minutes: 2
320320
max_attempts: 2
@@ -337,7 +337,7 @@ jobs:
337337
uses: ansys/pydpf-actions/[email protected]
338338

339339
- name: "Test API test_custom_type_field"
340-
uses: nick-fields/retry@v2
340+
uses: nick-fields/retry@v3
341341
with:
342342
timeout_minutes: 2
343343
max_attempts: 2
@@ -349,7 +349,7 @@ jobs:
349349
uses: ansys/pydpf-actions/[email protected]
350350

351351
- name: "Test Operators"
352-
uses: nick-fields/retry@v2
352+
uses: nick-fields/retry@v3
353353
with:
354354
timeout_minutes: 2
355355
max_attempts: 2
@@ -367,4 +367,8 @@ jobs:
367367
path: tests/junit/test-results.xml
368368

369369
- name: "Upload coverage to Codecov"
370-
uses: codecov/codecov-action@v3
370+
uses: codecov/codecov-action@v4
371+
with:
372+
token: ${{ secrets.CODECOV_TOKEN }} # required
373+
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ inputs.ANSYS_VERSION }}${{ inputs.test_any == 'true' && '_any' || '' }}.xml
374+
flags: ${{ inputs.ANSYS_VERSION }},${{ matrix.os }},${{ matrix.python-version }}${{ inputs.test_any == 'true' && ',any' || '' }}

AUTHORS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This is the list of PyDPF-Core's significant contributors.
2+
#
3+
# This file does not necessarily list everyone who has contributed code.
4+
#
5+
# For contributions made under a Corporate CLA, the organization is
6+
# added to this file.
7+
#
8+
# If you have contributed to the repository and want to be added to this file,
9+
# submit a request.
10+
#
11+
#
12+
ANSYS, Inc.

doc/.vale.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ Google.Headings = NO
4040
# Format-specific settings appear
4141
# under a user-provided "glob"
4242
# pattern.
43-
TokenIgnores = (:(func|class|meth|attr|py):`(?:.|\n)*?`)|(<.*>)
43+
TokenIgnores = (:(func|class|meth|attr|py|py:class|py:meth):`(?:.|\n)*?`)|(<.*>)|

doc/source/_static/dpf_operators.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

examples/10-mesh_operations/13-nodes_in_local_coordinate_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# Starting with DPF 2025.1.pre1
6060
cs = dpf.operators.result.coordinate_system()
6161
cs.inputs.data_sources.connect(model)
62-
except KeyError:
62+
except (KeyError, ansys.dpf.gate.errors.DPFServerException) as e:
6363
# For previous DPF versions
6464
cs = model.operator(r"mapdl::rst::CS")
6565

0 commit comments

Comments
 (0)