Skip to content

Commit 22d88ac

Browse files
committed
Merge branch 'main' into release/0.10
2 parents 335d339 + 09dd8b9 commit 22d88ac

Some content is hidden

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

41 files changed

+647
-225
lines changed

.github/workflows/ci_cd.yml

Lines changed: 28 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
contents: write
3636
pull-requests: write
3737
steps:
38-
- uses: ansys/actions/doc-deploy-changelog@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
38+
- uses: ansys/actions/doc-deploy-changelog@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
3939
with:
4040
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4141
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
@@ -45,7 +45,7 @@ jobs:
4545
name: Vulnerabilities
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: ansys/actions/check-vulnerabilities@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
48+
- uses: ansys/actions/check-vulnerabilities@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
4949
with:
5050
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5151
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -58,7 +58,7 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- name: Check commit name
61-
uses: ansys/actions/check-pr-title@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
61+
uses: ansys/actions/check-pr-title@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
6262
with:
6363
token: ${{ secrets.GITHUB_TOKEN }}
6464

@@ -67,7 +67,7 @@ jobs:
6767
runs-on: ubuntu-latest
6868
steps:
6969
- name: PyAnsys documentation style checks
70-
uses: ansys/actions/doc-style@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
70+
uses: ansys/actions/doc-style@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
7171
with:
7272
token: ${{ secrets.GITHUB_TOKEN }}
7373

@@ -86,7 +86,7 @@ jobs:
8686
os: macos-latest
8787
steps:
8888
- name: Build wheelhouse and perform smoke test
89-
uses: ansys/actions/build-wheelhouse@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
89+
uses: ansys/actions/build-wheelhouse@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
9090
with:
9191
library-name: ${{ env.PACKAGE_NAME }}
9292
operating-system: ${{ matrix.os }}
@@ -98,7 +98,7 @@ jobs:
9898
runs-on: ubuntu-latest
9999
steps:
100100
- name: PyAnsys documentation style checks
101-
uses: ansys/actions/docker-style@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
101+
uses: ansys/actions/docker-style@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
102102
with:
103103
directory: docker
104104
recursive: true
@@ -160,7 +160,6 @@ jobs:
160160
continue-on-error: ${{ matrix.experimental }}
161161
env:
162162
SKIP_UNSTABLE: false
163-
PYVISTA_OFF_SCREEN: true
164163
strategy:
165164
fail-fast: false
166165
matrix:
@@ -197,18 +196,13 @@ jobs:
197196

198197
- name: Set up Python
199198
if: env.SKIP_UNSTABLE == 'false'
200-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
199+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
201200
with:
202201
python-version: ${{ env.MAIN_PYTHON_VERSION }}
203202

204203
- name: Set up headless display
205204
if: env.SKIP_UNSTABLE == 'false'
206-
uses: RobPasMue/setup-headless-display-action@offscreen-mesa3d
207-
with:
208-
pyvista: false
209-
# Mesa3D off screen rendering only needed on Windows self-hosted runners
210-
# without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
211-
install-mesa3d-offscreen: ${{ runner.name != 'pygeometry-ci-2' }}
205+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
212206

213207
- name: Create Python venv
214208
if: env.SKIP_UNSTABLE == 'false'
@@ -326,11 +320,9 @@ jobs:
326320
name: Documentation
327321
needs: [docs-style]
328322
runs-on: ubuntu-latest
329-
env:
330-
PYVISTA_OFF_SCREEN: true
331323
steps:
332324
- name: Set up headless display
333-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
325+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
334326

335327
- name: Login to GitHub Container Registry
336328
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -345,7 +337,7 @@ jobs:
345337
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_DOCS_TAG }}
346338
347339
- name: Run Ansys documentation building action
348-
uses: ansys/actions/doc-build@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
340+
uses: ansys/actions/doc-build@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
349341
with:
350342
python-version: ${{ env.MAIN_PYTHON_VERSION }}
351343
add-pdf-html-docs-as-assets: true
@@ -406,9 +398,7 @@ jobs:
406398
407399
- name: Set up headless display
408400
if: env.SKIP_UNSTABLE == 'false'
409-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
410-
with:
411-
pyvista: false
401+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
412402

413403
- name: Login in Github Container registry
414404
if: env.SKIP_UNSTABLE == 'false'
@@ -438,7 +428,7 @@ jobs:
438428

439429
- name: Run pytest
440430
if: env.SKIP_UNSTABLE == 'false'
441-
uses: ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
431+
uses: ansys/actions/tests-pytest@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
442432
env:
443433
ALLOW_PLOTTING: true
444434
with:
@@ -484,9 +474,7 @@ jobs:
484474
python-version: ['3.10', '3.11', '3.12', '3.13']
485475
steps:
486476
- name: Set up headless display
487-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
488-
with:
489-
pyvista: false
477+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
490478

491479
- name: Login in Github Container registry
492480
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -499,7 +487,7 @@ jobs:
499487
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
500488

501489
- name: Setup Python ${{ matrix.python-version }}
502-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
490+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
503491
with:
504492
python-version: ${{ matrix.python-version }}
505493

@@ -548,7 +536,7 @@ jobs:
548536
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
549537

550538
- name: Setup Python ${{ matrix.python-version }}
551-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
539+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
552540
with:
553541
python-version: ${{ matrix.python-version }}
554542

@@ -588,7 +576,7 @@ jobs:
588576
id-token: write
589577
steps:
590578
- name: Build library source and wheel artifacts
591-
uses: ansys/actions/build-library@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
579+
uses: ansys/actions/build-library@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
592580
with:
593581
library-name: ${{ env.PACKAGE_NAME }}
594582
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -686,20 +674,15 @@ jobs:
686674
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
687675

688676
- name: Set up headless display
689-
uses: RobPasMue/setup-headless-display-action@offscreen-mesa3d
690-
with:
691-
pyvista: false
692-
# Mesa3D off screen rendering only needed on Windows self-hosted runners
693-
# without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
694-
install-mesa3d-offscreen: ${{ runner.name != 'pygeometry-ci-2' }}
677+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
695678

696679
- name: Set up Python
697-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
680+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
698681
with:
699682
python-version: ${{ env.MAIN_PYTHON_VERSION }}
700683

701684
- name: Download Windows binaries for ${{ matrix.mode }}
702-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
685+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
703686
with:
704687
name: ${{ matrix.zip-file }}
705688
path: docker/${{ matrix.zip-file }}
@@ -787,17 +770,15 @@ jobs:
787770
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
788771

789772
- name: Set up Python
790-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
773+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
791774
with:
792775
python-version: ${{ env.MAIN_PYTHON_VERSION }}
793776

794777
- name: Set up headless display
795-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
796-
with:
797-
pyvista: false
778+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
798779

799780
- name: Download Linux binaries
800-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
781+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
801782
with:
802783
name: linux-core-binaries.zip
803784
path: docker/linux-core-binaries.zip
@@ -825,7 +806,7 @@ jobs:
825806
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
826807

827808
- name: Run pytest
828-
uses: ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
809+
uses: ansys/actions/tests-pytest@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
829810
env:
830811
ALLOW_PLOTTING: true
831812
with:
@@ -866,7 +847,7 @@ jobs:
866847
contents: write
867848
steps:
868849
- name: Release to GitHub
869-
uses: ansys/actions/release-github@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
850+
uses: ansys/actions/release-github@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
870851
with:
871852
token: ${{ secrets.GITHUB_TOKEN }}
872853
library-name: ${{ env.PACKAGE_NAME }}
@@ -886,7 +867,7 @@ jobs:
886867
contents: write
887868
steps:
888869
- name: "Download the library artifacts from build-library step"
889-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
870+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
890871
with:
891872
name: ${{ env.PACKAGE_NAME }}-artifacts
892873
path: ${{ env.PACKAGE_NAME }}-artifacts
@@ -906,7 +887,7 @@ jobs:
906887
needs: [package]
907888
steps:
908889
- name: Deploy the latest documentation
909-
uses: ansys/actions/doc-deploy-dev@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
890+
uses: ansys/actions/doc-deploy-dev@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
910891
with:
911892
cname: ${{ env.DOCUMENTATION_CNAME }}
912893
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -920,7 +901,7 @@ jobs:
920901
needs: [release, release-pypi]
921902
steps:
922903
- name: Deploy the stable documentation
923-
uses: ansys/actions/doc-deploy-stable@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
904+
uses: ansys/actions/doc-deploy-stable@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
924905
with:
925906
cname: ${{ env.DOCUMENTATION_CNAME }}
926907
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -937,7 +918,7 @@ jobs:
937918
pull-requests: write
938919
steps:
939920
- name: Automerge PRs
940-
uses: ansys/actions/hk-automerge-prs@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
921+
uses: ansys/actions/hk-automerge-prs@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
941922
with:
942923
approver: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
943924
approver-token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323

2424
- name: Initialize CodeQL
25-
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
25+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
2626
with:
2727
languages: 'python'
2828
config-file: ./.github/codeql-config.yml
2929

3030
- name: Autobuild
31-
uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
31+
uses: github/codeql-action/autobuild@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
3232

3333
# If the Autobuild fails above, remove it and uncomment the following three lines.
3434
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
@@ -38,6 +38,6 @@ jobs:
3838
# ./location_of_script_within_repo/buildscript.sh
3939

4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
41+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
4242
with:
4343
category: "/language:python"

.github/workflows/docker_cleanup.yml

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

2424
- name: "Perform versions cleanup - except certain tags"
25-
uses: ansys/actions/hk-package-clean-except@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
25+
uses: ansys/actions/hk-package-clean-except@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
2626
with:
2727
package-name: 'geometry'
2828
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
pull-requests: write
101101
runs-on: ubuntu-latest
102102
steps:
103-
- uses: ansys/actions/doc-changelog@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
103+
- uses: ansys/actions/doc-changelog@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
104104
with:
105105
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
106106
use-conventional-commits: true

.github/workflows/nightly_docker_test.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,12 @@ jobs:
9595
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9696

9797
- name: Set up Python
98-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
98+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
9999
with:
100100
python-version: ${{ env.MAIN_PYTHON_VERSION }}
101101

102102
- name: Set up headless display
103-
uses: RobPasMue/setup-headless-display-action@offscreen-mesa3d
104-
with:
105-
pyvista: false
106-
# Mesa3D off screen rendering only needed on Windows self-hosted runners
107-
# without GPU support (e.g. pygeometry-ci-2 has GPU, so it doesn't need it)
108-
install-mesa3d-offscreen: ${{ runner.name != 'pygeometry-ci-2' }}
103+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
109104

110105
- name: Create Python venv
111106
run: |
@@ -218,12 +213,10 @@ jobs:
218213
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_LINUX_CORE_TAG }}
219214
220215
- name: Set up headless display
221-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
222-
with:
223-
pyvista: false
216+
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
224217

225218
- name: Run pytest
226-
uses: ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
219+
uses: ansys/actions/tests-pytest@90c8d3f174d3393c68bc2143088d60265275b8cc # v9.0.7
227220
env:
228221
ALLOW_PLOTTING: true
229222
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude: "tests/integration/files"
77
repos:
88

99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.11.6
10+
rev: v0.11.7
1111
hooks:
1212
- id: ruff
1313
- id: ruff-format

CONTRIBUTORS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* [Camille](https://github.com/clatapie)
1515
* [Chad Queen](https://github.com/chadqueen)
1616
* [Chris Hawkins](https://github.com/chris-hawkins-usa)
17+
* [colton](https://github.com/syscordan)
18+
* [dastan-ansys](https://github.com/dastan-ansys)
1719
* [David Gorman](https://github.com/david-gorman)
1820
* [Dominik Gresch](https://github.com/greschd)
1921
* [German](https://github.com/germa89)
@@ -23,6 +25,7 @@
2325
* [Jorge Martínez](https://github.com/jorgepiloto)
2426
* [Kathy Pippert](https://github.com/PipKat)
2527
* [Kerry McAdams](https://github.com/klmcadams)
28+
* [kmahajan-cadfem](https://github.com/kmahajan-cadfem)
2629
* [LanceX2214](https://github.com/LanceX2214)
2730
* [Matteo Bini](https://github.com/b-matteo)
2831
* [Maxime Rey](https://github.com/MaxJPRey)
@@ -34,9 +37,6 @@
3437
* [Revathy Venugopal](https://github.com/Revathyvenugopal162)
3538
* [Riccardo Manno](https://github.com/rmanno91)
3639
* [Ryan Ward](https://github.com/RyanJWard)
40+
* [smereu](https://github.com/smereu)
3741
* [Sébastien Morais](https://github.com/SMoraisAnsys)
3842
* [Umut Soysal](https://github.com/umutsoysalansys)
39-
* [colton](https://github.com/syscordan)
40-
* [dastan-ansys](https://github.com/dastan-ansys)
41-
* [kmahajan-cadfem](https://github.com/kmahajan-cadfem)
42-
* [smereu](https://github.com/smereu)

doc/changelog.d/1921.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
grpc driving dimensions stub implementation

doc/changelog.d/1933.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
update CHANGELOG for v0.10.6

doc/changelog.d/1934.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use v4 of pyvista/setup-headless-display-action

0 commit comments

Comments
 (0)