Skip to content

Commit 3f6e6a8

Browse files
committed
Merge branch 'main' into release/0.4
2 parents cc7ccf6 + 9a7900a commit 3f6e6a8

Some content is hidden

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

46 files changed

+109
-66
lines changed

.github/labels.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@
4242
description: Must be fixed promptly
4343
color: ab8a50
4444

45+
- name: hacktoberfest
46+
description: Hacktoberfest related
47+
color: 62ca50
48+
49+
- name: hacktoberfest-accepted
50+
description: Hacktoberfest accepted contribution
51+
color: 62ca50

.github/workflows/ci_cd.yml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,45 +29,39 @@ jobs:
2929
contents: write
3030
pull-requests: write
3131
steps:
32-
- uses: ansys/actions/doc-deploy-changelog@v6
32+
- uses: ansys/actions/doc-deploy-changelog@v8
3333
with:
3434
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
35+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
36+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
3537

3638
vulnerabilities:
3739
name: Vulnerabilities
3840
runs-on: ubuntu-latest
3941
steps:
4042
- name: PyAnsys Vulnerability check (on main)
4143
if: github.ref == 'refs/heads/main'
42-
uses: ansys/actions/check-vulnerabilities@v6
44+
uses: ansys/actions/check-vulnerabilities@v8
4345
with:
4446
python-version: ${{ env.MAIN_PYTHON_VERSION }}
4547
python-package-name: ${{ env.PACKAGE_NAME }}
4648
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
4749

4850
- name: PyAnsys Vulnerability check (on dev mode)
4951
if: github.ref != 'refs/heads/main'
50-
uses: ansys/actions/check-vulnerabilities@v6
52+
uses: ansys/actions/check-vulnerabilities@v8
5153
with:
5254
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5355
python-package-name: ${{ env.PACKAGE_NAME }}
5456
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
5557
dev-mode: true
5658

57-
branch-name:
58-
if: github.event_name == 'pull_request'
59-
name: Check the name of the branch
60-
runs-on: ubuntu-latest
61-
steps:
62-
- name: Check branch name
63-
uses: ansys/actions/branch-name-style@v6
64-
6559
docs-style:
6660
name: Documentation Style Check
6761
runs-on: ubuntu-latest
6862
steps:
6963
- name: PyAnsys documentation style checks
70-
uses: ansys/actions/doc-style@v6
64+
uses: ansys/actions/doc-style@v8
7165
with:
7266
token: ${{ secrets.GITHUB_TOKEN }}
7367

@@ -80,7 +74,7 @@ jobs:
8074
uses: pyvista/setup-headless-display-action@v2
8175

8276
- name: "Run Ansys documentation building action"
83-
uses: ansys/actions/doc-build@v6
77+
uses: ansys/actions/doc-build@v8
8478
with:
8579
add-pdf-html-docs-as-assets: true
8680

@@ -91,15 +85,15 @@ jobs:
9185
fail-fast: false
9286
matrix:
9387
os: [ubuntu-latest, windows-latest, macos-latest]
94-
python-version: ['3.9', '3.10', '3.11', '3.12']
88+
python-version: ['3.10', '3.11', '3.12']
9589
should-release:
9690
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
9791
exclude:
9892
- should-release: false
9993
os: macos-latest
10094
steps:
10195
- name: Build wheelhouse and perform smoke test
102-
uses: ansys/actions/build-wheelhouse@v6
96+
uses: ansys/actions/build-wheelhouse@v8
10397
with:
10498
library-name: ${{ env.PACKAGE_NAME }}
10599
operating-system: ${{ matrix.os }}
@@ -118,7 +112,7 @@ jobs:
118112
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
119113

120114
- name: "Run pytest"
121-
uses: ansys/actions/tests-pytest@v6
115+
uses: ansys/actions/tests-pytest@v8
122116
with:
123117
python-version: ${{ env.MAIN_PYTHON_VERSION }}
124118
requires-xvfb: true
@@ -142,7 +136,7 @@ jobs:
142136
runs-on: ubuntu-latest
143137
steps:
144138
- name: Build library source and wheel artifacts
145-
uses: ansys/actions/build-library@v6
139+
uses: ansys/actions/build-library@v8
146140
with:
147141
library-name: ${{ env.PACKAGE_NAME }}
148142
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -154,10 +148,12 @@ jobs:
154148
needs: [package]
155149
steps:
156150
- name: Deploy the latest documentation
157-
uses: ansys/actions/doc-deploy-dev@v6
151+
uses: ansys/actions/doc-deploy-dev@v8
158152
with:
159153
cname: ${{ env.DOCUMENTATION_CNAME }}
160-
token: ${{ secrets.GITHUB_TOKEN }}
154+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
155+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
156+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
161157

162158
release:
163159
name: Release project
@@ -170,13 +166,13 @@ jobs:
170166
contents: write
171167
steps:
172168
- name: Release to the public PyPI repository
173-
uses: ansys/actions/release-pypi-public@v6
169+
uses: ansys/actions/release-pypi-public@v8
174170
with:
175171
use-trusted-publisher: true
176172
library-name: ${{ env.PACKAGE_NAME }}
177173

178174
- name: Release to GitHub
179-
uses: ansys/actions/release-github@v6
175+
uses: ansys/actions/release-github@v8
180176
with:
181177
library-name: ${{ env.PACKAGE_NAME }}
182178

@@ -187,7 +183,9 @@ jobs:
187183
needs: [release]
188184
steps:
189185
- name: Deploy the stable documentation
190-
uses: ansys/actions/doc-deploy-stable@v6
186+
uses: ansys/actions/doc-deploy-stable@v8
191187
with:
192188
cname: ${{ env.DOCUMENTATION_CNAME }}
193-
token: ${{ secrets.GITHUB_TOKEN }}
189+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
190+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
191+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

.github/workflows/label.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
pull-requests: write
9393
runs-on: ubuntu-latest
9494
steps:
95-
- uses: ansys/actions/doc-changelog@v6
95+
- uses: ansys/actions/doc-changelog@v8
9696
with:
97-
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
97+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
98+
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
99+
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/adamchainz/blacken-docs
3-
rev: 1.18.0
3+
rev: 1.19.0
44
hooks:
55
- id: blacken-docs
66
additional_dependencies: [black==23.12.1]
@@ -12,15 +12,15 @@ repos:
1212
args: ["--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt"]
1313

1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v4.6.0
15+
rev: v5.0.0
1616
hooks:
1717
- id: check-merge-conflict
1818
- id: debug-statements
1919
- id: check-yaml
2020
- id: trailing-whitespace
2121

2222
- repo: https://github.com/ansys/pre-commit-hooks
23-
rev: v0.3.1
23+
rev: v0.4.3
2424
hooks:
2525
- id: add-license-headers
2626
files: '(src|examples|tests|docker)/.*\.(py)|\.(proto)'
@@ -29,12 +29,12 @@ repos:
2929

3030
# this validates our github workflow files
3131
- repo: https://github.com/python-jsonschema/check-jsonschema
32-
rev: 0.29.1
32+
rev: 0.29.4
3333
hooks:
3434
- id: check-github-workflows
3535

3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: v0.5.5
37+
rev: v0.6.9
3838
hooks:
3939
- id: ruff
4040
args: [--fix]

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# added to this file.
77
#
88
# If you have contributed to the repository and wish to be added to this file
9-
# please submit a request.
9+
# submit a request.
1010
#
1111
#
1212
ANSYS, Inc.

CONTRIBUTORS.md

Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions

doc/changelog.d/122.changed.md

Lines changed: 1 addition & 0 deletions

doc/changelog.d/123.changed.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)