Skip to content

Commit 508639c

Browse files
committed
Merge branch 'main' into release/2024.2
2 parents aa2f03e + e65f7da commit 508639c

File tree

11 files changed

+45
-46
lines changed

11 files changed

+45
-46
lines changed

.github/workflows/ci-build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: PyAnsys Vulnerability Check (on PRs)
2929
if: github.event_name == 'pull_request'
30-
uses: ansys/actions/check-vulnerabilities@v6
30+
uses: ansys/actions/check-vulnerabilities@v7
3131
with:
3232
python-version: ${{ env.MAIN_PYTHON_VERSION }}
3333
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: PyAnsys Vulnerability Check (any other case)
3838
if: github.event_name != 'pull_request'
39-
uses: ansys/actions/check-vulnerabilities@v6
39+
uses: ansys/actions/check-vulnerabilities@v7
4040
with:
4141
python-version: ${{ env.MAIN_PYTHON_VERSION }}
4242
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: PyAnsys documentation style checks
60-
uses: ansys/actions/doc-style@v6
60+
uses: ansys/actions/doc-style@v7
6161
with:
6262
token: ${{ secrets.GITHUB_TOKEN }}
6363

@@ -127,7 +127,7 @@ jobs:
127127

128128
steps:
129129
- name: Build wheelhouse and perform smoke test
130-
uses: ansys/actions/build-wheelhouse@v6
130+
uses: ansys/actions/build-wheelhouse@v7
131131
with:
132132
library-name: ${{ env.PACKAGE_NAME }}
133133
operating-system: ${{ runner.os }}
@@ -153,7 +153,7 @@ jobs:
153153

154154
steps:
155155
- name: Build documentation
156-
uses: ansys/actions/doc-build@v6
156+
uses: ansys/actions/doc-build@v7
157157
with:
158158
python-version: ${{ env.MAIN_PYTHON_VERSION }}
159159
dependencies: "build-essential zip pandoc texlive-latex-extra latexmk texlive-pstricks"
@@ -165,7 +165,7 @@ jobs:
165165
needs: [package]
166166
steps:
167167
- name: Deploy the latest documentation
168-
uses: ansys/actions/doc-deploy-dev@v6
168+
uses: ansys/actions/doc-deploy-dev@v7
169169
with:
170170
cname: ${{ env.DOCUMENTATION_CNAME }}
171171
token: ${{ secrets.GITHUB_TOKEN }}
@@ -182,7 +182,7 @@ jobs:
182182
needs: [doc-deploy-dev]
183183
steps:
184184
- name: "Deploy the dev documentation index"
185-
uses: ansys/actions/doc-deploy-index@v6
185+
uses: ansys/actions/doc-deploy-index@v7
186186
with:
187187
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
188188
index-name: pyansys-vdev
@@ -195,7 +195,7 @@ jobs:
195195
needs: [docs-build, smoke-tests-core]
196196
steps:
197197
- name: Build library source and wheel artifacts
198-
uses: ansys/actions/build-library@v6
198+
uses: ansys/actions/build-library@v7
199199
with:
200200
library-name: ${{ env.PACKAGE_NAME }}
201201
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -207,14 +207,14 @@ jobs:
207207
runs-on: ubuntu-latest
208208
steps:
209209
- name: Release to PyPI repository
210-
uses: ansys/actions/release-pypi-public@v6
210+
uses: ansys/actions/release-pypi-public@v7
211211
with:
212212
library-name: ${{ env.PACKAGE_NAME }}
213213
twine-username: __token__
214214
twine-token: ${{ secrets.PYPI_TOKEN }}
215215

216216
- name: Release to GitHub
217-
uses: ansys/actions/release-github@v6
217+
uses: ansys/actions/release-github@v7
218218
with:
219219
library-name: ${{ env.PACKAGE_NAME }}
220220
additional-artifacts: 'all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Linux-3.12 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-Windows-3.12 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11 all-deps-macOS-3.12'
@@ -225,7 +225,7 @@ jobs:
225225
needs: [release]
226226
steps:
227227
- name: Deploy the latest release documentation
228-
uses: ansys/actions/doc-deploy-stable@v6
228+
uses: ansys/actions/doc-deploy-stable@v7
229229
with:
230230
cname: ${{ env.DOCUMENTATION_CNAME }}
231231
token: ${{ secrets.GITHUB_TOKEN }}
@@ -258,7 +258,7 @@ jobs:
258258
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
259259
260260
- name: "Deploy the latest documentation index"
261-
uses: ansys/actions/doc-deploy-index@v6
261+
uses: ansys/actions/doc-deploy-index@v7
262262
with:
263263
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
264264
index-name: pyansys-v${{ env.VERSION_MEILI }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22

33
- repo: https://github.com/psf/black
4-
rev: 24.4.2
4+
rev: 24.8.0
55
hooks:
66
- id: black
77

@@ -11,7 +11,7 @@ repos:
1111
- id: isort
1212

1313
- repo: https://github.com/PyCQA/flake8
14-
rev: 7.1.0
14+
rev: 7.1.1
1515
hooks:
1616
- id: flake8
1717

@@ -43,7 +43,7 @@ repos:
4343
- id: check-github-workflows
4444

4545
- repo: https://github.com/ansys/pre-commit-hooks
46-
rev: v0.3.1
46+
rev: v0.4.3
4747
hooks:
4848
- id: add-license-headers
4949
args:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ the ``pyansys`` metapackage is downloading the wheelhouse archive from the
188188
`Releases Page <https://github.com/ansys/pyansys/releases>`_ for your corresponding machine architecture.
189189

190190
Each wheelhouse archive contains all the Python wheels necessary to install the ``pyansys`` metapackage from
191-
scratch on Windows, Linux, and MacOS from Python 3.9 to 3.11. You can install this on an isolated system with
191+
scratch on Windows, Linux, and MacOS from Python 3.9 to 3.12. You can install this on an isolated system with
192192
a fresh Python installation or on a virtual environment.
193193

194194
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with the following

doc/source/api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ PyAnsys packages API reference
173173

174174
.. grid-item-card:: PyOptislang
175175
:img-top: _static/thumbnails/pyoptislang.png
176-
:link: https://optislang.docs.pyansys.com/version/0.7/api/index.html
176+
:link: https://optislang.docs.pyansys.com/version/0.8/api/index.html
177177
:text-align: center
178178
:class-title: pyansys-card-title
179179

@@ -233,7 +233,7 @@ PyAnsys packages API reference
233233

234234
.. grid-item-card:: PyWorkbench
235235
:img-top: _static/thumbnails/intro.png
236-
:link: https://workbench.docs.pyansys.com/version/0.4/api/index.html
236+
:link: https://workbench.docs.pyansys.com/version/0.6/api/index.html
237237
:text-align: center
238238
:class-title: pyansys-card-title
239239

doc/source/conf.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
from datetime import datetime
44
import os
55

6-
from ansys_sphinx_theme import (
7-
ansys_favicon,
8-
convert_version_to_pymeilisearch,
9-
get_version_match,
10-
pyansys_logo_black,
11-
)
6+
from ansys_sphinx_theme import ansys_favicon, convert_version_to_pymeilisearch, get_version_match
127
from sphinx.builders.latex import LaTeXBuilder
138

149
from pyansys import __version__ as pyansys_version
@@ -25,8 +20,6 @@
2520
# get the PyAnsys version
2621
release = version = pyansys_version
2722

28-
# use the default pyansys logo
29-
html_logo = pyansys_logo_black
3023
html_theme = "ansys_sphinx_theme"
3124
html_short_title = html_title = "PyAnsys"
3225

@@ -47,6 +40,7 @@
4740
}
4841

4942
html_theme_options = {
43+
"logo": "pyansys",
5044
"github_url": "https://github.com/ansys/pyansys",
5145
"show_prev_next": False,
5246
"show_breadcrumbs": True,

doc/source/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ PyAnsys packages examples
162162

163163
.. grid-item-card:: PyOptislang
164164
:img-top: _static/thumbnails/pyoptislang.png
165-
:link: https://optislang.docs.pyansys.com/version/0.7/examples/index.html
165+
:link: https://optislang.docs.pyansys.com/version/0.8/examples/index.html
166166
:text-align: center
167167
:class-title: pyansys-card-title
168168

@@ -222,7 +222,7 @@ PyAnsys packages examples
222222

223223
.. grid-item-card:: PyWorkbench
224224
:img-top: _static/thumbnails/intro.png
225-
:link: https://workbench.docs.pyansys.com/version/0.4/examples.html
225+
:link: https://workbench.docs.pyansys.com/version/0.6/examples.html
226226
:text-align: center
227227
:class-title: pyansys-card-title
228228

doc/source/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PyAnsys libraries fall into two categories:
88

99
Most PyAnsys packages require a local installation of Ansys. The version
1010
of Ansys installed dictates the interface and features available to
11-
you. However, PyAnsys libraries use `grpc`_ to communicate to the
11+
you. However, PyAnsys libraries use `gRPC <grpc_>`_ to communicate to the
1212
products, you can have the product installed remotely and connect to that
1313
remote instance. This still requires that you need a copy of Ansys installed on
1414
the host machine.
@@ -79,7 +79,7 @@ corresponding machine architecture.
7979

8080
Each wheelhouse archive contains all the Python wheels necessary to install
8181
``pyansys`` metapackage from scratch on Windows, Linux, and MacOS from Python
82-
3.9 to 3.11. You can install this on an isolated system with a fresh Python
82+
3.9 to 3.12. You can install this on an isolated system with a fresh Python
8383
installation or on a virtual environment.
8484

8585
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install

doc/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ it is now a collection of many Python packages for using Ansys products through
221221

222222
.. grid-item-card:: PyOptislang
223223
:img-top: _static/thumbnails/pyoptislang.png
224-
:link: https://optislang.docs.pyansys.com/version/0.7
224+
:link: https://optislang.docs.pyansys.com/version/0.8
225225
:text-align: center
226226
:class-title: pyansys-card-title
227227

@@ -301,7 +301,7 @@ it is now a collection of many Python packages for using Ansys products through
301301

302302
.. grid-item-card:: PyWorkbench
303303
:img-top: _static/thumbnails/intro.png
304-
:link: https://workbench.docs.pyansys.com/version/0.4
304+
:link: https://workbench.docs.pyansys.com/version/0.6
305305
:text-align: center
306306
:class-title: pyansys-card-title
307307

doc/source/supported_versions.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ differ from the SPEC-0 policy but is always aligned with it.
1717
* Light blue Python versions are currently supported.
1818
* Dark blue Python versions are upcoming Python releases for which support is expected in the future.
1919

20+
Some extra remarks:
21+
22+
* The length of the Python version boxes is indicative of the support duration according to the `SPEC-0`_ policy.
23+
* The color of the Python version boxes is indicative of the PyAnsys metapackage current support.
24+
2025
.. mermaid::
2126
:caption: Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded)
2227
:alt: Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded)
@@ -27,7 +32,7 @@ differ from the SPEC-0 policy but is always aligned with it.
2732
axisFormat %Y-%m
2833
Python 3.7 :done, des1, 2018-06-27, 3y
2934
Python 3.8 :done, des2, 2019-10-14, 3y
30-
Python 3.9 :active, des3, 2020-10-05, 3y
35+
Python 3.9 :done, des3, 2020-10-05, 3y
3136
Python 3.10 :active, des4, 2021-10-04, 3y
3237
Python 3.11 :active, des5, 2022-10-24, 3y
3338
Python 3.12 :active, des6, 2023-10-02, 3y
@@ -46,7 +51,7 @@ Below you can find a list of the Python versions supported by each PyAnsys metap
4651
+-----------------+----------------------------+
4752
| `2024.2`_ | Python 3.9 - Python 3.12 |
4853
+-----------------+----------------------------+
49-
| `development`_ | Python 3.9 - Python 3.12 |
54+
| `development`_ | Python 3.10 - Python 3.12 |
5055
+-----------------+----------------------------+
5156

5257

doc/source/user_guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ PyAnsys packages user guides
165165

166166
.. grid-item-card:: PyOptislang
167167
:img-top: _static/thumbnails/pyoptislang.png
168-
:link: https://optislang.docs.pyansys.com/version/0.7/user_guide/index.html
168+
:link: https://optislang.docs.pyansys.com/version/0.8/user_guide/index.html
169169
:text-align: center
170170
:class-title: pyansys-card-title
171171

@@ -225,7 +225,7 @@ PyAnsys packages user guides
225225

226226
.. grid-item-card:: PyWorkbench
227227
:img-top: _static/thumbnails/intro.png
228-
:link: https://workbench.docs.pyansys.com/version/0.4/user-guide.html
228+
:link: https://workbench.docs.pyansys.com/version/0.6/user-guide.html
229229
:text-align: center
230230
:class-title: pyansys-card-title
231231

0 commit comments

Comments
 (0)