Skip to content

Commit 413da02

Browse files
committed
chore: merge remote-tracking branch 'origin/main' into release/0.71
2 parents 389946f + 387356e commit 413da02

File tree

183 files changed

+1379
-609
lines changed

Some content is hidden

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

183 files changed

+1379
-609
lines changed

.ci/pytest_summary.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ def compute_statistics(
7979
test_stats: dict[str, TEST_STATS_TYPE] = {}
8080

8181
for test in tests:
82-
test_id: str = test["id"]
82+
test_id = test["id"] # type: ignore[assignment]
8383
if test_id not in test_stats:
84-
test_stats[test_id] = {
84+
test_stats[test_id] = { # type: ignore[index]
8585
"durations": [],
8686
"n_tests": 0,
8787
}
8888

89-
test_stats[test_id]["durations"].append(test["duration"])
90-
test_stats[test_id]["n_tests"] += 1
89+
test_stats[test_id]["durations"].append(test["duration"]) # type: ignore[arg-type,index]
90+
test_stats[test_id]["n_tests"] += 1 # type: ignore[index]
9191

9292
summary: list[dict[str, Any]] = []
9393

@@ -170,10 +170,10 @@ def make_bold(s: str) -> str:
170170
for i, each_key in enumerate(keys):
171171

172172
if i == 0:
173-
id_: str = test[each_key]
173+
id_ = test[each_key] # type: ignore[assignment]
174174

175175
id_ = (
176-
id_.replace("(", r"(")
176+
id_.replace("(", r"(") # type: ignore[union-attr]
177177
.replace(")", r")")
178178
.replace("[", r"[")
179179
.replace("]", r"]")
@@ -197,8 +197,8 @@ def make_bold(s: str) -> str:
197197

198198
def print_summary(summary: list[dict[str, str | float]], num: int = 10):
199199
"""Print the top N longest tests and the top N most variable tests."""
200-
longest_tests = sorted(summary, key=lambda x: -x["average_duration"])[:num]
201-
most_variable_tests = sorted(summary, key=lambda x: -x["std_dev"])[:num]
200+
longest_tests = sorted(summary, key=lambda x: -x["average_duration"])[:num] # type: ignore[operator]
201+
most_variable_tests = sorted(summary, key=lambda x: -x["std_dev"])[:num] # type: ignore[operator]
202202

203203
print(f"\n## Top {num} Longest Running Tests\n")
204204
print_table(

.devcontainer/codespaces-dev/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ pytest-rerunfailures==15.0
1515
pytest-timeout==2.3.1
1616
pytest==8.3.5
1717
scipy==1.15.2
18-
vtk==9.4.2
18+
vtk==9.5.2

.devcontainer/codespaces-docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ sphinx-notfound-page==1.1.0
2727
sphinx==8.2.3
2828
sphinxcontrib-websupport==2.0.0
2929
sphinxemoji==0.3.1
30-
vtk==9.4.2
30+
vtk==9.5.2

.devcontainer/devcontainer-local/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ sphinx-notfound-page==1.1.0
4040
sphinx==8.2.3
4141
sphinxcontrib-websupport==2.0.0
4242
sphinxemoji==0.3.1
43-
vtk==9.3.1
43+
vtk==9.5.2

.github/actions/test-julia/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ runs:
3333
"$PYTHON_PATH" -m pip install -e .
3434
3535
- name: "Starting Julia"
36-
shell: julia {0}
36+
shell: bash
3737
run: |
38-
using Pkg; Pkg.add("PyCall");using PyCall;pymapdl = pyimport("ansys.mapdl.core");print(pymapdl.__version__)
38+
julia -e 'using Pkg; Pkg.add("PyCall");using PyCall;pymapdl = pyimport("ansys.mapdl.core");print(pymapdl.__version__)'
39+

.github/workflows/cache_cleaner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
actions: write
1616
steps:
1717
- name: Check out code
18-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
18+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
1919
with:
2020
persist-credentials: false
2121

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
contents: write
6565
pull-requests: write
6666
steps:
67-
- uses: ansys/actions/doc-deploy-changelog@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
67+
- uses: ansys/actions/doc-deploy-changelog@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
6868
with:
6969
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
7070
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
@@ -79,7 +79,7 @@ jobs:
7979
pull-requests: read
8080
steps:
8181
- name: Check pull-request name
82-
uses: ansys/actions/check-pr-title@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
82+
uses: ansys/actions/check-pr-title@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
8383
with:
8484
token: ${{ secrets.GITHUB_TOKEN }}
8585

@@ -94,7 +94,7 @@ jobs:
9494
folder: ["doc", "examples"]
9595
steps:
9696
- name: "Ansys documentation style checks"
97-
uses: ansys/actions/doc-style@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
97+
uses: ansys/actions/doc-style@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
9898
with:
9999
token: ${{ secrets.GITHUB_TOKEN }}
100100
files: ${{ matrix.folder }}
@@ -122,7 +122,7 @@ jobs:
122122
steps:
123123
- name: "Build wheelhouse and perform smoke test"
124124
id: build-wheelhouse
125-
uses: ansys/actions/build-wheelhouse@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
125+
uses: ansys/actions/build-wheelhouse@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
126126
with:
127127
library-name: ${{ env.PACKAGE_NAME }}
128128
operating-system: ${{ matrix.os }}
@@ -150,7 +150,7 @@ jobs:
150150
permissions:
151151
contents: read
152152
steps:
153-
- uses: ansys/actions/check-vulnerabilities@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
153+
- uses: ansys/actions/check-vulnerabilities@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
154154
with:
155155
python-version: ${{ env.MAIN_PYTHON_VERSION }}
156156
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -161,7 +161,7 @@ jobs:
161161
name: "Check actions security"
162162
runs-on: ubuntu-latest
163163
steps:
164-
- uses: ansys/actions/check-actions-security@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
164+
- uses: ansys/actions/check-actions-security@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
165165
with:
166166
generate-summary: true
167167
token: ${{ secrets.GITHUB_TOKEN }}
@@ -190,7 +190,7 @@ jobs:
190190
contents: write
191191
pull-requests: write
192192
steps:
193-
- uses: ansys/actions/doc-deploy-pr@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
193+
- uses: ansys/actions/doc-deploy-pr@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
194194
with:
195195
cname: ${{ env.DOCUMENTATION_CNAME }}
196196
token: ${{ secrets.GITHUB_TOKEN }}
@@ -210,7 +210,7 @@ jobs:
210210

211211
steps:
212212
- name: "Install Git and checkout project"
213-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
213+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
214214
with:
215215
persist-credentials: false
216216

@@ -254,7 +254,7 @@ jobs:
254254
matrix: ${{ steps.set-matrix.outputs.matrix }}
255255
steps:
256256
- name: "Install Git and checkout project"
257-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
257+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
258258
with:
259259
persist-credentials: false
260260

@@ -361,7 +361,7 @@ jobs:
361361
contents: read
362362
steps:
363363
- name: "Build library source and wheel artifacts"
364-
uses: ansys/actions/build-library@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
364+
uses: ansys/actions/build-library@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
365365
with:
366366
library-name: ${{ env.PACKAGE_NAME }}
367367
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -379,7 +379,7 @@ jobs:
379379
contents: write
380380
steps:
381381
- name: "Download the library artifacts from build-library step"
382-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
382+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
383383
with:
384384
name: ${{ env.PACKAGE_NAME }}-artifacts
385385
path: ${{ env.PACKAGE_NAME }}-artifacts
@@ -396,7 +396,7 @@ jobs:
396396
skip-existing: false
397397

398398
- name: "Release to GitHub"
399-
uses: ansys/actions/release-github@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
399+
uses: ansys/actions/release-github@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
400400
with:
401401
library-name: ${{ env.PACKAGE_NAME }}
402402
additional-artifacts: "minimum_requirements.txt"
@@ -412,7 +412,7 @@ jobs:
412412
needs: [release]
413413
steps:
414414
- name: "Deploy the stable documentation"
415-
uses: ansys/actions/doc-deploy-stable@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
415+
uses: ansys/actions/doc-deploy-stable@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
416416
with:
417417
cname: ${{ env.DOCUMENTATION_CNAME }}
418418
token: ${{ secrets.GITHUB_TOKEN }}
@@ -430,7 +430,7 @@ jobs:
430430
needs: [docs-build]
431431
steps:
432432
- name: "Deploy the latest documentation"
433-
uses: ansys/actions/doc-deploy-dev@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
433+
uses: ansys/actions/doc-deploy-dev@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
434434
with:
435435
cname: ${{ env.DOCUMENTATION_CNAME }}
436436
token: ${{ secrets.GITHUB_TOKEN }}
@@ -467,7 +467,7 @@ jobs:
467467
os: [ubuntu-latest, windows-latest]
468468

469469
steps:
470-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
470+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
471471
with:
472472
persist-credentials: false
473473

@@ -489,7 +489,7 @@ jobs:
489489
actions: write
490490
steps:
491491
- name: "Install Git and checkout project"
492-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
492+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
493493
with:
494494
persist-credentials: false
495495

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5858
steps:
5959
- name: Checkout repository
60-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
60+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
6161
with:
6262
persist-credentials: false
6363

.github/workflows/doc-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191

9292
steps:
9393
- name: "Install Git and checkout project"
94-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
94+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
9595
with:
9696
persist-credentials: false
9797

@@ -247,7 +247,7 @@ jobs:
247247
.ci/substitute_defective_gif.sh
248248
249249
- name: "Upload HTML Documentation"
250-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4.6.2
250+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #v5.0.0
251251
with:
252252
name: documentation-html
253253
path: doc/_build/html
@@ -267,15 +267,15 @@ jobs:
267267

268268
- name: "Upload PDF documentation"
269269
if: ${{ inputs.build_pdf }}
270-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4.6.2
270+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #v5.0.0
271271
with:
272272
name: documentation-pdf
273273
path: doc/_build/latex/pymapdl*.pdf
274274
retention-days: 7
275275

276276
- name: "Upload minimal requirements file"
277277
# To include it in the release
278-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4.6.2
278+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #v5.0.0
279279
with:
280280
name: minimum_requirements.txt
281281
path: ./minimum_requirements.txt

.github/workflows/docker_clean_untagged.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424

2525
- name: "Perform versions cleanup - except certain tags"
26-
uses: ansys/actions/hk-package-clean-untagged@c2fa7c93f6883114e0e643599431b33d29f0b13f #v10.1.4
26+
uses: ansys/actions/hk-package-clean-untagged@21c9de9bee9692173780696d4a39964f20b9cfa3 #v10.1.5
2727
with:
2828
package-name: 'mapdl'
2929
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)