Skip to content

Commit e1533e4

Browse files
committed
Merge branch 'main' into release/2023.2
2 parents 46b5b2b + 29a87e8 commit e1533e4

12 files changed

+70
-28
lines changed

.github/workflows/ci-build.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fail-fast: false
4747
matrix:
4848
os: [windows-latest, ubuntu-latest]
49-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
49+
python-version: ['3.8', '3.9', '3.10', '3.11']
5050

5151
steps:
5252
- uses: actions/checkout@v3
@@ -73,7 +73,7 @@ jobs:
7373
fail-fast: false
7474
matrix:
7575
os: [windows-latest, ubuntu-latest]
76-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
76+
python-version: ['3.8', '3.9', '3.10', '3.11']
7777
extras-version: ['fluent-all', 'mapdl-all']
7878

7979
steps:
@@ -101,7 +101,7 @@ jobs:
101101
fail-fast: false
102102
matrix:
103103
os: [windows-latest, ubuntu-latest, macos-latest]
104-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
104+
python-version: ['3.8', '3.9', '3.10', '3.11']
105105

106106
steps:
107107
- name: Build wheelhouse and perform smoke test
@@ -113,6 +113,18 @@ jobs:
113113
python-version: ${{ matrix.python-version }}
114114
target: "all"
115115

116+
- name: List dependencies (pip freeze)
117+
run: |
118+
pip freeze > all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
119+
cat all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
120+
121+
- name: Upload dependencies list
122+
uses: actions/upload-artifact@v3
123+
with:
124+
name: all-deps-${{ runner.os }}-${{ matrix.python-version }}
125+
path: all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
126+
retention-days: 7
127+
116128
docs-build:
117129
name: Building Documentation
118130
runs-on: ubuntu-latest
@@ -160,3 +172,4 @@ jobs:
160172
uses: pyansys/actions/release-github@v4
161173
with:
162174
library-name: ${{ env.PACKAGE_NAME }}
175+
additional-artifacts: 'all-deps-Linux-3.8 all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Windows-3.8 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-macOS-3.8 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11'

.github/workflows/create-milestone.yml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
"pyansys/pymotorcad",
3838
"pyansys/pyansys-math",
3939
"pyansys/pyoptislang",
40+
"pyansys/pymechanical",
4041
]
4142
steps:
4243
- uses: actions/checkout@v3

.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ repos:
3333
hooks:
3434
- id: check-merge-conflict
3535
- id: debug-statements
36+
- id: check-yaml
37+
- id: trailing-whitespace
3638

3739
# this validates our github workflow files
3840
- repo: https://github.com/python-jsonschema/check-jsonschema

README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
4444
- `PyFluent <https://fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent.
4545
- `PyFluent-Parametric <https://parametric.fluent.docs.pyansys.com/>`_: Pythonic interface to Ansys Fluent parametric workflows.
4646
- `PyFluent-Visualization <https://visualization.fluent.docs.pyansys.com/>`_: Pythonic interface to visualize Ansys Fluent simulations.
47-
- `PyMAPDL <https://mapdl.docs.pyansys.com/>`_: Pythonic interface to Ansys MAPDL (Mechanical APLD).
47+
- `PyMAPDL <https://mapdl.docs.pyansys.com/>`_: Pythonic interface to Ansys MAPDL (Mechanical APDL).
4848
- `PyMAPDL Reader <https://reader.docs.pyansys.com/>`_: Pythonic interface to read legacy MAPDL result files (MAPDL 14.5 and later).
4949
- `PyMotorCAD <https://motorcad.docs.pyansys.com/>`_: Pythonic interface to Ansys Motor-CAD.
5050
- `PyOptislang <https://optislang.docs.pyansys.com/>`_: Pythonic interface to Ansys Optislang.
@@ -130,15 +130,15 @@ the ``pyansys`` metapackage is downloading the wheelhouse archive from the
130130
`Releases Page <https://github.com/pyansys/pyansys/releases>`_ for your corresponding machine architecture.
131131

132132
Each wheelhouse archive contains all the Python wheels necessary to install the ``pyansys`` metapackage from
133-
scratch on Windows, Linux, and MacOS from Python 3.7 to 3.10. You can install this on an isolated system with
133+
scratch on Windows, Linux, and MacOS from Python 3.8 to 3.11. You can install this on an isolated system with
134134
a fresh Python installation or on a virtual environment.
135135

136-
For example, on Linux with Python 3.7, unzip the wheelhouse archive and install it with the following
136+
For example, on Linux with Python 3.8, unzip the wheelhouse archive and install it with the following
137137
commands:
138138

139139
.. code:: bash
140140
141-
unzip pyansys-v2023.1.dev0-wheelhouse-Linux-3.7-core.zip wheelhouse
141+
unzip pyansys-v2023.1.dev0-wheelhouse-Linux-3.8-core.zip wheelhouse
142142
pip install pyansys -f wheelhouse --no-index --upgrade --ignore-installed
143143
144144
If you're on Windows with Python 3.9, unzip to a wheelhouse directory and then install using
133 KB
Loading

doc/source/api.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PyAnsys packages API reference
2828

2929
.. grid-item-card:: PyAnsys Math
3030
:img-top: _static/thumbnails/pyansys-math.png
31-
:link: https://math.docs.pyansys.com/version/stable/api_ref/index.html
31+
:link: https://math.docs.pyansys.com/version/stable/api/index.html
3232
:text-align: center
3333
:class-title: pyansys-card-title
3434

@@ -80,6 +80,12 @@ PyAnsys packages API reference
8080
:text-align: center
8181
:class-title: pyansys-card-title
8282

83+
.. grid-item-card:: PyMechanical
84+
:img-top: _static/thumbnails/pymechanical.png
85+
:link: https://mechanical.docs.pyansys.com/version/stable/api/index.html
86+
:text-align: center
87+
:class-title: pyansys-card-title
88+
8389
.. grid-item-card:: PyMotorCAD
8490
:img-top: _static/thumbnails/pymotorcad.png
8591
:link: https://motorcad.docs.pyansys.com/version/stable/methods/index.html

doc/source/examples.rst

+13-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PyAnsys packages examples
1111

1212
.. grid-item-card:: PyAEDT
1313
:img-top: _static/thumbnails/pyaedt.png
14-
:link: https://aedt.docs.pyansys.com/dev/examples/index.html
14+
:link: https://aedt.docs.pyansys.com/version/stable/examples/index.html
1515
:text-align: center
1616
:class-title: pyansys-card-title
1717

@@ -41,25 +41,25 @@ PyAnsys packages examples
4141

4242
.. grid-item-card:: PyFluent
4343
:img-top: _static/thumbnails/pyfluent.png
44-
:link: https://fluent.docs.pyansys.com/examples/index.html
44+
:link: https://fluent.docs.pyansys.com/dev/examples/index.html
4545
:text-align: center
4646
:class-title: pyansys-card-title
4747

4848
.. grid-item-card:: PyFluent-Parametric
4949
:img-top: _static/thumbnails/pyfluent-parametric.png
50-
:link: https://parametric.fluent.docs.pyansys.com/examples/index.html
50+
:link: https://parametric.fluent.docs.pyansys.com/dev/examples/index.html
5151
:text-align: center
5252
:class-title: pyansys-card-title
5353

5454
.. grid-item-card:: PyFluent-Visualization
5555
:img-top: _static/thumbnails/pyfluent-visualization.png
56-
:link: https://visualization.fluent.docs.pyansys.com/examples/index.html
56+
:link: https://visualization.fluent.docs.pyansys.com/dev/examples/index.html
5757
:text-align: center
5858
:class-title: pyansys-card-title
5959

6060
.. grid-item-card:: PyMAPDL
6161
:img-top: _static/thumbnails/pymapdl.png
62-
:link: https://mapdl.docs.pyansys.com/dev/examples/index.html
62+
:link: https://mapdl.docs.pyansys.com/version/stable/examples/index.html
6363
:text-align: center
6464
:class-title: pyansys-card-title
6565

@@ -69,6 +69,12 @@ PyAnsys packages examples
6969
:text-align: center
7070
:class-title: pyansys-card-title
7171

72+
.. grid-item-card:: PyMechanical
73+
:img-top: _static/thumbnails/pymechanical.png
74+
:link: https://mechanical.docs.pyansys.com/version/stable/examples/index.html
75+
:text-align: center
76+
:class-title: pyansys-card-title
77+
7278
.. grid-item-card:: PyMotorCAD
7379
:img-top: _static/thumbnails/pymotorcad.png
7480
:link: https://motorcad.docs.pyansys.com/version/stable/examples/index.html
@@ -101,13 +107,13 @@ PyAnsys packages examples
101107

102108
.. grid-item-card:: PySystemCoupling
103109
:img-top: _static/thumbnails/pysystem-coupling.png
104-
:link: https://systemcoupling.docs.pyansys.com/dev/examples/index.html
110+
:link: https://systemcoupling.docs.pyansys.com/version/stable/examples/index.html
105111
:text-align: center
106112
:class-title: pyansys-card-title
107113

108114
.. grid-item-card:: PyTwin
109115
:img-top: _static/thumbnails/pytwin.png
110-
:link: https://twin.docs.pyansys.com/dev/examples/index.html
116+
:link: https://twin.docs.pyansys.com/version/stable/examples/index.html
111117
:text-align: center
112118
:class-title: pyansys-card-title
113119

doc/source/getting_started.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Before installing ``pyansys`` in user mode, ensure that you have the latest
4747
version of `pip <https://pypi.org/project/pip/>`_ with:
4848

4949
.. code:: bash
50-
50+
5151
python -m pip install -U pip
5252
5353
Then, install ``pyansys`` with:
@@ -80,7 +80,7 @@ architecture.
8080

8181
Each wheelhouse archive contains all the Python wheels necessary to install
8282
``pyansys`` metapackage from scratch on Windows, Linux, and MacOS from Python
83-
3.7 to 3.10. You can install this on an isolated system with a fresh Python
83+
3.8 to 3.11. You can install this on an isolated system with a fresh Python
8484
installation or on a virtual environment.
8585

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

doc/source/index.rst

+11-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ it is now a collection of many Python packages for using Ansys products through
8686
:text-align: center
8787
:class-title: pyansys-card-title
8888

89-
Pythonic interface to Ansys MAPDL (Mechanical APLD)
89+
Pythonic interface to Ansys MAPDL (Mechanical APDL)
9090

9191
.. grid-item-card:: PyMAPDL Reader
9292
:img-top: _static/thumbnails/pymapdl.png
@@ -96,21 +96,29 @@ it is now a collection of many Python packages for using Ansys products through
9696

9797
Pythonic interface to read legacy MAPDL result files (MAPDL 14.5 and later)
9898

99+
.. grid-item-card:: PyMechanical
100+
:img-top: _static/thumbnails/pymechanical.png
101+
:link: https://mechanical.docs.pyansys.com/
102+
:text-align: center
103+
:class-title: pyansys-card-title
104+
105+
Pythonic interface to Ansys Mechanical
106+
99107
.. grid-item-card:: PyMotorCAD
100108
:img-top: _static/thumbnails/pymotorcad.png
101109
:link: https://motorcad.docs.pyansys.com/
102110
:text-align: center
103111
:class-title: pyansys-card-title
104112

105-
Pythonic interface to Ansys Motor-CAD.
113+
Pythonic interface to Ansys Motor-CAD
106114

107115
.. grid-item-card:: PyOptislang
108116
:img-top: _static/thumbnails/pyoptislang.png
109117
:link: https://optislang.docs.pyansys.com/
110118
:text-align: center
111119
:class-title: pyansys-card-title
112120

113-
Pythonic interface to Ansys Optislang.
121+
Pythonic interface to Ansys Optislang
114122

115123
.. grid-item-card:: PyPIM
116124
:img-top: _static/thumbnails/intro.png

doc/source/links.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
.. _What_is_the_Windows_Subsystem_for_Linux: https://docs.microsoft.com/en-us/windows/wsl/about
6262
.. _open_port_windows_10: https://answers.microsoft.com/en-us/windows/forum/all/how-to-open-port-in-windows-10-firewall/f38f67c8-23e8-459d-9552-c1b94cca579a/
6363
.. _disabling_firewall_on_wsl: https://github.com/cascadium/wsl-windows-toolbar-launcher#firewall-rules
64-
.. _article_good_unit_test: https://stackoverflow.com/questions/61400/what-makes-a-good-unit-test
64+
.. _article_good_unit_test: https://stackoverflow.com/questions/61400/what-makes-a-good-unit-test
6565
.. _vscode_attach_to_container: https://code.visualstudio.com/docs/devcontainers/attach-container
6666
.. _ubuntu_firewall: https://ubuntu.com/server/docs/security-firewall
6767

doc/source/user_guide.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PyAnsys packages user guides
2020

2121
.. grid-item-card:: PyAnsys Math
2222
:img-top: _static/thumbnails/pyansys-math.png
23-
:link: https://math.docs.pyansys.com/version/stable/getting_started/index.html
23+
:link: https://math.docs.pyansys.com/version/stable/user_guide/index.html
2424
:text-align: center
2525
:class-title: pyansys-card-title
2626

@@ -72,6 +72,12 @@ PyAnsys packages user guides
7272
:text-align: center
7373
:class-title: pyansys-card-title
7474

75+
.. grid-item-card:: PyMechanical
76+
:img-top: _static/thumbnails/pymechanical.png
77+
:link: https://mechanical.docs.pyansys.com/version/stable/index.html#background
78+
:text-align: center
79+
:class-title: pyansys-card-title
80+
7581
.. grid-item-card:: PyMotorCAD
7682
:img-top: _static/thumbnails/pymotorcad.png
7783
:link: https://motorcad.docs.pyansys.com/version/stable/user_guide/index.html

pyproject.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "pyansys"
88
version = "2023.2rc1"
99
description = "Pythonic interfaces to Ansys products"
1010
readme = "README.rst"
11-
requires-python = ">=3.7,<4"
11+
requires-python = ">=3.8,<4"
1212
license = {file = "LICENSE"}
1313
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
1414
maintainers = [{name = "PyAnsys developers", email = "[email protected]"}]
@@ -18,7 +18,6 @@ classifiers = [
1818
"Topic :: Scientific/Engineering :: Information Analysis",
1919
"License :: OSI Approved :: MIT License",
2020
"Operating System :: OS Independent",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
@@ -33,7 +32,7 @@ dependencies = [
3332
"ansys-dpf-gate==0.3.1",
3433
"ansys-dpf-composites==0.2b2",
3534
"ansys-fluent-core==0.12.5",
36-
"pyaedt==0.6.61",
35+
"pyaedt==0.6.70",
3736
"ansys-platform-instancemanagement==1.0.3",
3837
"ansys-grantami-bomanalytics==1.1.3",
3938
"ansys-openapi-common==1.2.1",
@@ -42,8 +41,9 @@ dependencies = [
4241
"pytwin==0.3.0",
4342
"ansys-systemcoupling-core==0.1.3",
4443
"ansys-motorcad-core==0.1.3",
45-
"ansys-math-core==0.1.0",
44+
"ansys-math-core==0.1.1",
4645
"ansys-optislang-core==0.2.0",
46+
"ansys-mechanical-core==0.7.1",
4747
]
4848

4949
[project.optional-dependencies]
@@ -61,9 +61,9 @@ all = [
6161
]
6262
doc = [
6363
"Sphinx==5.3.0",
64-
"ansys-sphinx-theme==0.9.6",
64+
"ansys-sphinx-theme==0.9.7",
6565
"sphinx-copybutton==0.5.1",
66-
"sphinx-design==0.3.0",
66+
"sphinx-design==0.4.1",
6767
]
6868

6969
[project.urls]

0 commit comments

Comments
 (0)