Skip to content

Commit 924d823

Browse files
committed
Merge branch 'main' into release/0.11
2 parents 665c0de + 08aa3df commit 924d823

File tree

76 files changed

+2163
-160
lines changed

Some content is hidden

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

76 files changed

+2163
-160
lines changed

.github/workflows/backwards_compatibility.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,15 @@ jobs:
4242
backend-version: "24.1"
4343
- image-tag: "windows-24.2"
4444
backend-version: "24.2"
45-
# TODO: This has to be reverted once the issue with 25.1 has been solved
46-
# https://github.com/ansys/pyansys-geometry/issues/2167
47-
# - image-tag: "windows-25.1"
48-
# backend-version: "25.1"
45+
- image-tag: "windows-25.1"
46+
backend-version: "25.1"
4947
- image-tag: "core-windows-25.2"
5048
backend-version: "25.2"
5149
steps:
5250
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5351

5452
- name: Set up Python
55-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
53+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5654
with:
5755
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5856

@@ -107,7 +105,7 @@ jobs:
107105
pytest -v --backwards-compatibility=yes --backend-version=${{ matrix.backend-version }} -rf
108106
109107
- name: Upload coverage to Codecov
110-
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
108+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
111109
env:
112110
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
113111
with:

.github/workflows/ci_cd.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
contents: write
4040
pull-requests: write
4141
steps:
42-
- uses: ansys/actions/doc-deploy-changelog@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
42+
- uses: ansys/actions/doc-deploy-changelog@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
4343
with:
4444
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4545
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
@@ -49,7 +49,7 @@ jobs:
4949
name: Vulnerabilities
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: ansys/actions/check-vulnerabilities@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
52+
- uses: ansys/actions/check-vulnerabilities@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
5353
with:
5454
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5555
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- name: Check commit name
65-
uses: ansys/actions/check-pr-title@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
65+
uses: ansys/actions/check-pr-title@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
6666
with:
6767
token: ${{ secrets.GITHUB_TOKEN }}
6868

@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-latest
7272
steps:
7373
- name: PyAnsys documentation style checks
74-
uses: ansys/actions/doc-style@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
74+
uses: ansys/actions/doc-style@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
7575
with:
7676
token: ${{ secrets.GITHUB_TOKEN }}
7777

@@ -90,7 +90,7 @@ jobs:
9090
os: macos-latest
9191
steps:
9292
- name: Build wheelhouse and perform smoke test
93-
uses: ansys/actions/build-wheelhouse@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
93+
uses: ansys/actions/build-wheelhouse@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
9494
with:
9595
library-name: ${{ env.PACKAGE_NAME }}
9696
operating-system: ${{ matrix.os }}
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: ubuntu-latest
103103
steps:
104104
- name: PyAnsys documentation style checks
105-
uses: ansys/actions/docker-style@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
105+
uses: ansys/actions/docker-style@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
106106
with:
107107
directory: docker
108108
recursive: true
@@ -200,7 +200,7 @@ jobs:
200200

201201
- name: Set up Python
202202
if: env.SKIP_UNSTABLE == 'false'
203-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
203+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
204204
with:
205205
python-version: ${{ env.MAIN_PYTHON_VERSION }}
206206

@@ -295,7 +295,7 @@ jobs:
295295
retention-days: 7
296296

297297
- name: Upload coverage to Codecov
298-
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
298+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
299299
if: matrix.docker-image == 'core-windows-latest'
300300
env:
301301
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -346,7 +346,7 @@ jobs:
346346
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 }}
347347
348348
- name: Run Ansys documentation building action
349-
uses: ansys/actions/doc-build@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
349+
uses: ansys/actions/doc-build@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
350350
with:
351351
python-version: ${{ env.MAIN_PYTHON_VERSION }}
352352
add-pdf-html-docs-as-assets: true
@@ -432,7 +432,7 @@ jobs:
432432

433433
- name: Run pytest
434434
if: env.SKIP_UNSTABLE == 'false'
435-
uses: ansys/actions/tests-pytest@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
435+
uses: ansys/actions/tests-pytest@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
436436
env:
437437
ALLOW_PLOTTING: true
438438
with:
@@ -441,7 +441,7 @@ jobs:
441441
randomize: true
442442

443443
- name: Upload coverage to Codecov
444-
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
444+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
445445
if: matrix.docker-image == 'core-linux-latest'
446446
env:
447447
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -499,7 +499,7 @@ jobs:
499499
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
500500

501501
- name: Setup Python ${{ matrix.python-version }}
502-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
502+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
503503
with:
504504
python-version: ${{ matrix.python-version }}
505505

@@ -551,7 +551,7 @@ jobs:
551551
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
552552

553553
- name: Setup Python ${{ matrix.python-version }}
554-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
554+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
555555
with:
556556
python-version: ${{ matrix.python-version }}
557557

@@ -600,7 +600,7 @@ jobs:
600600
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
601601

602602
- name: Setup Python ${{ matrix.python-version }}
603-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
603+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
604604
with:
605605
python-version: ${{ matrix.python-version }}
606606

@@ -640,7 +640,7 @@ jobs:
640640
id-token: write
641641
steps:
642642
- name: Build library source and wheel artifacts
643-
uses: ansys/actions/build-library@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
643+
uses: ansys/actions/build-library@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
644644
with:
645645
library-name: ${{ env.PACKAGE_NAME }}
646646
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -741,7 +741,7 @@ jobs:
741741
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
742742

743743
- name: Set up Python
744-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
744+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
745745
with:
746746
python-version: ${{ env.MAIN_PYTHON_VERSION }}
747747

@@ -835,7 +835,7 @@ jobs:
835835
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
836836

837837
- name: Set up Python
838-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
838+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
839839
with:
840840
python-version: ${{ env.MAIN_PYTHON_VERSION }}
841841

@@ -871,7 +871,7 @@ jobs:
871871
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
872872

873873
- name: Run pytest
874-
uses: ansys/actions/tests-pytest@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
874+
uses: ansys/actions/tests-pytest@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
875875
env:
876876
ALLOW_PLOTTING: true
877877
with:
@@ -912,7 +912,7 @@ jobs:
912912
contents: write
913913
steps:
914914
- name: Release to GitHub
915-
uses: ansys/actions/release-github@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
915+
uses: ansys/actions/release-github@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
916916
with:
917917
token: ${{ secrets.GITHUB_TOKEN }}
918918
library-name: ${{ env.PACKAGE_NAME }}
@@ -938,7 +938,7 @@ jobs:
938938
path: ${{ env.PACKAGE_NAME }}-artifacts
939939

940940
- name: "Upload artifacts to PyPI using trusted publisher"
941-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
941+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
942942
with:
943943
repository-url: "https://upload.pypi.org/legacy/"
944944
print-hash: true
@@ -952,7 +952,7 @@ jobs:
952952
needs: [package]
953953
steps:
954954
- name: Deploy the latest documentation
955-
uses: ansys/actions/doc-deploy-dev@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
955+
uses: ansys/actions/doc-deploy-dev@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
956956
with:
957957
cname: ${{ env.DOCUMENTATION_CNAME }}
958958
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -966,7 +966,7 @@ jobs:
966966
needs: [release, release-pypi]
967967
steps:
968968
- name: Deploy the stable documentation
969-
uses: ansys/actions/doc-deploy-stable@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
969+
uses: ansys/actions/doc-deploy-stable@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
970970
with:
971971
cname: ${{ env.DOCUMENTATION_CNAME }}
972972
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -983,7 +983,7 @@ jobs:
983983
pull-requests: write
984984
steps:
985985
- name: Automerge PRs
986-
uses: ansys/actions/hk-automerge-prs@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
986+
uses: ansys/actions/hk-automerge-prs@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
987987
with:
988988
approver: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
989989
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323

2424
- name: Initialize CodeQL
25-
uses: github/codeql-action/init@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11
25+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
2626
with:
2727
languages: 'python'
2828
config-file: ./.github/codeql-config.yml
2929

3030
- name: Autobuild
31-
uses: github/codeql-action/autobuild@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11
31+
uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
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@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11
41+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
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@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
25+
uses: ansys/actions/hk-package-clean-except@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
2626
with:
2727
package-name: 'geometry'
2828
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
# Label based on modified files
4141
- name: Label based on changed files
42-
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
42+
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
4343
with:
4444
repo-token: ${{ secrets.GITHUB_TOKEN }}
4545
sync-labels: true
@@ -106,7 +106,7 @@ jobs:
106106
pull-requests: write
107107
runs-on: ubuntu-latest
108108
steps:
109-
- uses: ansys/actions/doc-changelog@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
109+
- uses: ansys/actions/doc-changelog@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
110110
with:
111111
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
112112
use-conventional-commits: true

.github/workflows/nightly_docker_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
100100

101101
- name: Set up Python
102-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
102+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
103103
with:
104104
python-version: ${{ env.MAIN_PYTHON_VERSION }}
105105

@@ -221,7 +221,7 @@ jobs:
221221
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
222222

223223
- name: Run pytest
224-
uses: ansys/actions/tests-pytest@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14
224+
uses: ansys/actions/tests-pytest@ed773aba3478d311decff2d4313e0cd19a945dd8 # v10.1.0
225225
env:
226226
ALLOW_PLOTTING: true
227227
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.12.10
10+
rev: v0.13.0
1111
hooks:
1212
- id: ruff-check
1313
- id: ruff-format

doc/changelog.d/2157.test.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adding test for vertex and tests based on spaceclaim tutorials
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Re-enable 25.1 testing

doc/changelog.d/2193.test.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adding test for nurbs sketching

0 commit comments

Comments
 (0)