Skip to content

Commit 1e94738

Browse files
committed
Merge branch 'main' into release/0.10
2 parents ec25334 + b438c81 commit 1e94738

39 files changed

+641
-233
lines changed

.github/workflows/ci_cd.yml

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

1111
env:
12-
MAIN_PYTHON_VERSION: '3.12'
12+
MAIN_PYTHON_VERSION: '3.13'
1313
PACKAGE_NAME: 'ansys-geometry-core'
1414
DOCUMENTATION_CNAME: 'geometry.docs.pyansys.com'
1515
ANSRV_GEO_IMAGE: 'ghcr.io/ansys/geometry'
@@ -35,7 +35,7 @@ jobs:
3535
contents: write
3636
pull-requests: write
3737
steps:
38-
- uses: ansys/actions/doc-deploy-changelog@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
38+
- uses: ansys/actions/doc-deploy-changelog@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
48+
- uses: ansys/actions/check-vulnerabilities@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
61+
uses: ansys/actions/check-pr-title@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
70+
uses: ansys/actions/doc-style@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
89+
uses: ansys/actions/build-wheelhouse@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
101+
uses: ansys/actions/docker-style@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
102102
with:
103103
directory: docker
104104
recursive: true
@@ -203,9 +203,12 @@ jobs:
203203

204204
- name: Set up headless display
205205
if: env.SKIP_UNSTABLE == 'false'
206-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
206+
uses: RobPasMue/setup-headless-display-action@offscreen-mesa3d
207207
with:
208208
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' }}
209212

210213
- name: Create Python venv
211214
if: env.SKIP_UNSTABLE == 'false'
@@ -342,7 +345,7 @@ jobs:
342345
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 }}
343346
344347
- name: Run Ansys documentation building action
345-
uses: ansys/actions/doc-build@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
348+
uses: ansys/actions/doc-build@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
346349
with:
347350
python-version: ${{ env.MAIN_PYTHON_VERSION }}
348351
add-pdf-html-docs-as-assets: true
@@ -401,6 +404,12 @@ jobs:
401404
echo "SKIP_UNSTABLE=$Result" >> $GITHUB_ENV
402405
echo "SKIP_UNSTABLE will be: $Result"
403406
407+
- name: Set up headless display
408+
if: env.SKIP_UNSTABLE == 'false'
409+
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
410+
with:
411+
pyvista: false
412+
404413
- name: Login in Github Container registry
405414
if: env.SKIP_UNSTABLE == 'false'
406415
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -429,7 +438,7 @@ jobs:
429438

430439
- name: Run pytest
431440
if: env.SKIP_UNSTABLE == 'false'
432-
uses: ansys/actions/tests-pytest@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
441+
uses: ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
433442
env:
434443
ALLOW_PLOTTING: true
435444
with:
@@ -474,6 +483,11 @@ jobs:
474483
matrix:
475484
python-version: ['3.10', '3.11', '3.12', '3.13']
476485
steps:
486+
- name: Set up headless display
487+
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
488+
with:
489+
pyvista: false
490+
477491
- name: Login in Github Container registry
478492
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
479493
with:
@@ -574,7 +588,7 @@ jobs:
574588
id-token: write
575589
steps:
576590
- name: Build library source and wheel artifacts
577-
uses: ansys/actions/build-library@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
591+
uses: ansys/actions/build-library@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
578592
with:
579593
library-name: ${{ env.PACKAGE_NAME }}
580594
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -671,6 +685,14 @@ jobs:
671685
- name: Checkout repository
672686
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
673687

688+
- 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' }}
695+
674696
- name: Set up Python
675697
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
676698
with:
@@ -769,6 +791,11 @@ jobs:
769791
with:
770792
python-version: ${{ env.MAIN_PYTHON_VERSION }}
771793

794+
- name: Set up headless display
795+
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
796+
with:
797+
pyvista: false
798+
772799
- name: Download Linux binaries
773800
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
774801
with:
@@ -798,14 +825,13 @@ jobs:
798825
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
799826

800827
- name: Run pytest
801-
uses: ansys/actions/tests-pytest@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
828+
uses: ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
802829
env:
803830
ALLOW_PLOTTING: true
804831
with:
805832
python-version: ${{ env.MAIN_PYTHON_VERSION }}
806833
pytest-extra-args: "--use-existing-service=yes"
807834
checkout: false
808-
requires-xvfb: true
809835
randomize: true
810836

811837
- name: "Compressing Linux Dockerfile"
@@ -840,7 +866,7 @@ jobs:
840866
contents: write
841867
steps:
842868
- name: Release to GitHub
843-
uses: ansys/actions/release-github@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
869+
uses: ansys/actions/release-github@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
844870
with:
845871
token: ${{ secrets.GITHUB_TOKEN }}
846872
library-name: ${{ env.PACKAGE_NAME }}
@@ -880,7 +906,7 @@ jobs:
880906
needs: [package]
881907
steps:
882908
- name: Deploy the latest documentation
883-
uses: ansys/actions/doc-deploy-dev@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
909+
uses: ansys/actions/doc-deploy-dev@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
884910
with:
885911
cname: ${{ env.DOCUMENTATION_CNAME }}
886912
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -894,7 +920,7 @@ jobs:
894920
needs: [release, release-pypi]
895921
steps:
896922
- name: Deploy the stable documentation
897-
uses: ansys/actions/doc-deploy-stable@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
923+
uses: ansys/actions/doc-deploy-stable@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
898924
with:
899925
cname: ${{ env.DOCUMENTATION_CNAME }}
900926
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -911,7 +937,7 @@ jobs:
911937
pull-requests: write
912938
steps:
913939
- name: Automerge PRs
914-
uses: ansys/actions/hk-automerge-prs@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
940+
uses: ansys/actions/hk-automerge-prs@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
915941
with:
916942
approver: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
917943
approver-token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}

.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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
25+
uses: ansys/actions/hk-package-clean-except@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
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@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
103+
- uses: ansys/actions/doc-changelog@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
104104
with:
105105
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
106106
use-conventional-commits: true

.github/workflows/nightly_docker_test.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
- v*
2222

2323
env:
24-
MAIN_PYTHON_VERSION: '3.12'
24+
MAIN_PYTHON_VERSION: '3.13'
2525
ANSRV_GEO_IMAGE_WINDOWS_CORE_TAG: ghcr.io/ansys/geometry:core-windows-latest-unstable
2626
ANSRV_GEO_IMAGE_LINUX_CORE_TAG: ghcr.io/ansys/geometry:core-linux-latest-unstable
2727
ANSRV_GEO_PORT: 710
@@ -100,9 +100,12 @@ jobs:
100100
python-version: ${{ env.MAIN_PYTHON_VERSION }}
101101

102102
- name: Set up headless display
103-
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
103+
uses: RobPasMue/setup-headless-display-action@offscreen-mesa3d
104104
with:
105105
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' }}
106109

107110
- name: Create Python venv
108111
run: |
@@ -164,7 +167,7 @@ jobs:
164167
run: docker image prune -f
165168

166169
- name: Microsoft Teams Notification
167-
uses: skitionek/notify-microsoft-teams@755c127ef3757945e5e97508914103d76ef7a925 # v1.0.9
170+
uses: skitionek/notify-microsoft-teams@11e40c38c3a629ae65a985b582eca4897b01e79e # v1.0.9
168171
if: failure()
169172
with:
170173
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
@@ -214,13 +217,17 @@ jobs:
214217
docker pull ${{ env.ANSRV_GEO_IMAGE_LINUX_CORE_TAG }}
215218
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 }}
216219
220+
- name: Set up headless display
221+
uses: pyvista/setup-headless-display-action@52bda06d59c0fc422fc2512c9c670bf6b66616f8 # v3.2
222+
with:
223+
pyvista: false
224+
217225
- name: Run pytest
218-
uses: ansys/actions/tests-pytest@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
226+
uses: ansys/actions/tests-pytest@1f1f205361706d22f67c71c29b775222380cd95a # v9.0.6
219227
env:
220228
ALLOW_PLOTTING: true
221229
with:
222230
python-version: ${{ env.MAIN_PYTHON_VERSION }}
223-
requires-xvfb: true
224231

225232
- name: Stop the Geometry service
226233
if: always()
@@ -230,7 +237,7 @@ jobs:
230237
docker rm ${{ env.GEO_CONT_NAME }}
231238
232239
- name: Microsoft Teams Notification
233-
uses: skitionek/notify-microsoft-teams@755c127ef3757945e5e97508914103d76ef7a925 # v1.0.9
240+
uses: skitionek/notify-microsoft-teams@11e40c38c3a629ae65a985b582eca4897b01e79e # v1.0.9
234241
if: failure()
235242
with:
236243
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}

.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.5
10+
rev: v0.11.6
1111
hooks:
1212
- id: ruff
1313
- id: ruff-format

doc/changelog.d/1914.added.md

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

doc/changelog.d/1919.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.5

doc/changelog.d/1920.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump skitionek/notify-microsoft-teams to v1.0.9 in the actions group

doc/changelog.d/1923.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump ansys/actions from 9.0.2 to 9.0.3 in the actions group

doc/changelog.d/1924.dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump PyVista and VTK versions (support Python 3.13)

0 commit comments

Comments
 (0)