Skip to content

Commit 8b628a2

Browse files
committed
2 parents ecd7567 + 576c44f commit 8b628a2

File tree

162 files changed

+1954
-1532
lines changed

Some content is hidden

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

162 files changed

+1954
-1532
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ updates:
1010
semver-minor-days: 7 # Cooldown for minor version updates
1111
semver-patch-days: 3 # Cooldown for patch updates
1212
exclude:
13-
- "ansys-api-geometry"
13+
- "ansys-api-discovery"
1414
- "ansys-platform-instancemanagement"
1515
- "ansys-sphinx-theme"
16-
- "ansys-tools-path"
16+
- "ansys-tools-common"
1717
- "ansys-tools-visualization-interface"
1818
labels:
1919
- "maintenance"

.github/workflows/backwards_compatibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
.\.venv\Scripts\Activate.ps1
6868
python -m pip install --upgrade pip
6969
pip install --upgrade build wheel
70-
pip install .[tests]
70+
pip install . --group tests
7171
7272
- name: Login to GitHub Container Registry
7373
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
@@ -189,7 +189,7 @@ jobs:
189189
run: |
190190
python -m pip install --upgrade pip
191191
pip install --upgrade build wheel
192-
pip install -e .[tests]
192+
pip install -e . --group tests
193193
194194
- name: Download Geometry service container (if needed)
195195
env:

.github/workflows/ci_cd.yml

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
contents: write
3939
pull-requests: write
4040
steps:
41-
- uses: ansys/actions/doc-deploy-changelog@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
41+
- uses: ansys/actions/doc-deploy-changelog@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
4242
with:
4343
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4444
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
@@ -48,7 +48,7 @@ jobs:
4848
name: Vulnerabilities
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: ansys/actions/check-vulnerabilities@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
51+
- uses: ansys/actions/check-vulnerabilities@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
5252
with:
5353
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5454
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -59,7 +59,7 @@ jobs:
5959
name: Actions Security
6060
runs-on: ubuntu-latest
6161
steps:
62-
- uses: ansys/actions/check-actions-security@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
62+
- uses: ansys/actions/check-actions-security@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
6363
with:
6464
generate-summary: true
6565
token: ${{ secrets.GITHUB_TOKEN }}
@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-latest
7272
steps:
7373
- name: Check commit name
74-
uses: ansys/actions/check-pr-title@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
74+
uses: ansys/actions/check-pr-title@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
7575
with:
7676
token: ${{ secrets.GITHUB_TOKEN }}
7777

@@ -80,7 +80,7 @@ jobs:
8080
runs-on: ubuntu-latest
8181
steps:
8282
- name: PyAnsys documentation style checks
83-
uses: ansys/actions/doc-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
83+
uses: ansys/actions/doc-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
8484
with:
8585
token: ${{ secrets.GITHUB_TOKEN }}
8686

@@ -99,7 +99,7 @@ jobs:
9999
os: macos-latest
100100
steps:
101101
- name: Build wheelhouse and perform smoke test
102-
uses: ansys/actions/build-wheelhouse@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
102+
uses: ansys/actions/build-wheelhouse@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
103103
with:
104104
library-name: ${{ env.PACKAGE_NAME }}
105105
operating-system: ${{ matrix.os }}
@@ -111,7 +111,7 @@ jobs:
111111
runs-on: ubuntu-latest
112112
steps:
113113
- name: PyAnsys documentation style checks
114-
uses: ansys/actions/docker-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
114+
uses: ansys/actions/docker-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
115115
with:
116116
directory: docker
117117
recursive: true
@@ -228,7 +228,7 @@ jobs:
228228
run: |
229229
python -m pip install --upgrade pip
230230
pip install --upgrade build wheel
231-
pip install -e .[tests]
231+
pip install -e . --group tests
232232
233233
- name: Login to GitHub Container Registry
234234
if: env.SKIP_UNSTABLE == 'false'
@@ -278,23 +278,23 @@ jobs:
278278
279279
- name: Upload integration test logs
280280
if: always()
281-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
281+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
282282
with:
283283
name: integration-test-logs-${{ matrix.docker-image }}
284284
path: tests/integration/logs/integration_tests_logs.txt
285285
retention-days: 7
286286

287287
- name: Upload PyVista generated images (cache and results)
288288
if: always()
289-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
289+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
290290
with:
291291
name: pytest-pyvista-images-${{ matrix.docker-image }}
292292
path: tests/integration/image_cache
293293
retention-days: 7
294294

295295
- name: Upload Coverage Results
296296
if: always()
297-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
297+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
298298
with:
299299
include-hidden-files: true
300300
name: coverage-html-${{ matrix.docker-image }}
@@ -342,13 +342,14 @@ jobs:
342342
docker run --detach --name ${GEO_CONT_NAME} -e LICENSE_SERVER=${ANSRV_GEO_LICENSE_SERVER} -p ${ANSRV_GEO_PORT}:50051 ${ANSRV_GEO_IMAGE_DOCS_TAG} ${TRANSPORT_MODE_SELECTION}
343343
344344
- name: Run Ansys documentation building action
345-
uses: ansys/actions/doc-build@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
345+
uses: ansys/actions/doc-build@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
346346
with:
347347
python-version: ${{ env.MAIN_PYTHON_VERSION }}
348348
add-pdf-html-docs-as-assets: true
349349
needs-quarto: true
350350
dependencies: 'pandoc'
351351
sphinxopts: '-j 1 -W --color'
352+
group-dependencies-name: "doc"
352353

353354
- name: Stop the Geometry service
354355
if: always()
@@ -439,13 +440,14 @@ jobs:
439440

440441
- name: Run pytest
441442
if: env.SKIP_UNSTABLE == 'false'
442-
uses: ansys/actions/tests-pytest@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
443+
uses: ansys/actions/tests-pytest@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
443444
env:
444445
ALLOW_PLOTTING: true
445446
with:
446447
python-version: ${{ env.MAIN_PYTHON_VERSION }}
447448
checkout: false
448449
randomize: true
450+
group-dependencies-name: "tests"
449451

450452
- name: Upload coverage to Codecov
451453
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
@@ -457,15 +459,15 @@ jobs:
457459

458460
- name: Upload integration test logs
459461
if: always()
460-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
462+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
461463
with:
462464
name: integration-test-logs-${{ matrix.docker-image }}
463465
path: tests/integration/logs/integration_tests_logs.txt
464466
retention-days: 7
465467

466468
- name: Upload PyVista generated images (cache and results)
467469
if: always()
468-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
470+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
469471
with:
470472
name: pytest-pyvista-images-${{ matrix.docker-image }}
471473
path: tests/integration/image_cache
@@ -515,8 +517,7 @@ jobs:
515517
- name: Install minimum requirements
516518
run: |
517519
python -m pip install --upgrade pip
518-
pip install -e .[all,tests-minimal]
519-
pip install pytest
520+
pip install -e .[all] --group tests-minimal
520521
521522
- name: Start Geometry service and verify start
522523
env:
@@ -568,7 +569,7 @@ jobs:
568569
- name: Install minimum requirements
569570
run: |
570571
python -m pip install --upgrade pip
571-
pip install -e .[tests-minimal]
572+
pip install -e . --group tests-minimal
572573
# Uninstall pytest-pyvista (not needed for these tests)
573574
pip uninstall -y pytest-pyvista
574575
# Installing docker (needed for the tests)
@@ -603,7 +604,7 @@ jobs:
603604
id-token: write
604605
steps:
605606
- name: Build library source and wheel artifacts
606-
uses: ansys/actions/build-library@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
607+
uses: ansys/actions/build-library@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
607608
with:
608609
library-name: ${{ env.PACKAGE_NAME }}
609610
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -661,14 +662,14 @@ jobs:
661662
cp ./$env:PREVIOUS_VERSION/linux-core-binaries.zip linux-core-binaries.zip
662663
663664
- name: Upload Linux Core service binaries as workflow artifacts
664-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
665+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
665666
with:
666667
name: linux-core-binaries.zip
667668
path: linux-core-binaries.zip
668669
retention-days: 1
669670

670671
- name: Upload Windows Core service binaries as workflow artifacts
671-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
672+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
672673
with:
673674
name: windows-core-binaries.zip
674675
path: windows-core-binaries.zip
@@ -717,7 +718,7 @@ jobs:
717718
python-version: ${{ env.MAIN_PYTHON_VERSION }}
718719

719720
- name: Download Windows binaries for ${{ matrix.mode }}
720-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
721+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
721722
with:
722723
name: ${{ matrix.zip-file }}
723724
path: docker/${{ matrix.zip-file }}
@@ -741,7 +742,7 @@ jobs:
741742
python -m venv .venv
742743
.\.venv\Scripts\Activate.ps1
743744
python -m pip install --upgrade pip
744-
pip install -e .[tests]
745+
pip install -e . --group tests
745746
746747
- name: Restore images cache
747748
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
@@ -778,7 +779,7 @@ jobs:
778779
dest: ${{ matrix.docker-file }}
779780

780781
- name: Upload Windows Dockerfile
781-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
782+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
782783
with:
783784
name: ${{ matrix.docker-file }}
784785
path: ${{ matrix.docker-file }}
@@ -829,7 +830,7 @@ jobs:
829830
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
830831

831832
- name: Download Linux binaries
832-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
833+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
833834
with:
834835
name: linux-core-binaries.zip
835836
path: docker/linux-core-binaries.zip
@@ -842,7 +843,7 @@ jobs:
842843
- name: Validate connection using PyAnsys Geometry
843844
run: |
844845
python -m pip install --upgrade pip
845-
pip install -e .[tests]
846+
pip install -e . --group tests
846847
847848
- name: Start Geometry service and verify start
848849
env:
@@ -860,14 +861,15 @@ jobs:
860861
lookup-only: false # zizmor: ignore[cache-poisoning]
861862

862863
- name: Run pytest
863-
uses: ansys/actions/tests-pytest@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
864+
uses: ansys/actions/tests-pytest@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
864865
env:
865866
ALLOW_PLOTTING: true
866867
with:
867868
python-version: ${{ env.MAIN_PYTHON_VERSION }}
868869
pytest-extra-args: "--use-existing-service=yes"
869870
checkout: false
870871
randomize: true
872+
group-dependencies-name: "tests"
871873

872874
- name: "Compressing Linux Dockerfile"
873875
uses: vimtor/action-zip@1379ea20d4c5705669ba81fd626dd01b1c738f26 # v1.2
@@ -876,7 +878,7 @@ jobs:
876878
dest: linux-core-dockerfile.zip
877879

878880
- name: Upload Linux Dockerfile
879-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
881+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
880882
with:
881883
name: linux-core-dockerfile.zip
882884
path: linux-core-dockerfile.zip
@@ -901,7 +903,7 @@ jobs:
901903
contents: write
902904
steps:
903905
- name: Release to GitHub
904-
uses: ansys/actions/release-github@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
906+
uses: ansys/actions/release-github@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
905907
with:
906908
token: ${{ secrets.GITHUB_TOKEN }}
907909
library-name: ${{ env.PACKAGE_NAME }}
@@ -921,7 +923,7 @@ jobs:
921923
contents: write
922924
steps:
923925
- name: "Download the library artifacts from build-library step"
924-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
926+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
925927
with:
926928
name: ${{ env.PACKAGE_NAME }}-artifacts
927929
path: ${{ env.PACKAGE_NAME }}-artifacts
@@ -943,7 +945,7 @@ jobs:
943945
contents: write
944946
steps:
945947
- name: Deploy the latest documentation
946-
uses: ansys/actions/doc-deploy-dev@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
948+
uses: ansys/actions/doc-deploy-dev@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
947949
with:
948950
cname: ${{ env.DOCUMENTATION_CNAME }}
949951
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -959,7 +961,7 @@ jobs:
959961
contents: write
960962
steps:
961963
- name: Deploy the stable documentation
962-
uses: ansys/actions/doc-deploy-stable@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
964+
uses: ansys/actions/doc-deploy-stable@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
963965
with:
964966
cname: ${{ env.DOCUMENTATION_CNAME }}
965967
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -976,7 +978,7 @@ jobs:
976978
pull-requests: write
977979
steps:
978980
- name: Automerge PRs
979-
uses: ansys/actions/hk-automerge-prs@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
981+
uses: ansys/actions/hk-automerge-prs@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
980982
with:
981983
approver: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
982984
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
@@ -26,13 +26,13 @@ jobs:
2626
persist-credentials: false
2727

2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
29+
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3030
with:
3131
languages: 'python'
3232
config-file: ./.github/codeql-config.yml
3333

3434
- name: Autobuild
35-
uses: github/codeql-action/autobuild@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
35+
uses: github/codeql-action/autobuild@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3636

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

4444
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
45+
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
4646
with:
4747
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@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
25+
uses: ansys/actions/hk-package-clean-except@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
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
@@ -111,7 +111,7 @@ jobs:
111111
pull-requests: write
112112
runs-on: ubuntu-latest
113113
steps:
114-
- uses: ansys/actions/doc-changelog@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
114+
- uses: ansys/actions/doc-changelog@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
115115
with:
116116
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
117117
use-conventional-commits: true

0 commit comments

Comments
 (0)