Skip to content

Commit 43446c9

Browse files
Merge branch 'main' into feat/driving-dimensions
2 parents f7b7408 + baf94b4 commit 43446c9

Some content is hidden

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

78 files changed

+1043
-944
lines changed

.github/workflows/ci_cd.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
ANSRV_GEO_PORT: 700
1818
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
1919
GEO_CONT_NAME: ans_geo
20-
RESET_IMAGE_CACHE: 2
20+
RESET_IMAGE_CACHE: 3
2121
IS_WORKFLOW_RUNNING: True
2222
ARTIFACTORY_VERSION: v251
2323
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
@@ -38,7 +38,7 @@ jobs:
3838
contents: write
3939
pull-requests: write
4040
steps:
41-
- uses: ansys/actions/doc-deploy-changelog@v6
41+
- uses: ansys/actions/doc-deploy-changelog@v7
4242
with:
4343
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4444

@@ -48,15 +48,15 @@ jobs:
4848
steps:
4949
- name: PyAnsys Vulnerability check (on main)
5050
if: github.ref == 'refs/heads/main'
51-
uses: ansys/actions/check-vulnerabilities@v6
51+
uses: ansys/actions/check-vulnerabilities@v7
5252
with:
5353
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5454
python-package-name: ${{ env.PACKAGE_NAME }}
5555
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
5656

5757
- name: PyAnsys Vulnerability check (on dev mode)
5858
if: github.ref != 'refs/heads/main'
59-
uses: ansys/actions/check-vulnerabilities@v6
59+
uses: ansys/actions/check-vulnerabilities@v7
6060
with:
6161
python-version: ${{ env.MAIN_PYTHON_VERSION }}
6262
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -70,15 +70,15 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Check branch name
73-
uses: ansys/actions/branch-name-style@v6
73+
uses: ansys/actions/branch-name-style@v7
7474

7575
commit-name:
7676
if: github.event_name == 'pull_request'
7777
name: Check the name of the commit
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Check commit name
81-
uses: ansys/actions/commit-style@v6
81+
uses: ansys/actions/commit-style@v7
8282
with:
8383
token: ${{ secrets.GITHUB_TOKEN }}
8484

@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
steps:
8989
- name: PyAnsys documentation style checks
90-
uses: ansys/actions/doc-style@v6
90+
uses: ansys/actions/doc-style@v7
9191
with:
9292
token: ${{ secrets.GITHUB_TOKEN }}
9393

@@ -98,15 +98,15 @@ jobs:
9898
fail-fast: false
9999
matrix:
100100
os: [ubuntu-latest, windows-latest, macos-latest]
101-
python-version: ['3.9', '3.10', '3.11', '3.12']
101+
python-version: ['3.10', '3.11', '3.12']
102102
should-release:
103103
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
104104
exclude:
105105
- should-release: false
106106
os: macos-latest
107107
steps:
108108
- name: Build wheelhouse and perform smoke test
109-
uses: ansys/actions/build-wheelhouse@v6
109+
uses: ansys/actions/build-wheelhouse@v7
110110
with:
111111
library-name: ${{ env.PACKAGE_NAME }}
112112
operating-system: ${{ matrix.os }}
@@ -117,7 +117,7 @@ jobs:
117117
runs-on: ubuntu-latest
118118
steps:
119119
- name: PyAnsys documentation style checks
120-
uses: ansys/actions/docker-style@v6
120+
uses: ansys/actions/docker-style@v7
121121
with:
122122
directory: docker
123123
recursive: true
@@ -289,7 +289,7 @@ jobs:
289289
run: 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_WINDOWS_TAG }}
290290

291291
- name: Run Ansys documentation building action
292-
uses: ansys/actions/doc-build@v6
292+
uses: ansys/actions/doc-build@v7
293293
with:
294294
python-version: ${{ env.MAIN_PYTHON_VERSION }}
295295
add-pdf-html-docs-as-assets: true
@@ -360,7 +360,7 @@ jobs:
360360

361361
- name: Run pytest
362362
if: env.SKIP_UNSTABLE == 'false'
363-
uses: ansys/actions/tests-pytest@v6
363+
uses: ansys/actions/tests-pytest@v7
364364
env:
365365
ALLOW_PLOTTING: true
366366
with:
@@ -402,7 +402,7 @@ jobs:
402402
strategy:
403403
fail-fast: false
404404
matrix:
405-
python-version: ['3.9', '3.10', '3.11', '3.12']
405+
python-version: ['3.10', '3.11', '3.12']
406406
steps:
407407
- name: Login in Github Container registry
408408
uses: docker/login-action@v3
@@ -447,7 +447,7 @@ jobs:
447447
runs-on: ubuntu-latest
448448
steps:
449449
- name: Build library source and wheel artifacts
450-
uses: ansys/actions/build-library@v6
450+
uses: ansys/actions/build-library@v7
451451
with:
452452
library-name: ${{ env.PACKAGE_NAME }}
453453
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -658,7 +658,7 @@ jobs:
658658
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
659659

660660
- name: Run pytest
661-
uses: ansys/actions/tests-pytest@v6
661+
uses: ansys/actions/tests-pytest@v7
662662
env:
663663
ALLOW_PLOTTING: true
664664
with:
@@ -699,13 +699,13 @@ jobs:
699699
contents: write
700700
steps:
701701
- name: Release to the public PyPI repository
702-
uses: ansys/actions/release-pypi-public@v6
702+
uses: ansys/actions/release-pypi-public@v7
703703
with:
704704
library-name: ${{ env.PACKAGE_NAME }}
705705
use-trusted-publisher: true
706706

707707
- name: Release to GitHub
708-
uses: ansys/actions/release-github@v6
708+
uses: ansys/actions/release-github@v7
709709
with:
710710
library-name: ${{ env.PACKAGE_NAME }}
711711
additional-artifacts: windows-dockerfile.zip linux-dockerfile.zip
@@ -717,7 +717,7 @@ jobs:
717717
needs: [package]
718718
steps:
719719
- name: Deploy the latest documentation
720-
uses: ansys/actions/doc-deploy-dev@v6
720+
uses: ansys/actions/doc-deploy-dev@v7
721721
with:
722722
cname: ${{ env.DOCUMENTATION_CNAME }}
723723
token: ${{ secrets.GITHUB_TOKEN }}
@@ -729,7 +729,7 @@ jobs:
729729
needs: upload_dev_docs
730730
steps:
731731
- name: "Deploy the latest documentation index"
732-
uses: ansys/actions/doc-deploy-index@v6
732+
uses: ansys/actions/doc-deploy-index@v7
733733
with:
734734
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
735735
index-name: pyansys-geometry-vdev
@@ -744,7 +744,7 @@ jobs:
744744
needs: [release]
745745
steps:
746746
- name: Deploy the stable documentation
747-
uses: ansys/actions/doc-deploy-stable@v6
747+
uses: ansys/actions/doc-deploy-stable@v7
748748
with:
749749
cname: ${{ env.DOCUMENTATION_CNAME }}
750750
token: ${{ secrets.GITHUB_TOKEN }}
@@ -770,7 +770,7 @@ jobs:
770770
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
771771
772772
- name: "Deploy the latest documentation index"
773-
uses: ansys/actions/doc-deploy-index@v6
773+
uses: ansys/actions/doc-deploy-index@v7
774774
with:
775775
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
776776
index-name: pyansys-geometry-v${{ env.VERSION_MEILI }}

.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@v6
25+
uses: ansys/actions/hk-package-clean-except@v7
2626
with:
2727
package-name: 'geometry'
2828
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ jobs:
9696
pull-requests: write
9797
runs-on: ubuntu-latest
9898
steps:
99-
- uses: ansys/actions/doc-changelog@v6
99+
- uses: ansys/actions/doc-changelog@v7
100100
with:
101101
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
102+
use-conventional-commits: true
103+
use-default-towncrier-config: true

.github/workflows/nightly_docker_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
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_TAG }}
158158
159159
- name: Run pytest
160-
uses: ansys/actions/tests-pytest@v6
160+
uses: ansys/actions/tests-pytest@v7
161161
env:
162162
ALLOW_PLOTTING: true
163163
with:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
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.5.5
10+
rev: v0.5.7
1111
hooks:
1212
- id: ruff
1313
- id: ruff-format
@@ -27,7 +27,7 @@ repos:
2727
- id: trailing-whitespace
2828

2929
- repo: https://github.com/ansys/pre-commit-hooks
30-
rev: v0.3.1
30+
rev: v0.4.3
3131
hooks:
3232
- id: add-license-headers
3333
args:

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ SOFTWARE.
2828

2929
| Version | Supported |
3030
| ------- | ------------------ |
31-
| <= 0.3 | :x: |
32-
| 0.4.x | :white_check_mark: |
31+
| <= 0.4 | :x: |
3332
| 0.5.x | :white_check_mark: |
3433
| 0.6.x | :white_check_mark: |
34+
| 0.7.x | :white_check_mark: |
3535
| dev | :white_check_mark: |
3636

3737
## Reporting a Vulnerability
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
update CHANGELOG for v0.7.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bump dev branch to v0.8.dev0

doc/make.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if "%SPHINXOPTS%" == "" (
1111
set SPHINXOPTS=-j auto -W --color
1212
)
1313
set SOURCEDIR=source
14-
set APIDIR=api
14+
set APIDIR=source\api
1515
set BUILDDIR=_build
1616

1717
if "%1" == "" goto help
@@ -58,7 +58,7 @@ goto end
5858

5959
:clean
6060
rmdir /s /q %BUILDDIR% > /NUL 2>&1
61-
for /d /r %SOURCEDIR% %%d in (%APIDIR) do @if exist "%%d" rmdir /s /q "%%d"
61+
rmdir /s /q %APIDIR% > /NUL 2>&1
6262
goto end
6363

6464
:help

doc/source/assets.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ If you lack an internet connection on your installation machine, you should inst
1818
by downloading the wheelhouse archive.
1919

2020
Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows,
21-
Linux, and MacOS from Python 3.9 to 3.12. You can install this on an isolated system with a fresh Python
21+
Linux, and MacOS from Python 3.10 to 3.12. You can install this on an isolated system with a fresh Python
2222
installation or on a virtual environment.
2323

24-
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with:
24+
For example, on Linux with Python 3.10, unzip the wheelhouse archive and install it with:
2525

2626
.. code:: bash
2727
28-
unzip ansys-geometry-core-v0.7.dev0-wheelhouse-ubuntu-latest-3.9.zip wheelhouse
28+
unzip ansys-geometry-core-v0.8.dev0-wheelhouse-ubuntu-latest-3.10.zip wheelhouse
2929
pip install ansys-geometry-core -f wheelhouse --no-index --upgrade --ignore-installed
3030
31-
If you are on Windows with Python 3.9, unzip to a wheelhouse directory by running ``-d wheelhouse``
31+
If you are on Windows with Python 3.10, unzip to a wheelhouse directory by running ``-d wheelhouse``
3232
(this is required for unzipping to a directory on Windows) and install using the preceding command.
3333

3434
Consider installing using a `virtual environment <https://docs.python.org/3/library/venv.html>`_.

0 commit comments

Comments
 (0)