Skip to content

Commit db91df0

Browse files
committed
Merge F932911 into ability_to_connect_components
2 parents 33aff77 + eab3558 commit db91df0

File tree

661 files changed

+436210
-55157
lines changed

Some content is hidden

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

661 files changed

+436210
-55157
lines changed

.flake8

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
version: 2
2-
enable-beta-ecosystems: true
32
updates:
43
- package-ecosystem: "pip" # See documentation for possible values
54
directory: "/" # Location of package manifests
@@ -31,6 +30,12 @@ updates:
3130
day: "saturday"
3231
time: "06:00"
3332
timezone: "Europe/Paris"
33+
cooldown:
34+
default-days: 7
35+
include:
36+
- "*" # Include all dependencies in cooldown
37+
exclude:
38+
- "ansys/actions"
3439
assignees:
3540
- "pyansys-ci-bot"
3641
labels:

.github/workflows/ci_cd.yml

Lines changed: 236 additions & 27 deletions
Large diffs are not rendered by default.

.github/workflows/label.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777

7878
commenter:
7979
runs-on: ubuntu-latest
80+
permissions:
81+
contents: read
82+
pull-requests: write
8083
steps:
8184
- name: Suggest to add labels
8285
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
@@ -102,7 +105,7 @@ jobs:
102105
pull-requests: write
103106
runs-on: ubuntu-latest
104107
steps:
105-
- uses: ansys/actions/doc-changelog@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9.0.9
108+
- uses: ansys/actions/doc-changelog@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
106109
with:
107110
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
108111
use-conventional-commits: true

.github/workflows/manual_draft.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
.venv\Scripts\Activate.ps1
7171
# Uninstall conflicting dependencies
7272
pip uninstall --yes vtk
73-
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa
73+
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.1
7474
7575
- name: Run tests marked with 'solvers'
7676
env:
@@ -79,7 +79,7 @@ jobs:
7979
.venv\Scripts\Activate.ps1
8080
pytest ${{ env.PYTEST_ARGUMENTS }} -m solvers
8181
82-
- uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
82+
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
8383
with:
8484
name: codecov-system-solvers-tests-windows
8585
files: ./coverage.xml
@@ -130,7 +130,7 @@ jobs:
130130
source .venv/bin/activate
131131
pytest ${{ env.PYTEST_ARGUMENTS }} -m solvers
132132
133-
- uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
133+
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
134134
with:
135135
name: codecov-system-solvers-tests-linux
136136
files: ./coverage.xml
@@ -175,7 +175,7 @@ jobs:
175175
.venv\Scripts\Activate.ps1
176176
# Uninstall conflicting dependencies
177177
pip uninstall --yes vtk
178-
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa
178+
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.1
179179
180180
- name: Run tests marked with 'general'
181181
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
@@ -189,7 +189,7 @@ jobs:
189189
.venv\Scripts\Activate.ps1
190190
pytest ${{ env.PYTEST_ARGUMENTS }} -n 4 --dist loadfile -m general
191191
192-
- uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
192+
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
193193
with:
194194
name: codecov-system-general-tests-windows
195195
files: ./coverage.xml
@@ -239,7 +239,7 @@ jobs:
239239
source .venv/bin/activate
240240
# Uninstall conflicting dependencies
241241
pip uninstall --yes vtk
242-
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa
242+
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.1
243243
244244
- name: Run tests marked with 'general'
245245
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
@@ -252,7 +252,7 @@ jobs:
252252
source .venv/bin/activate
253253
pytest ${{ env.PYTEST_ARGUMENTS }} -n 4 --dist loadfile -m general
254254
255-
- uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
255+
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
256256
with:
257257
name: codecov-system-general-tests
258258
files: ./coverage.xml

.github/workflows/nightly-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Documentation build
24-
uses: ansys/actions/doc-build@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9.0.9
24+
uses: ansys/actions/doc-build@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
2525
with:
2626
dependencies: "graphviz texlive-latex-extra latexmk texlive-xetex texlive-fonts-extra"
2727
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -35,7 +35,7 @@ jobs:
3535
needs: doc-build
3636
steps:
3737
- name: Upload development documentation
38-
uses: ansys/actions/doc-deploy-dev@2cf9a9c43235a000d613c2b13e64c954232a4553 # v9.0.9
38+
uses: ansys/actions/doc-deploy-dev@8d3e4946f36c2a7d447b92e34b1022a5c9dc77a7 # v10.0.12
3939
with:
4040
cname: ${{ env.DOCUMENTATION_CNAME }}
4141
token: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,18 @@ exclude: |
1616
^src/ansys/aedt/core/extensions/installer|
1717
tests/system/general/example_models/|
1818
tests/system/visualization/example_models/|
19+
tests/system/extensions/example_models/|
1920
tests/system/solvers/example_models/
2021
)
2122
2223
repos:
2324

24-
- repo: https://github.com/psf/black
25-
rev: 25.1.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!!
25+
- repo: https://github.com/astral-sh/ruff-pre-commit
26+
rev: v0.12.0
2627
hooks:
27-
- id: black
28-
args:
29-
- --line-length=120
30-
31-
- repo: https://github.com/pycqa/isort
32-
rev: 6.0.1
33-
hooks:
34-
- id: isort
35-
name: isort (python)
36-
args: ['--force-single-line-imports', '--profile', 'black']
37-
38-
- repo: https://github.com/PyCQA/flake8
39-
rev: 7.2.0
40-
hooks:
41-
- id: flake8
42-
args:
43-
- --max-line-length=120
44-
28+
- id: ruff-check
29+
- id: ruff-format
30+
4531
- repo: https://github.com/codespell-project/codespell
4632
rev: v2.4.1
4733
hooks:
@@ -62,7 +48,7 @@ repos:
6248
hooks:
6349
- id: check-github-workflows
6450

65-
- repo: https://github.com/asottile/blacken-docs
51+
- repo: https://github.com/adamchainz/blacken-docs
6652
rev: 1.19.1
6753
hooks:
6854
- id: blacken-docs

CONTRIBUTORS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
* [althaf-ansys](https://github.com/althaf-ansys)
1717
* [Amazir_Moknache](https://github.com/amazirM)
1818
* [amichel0205](https://github.com/amichel0205)
19+
* [Anderson Santos Nunes](https://github.com/nunesanderson)
1920
* [Andrew Finney](https://github.com/ansAFinney)
2021
* [Ansys Korea Automation Group](https://github.com/ANSYS-KOREA)
2122
* [apollo-crum](https://github.com/apollo-crum)
2223
* [Bahram Sanadgol](https://github.com/58Bahram)
2324
* [boyang2022](https://github.com/boyang2022)
2425
* [Bryan Kaylor](https://github.com/bryankaylor)
2526
* [Carlos](https://github.com/camuher)
27+
* [cathaychris](https://github.com/cathaychris)
2628
* [cchan-ansys](https://github.com/cchan-ansys)
2729
* [Chris Mesibov](https://github.com/cmesibov)
2830
* [chrpetre](https://github.com/chrpetre)
@@ -34,8 +36,11 @@
3436
* [DomenicoLoricchio](https://github.com/DomenicoLoricchio)
3537
* [Dr-Hawal-R](https://github.com/Dr-Hawal-R)
3638
* [DulceRiosK](https://github.com/DulceRiosK)
39+
* [Edouard Coussoux](https://github.com/ecoussoux-ansys)
40+
* [Eduardo Blanco](https://github.com/eblanco-ansys)
3741
* [Felipe Castro](https://github.com/felipeescastro)
3842
* [FH-DESIGN](https://github.com/FH-DESIGN)
43+
* [Franklin Wei](https://github.com/built1n)
3944
* [Franz](https://github.com/FranzForstmayr)
4045
* [fwlfHS](https://github.com/fwlfHS)
4146
* [GarrStau](https://github.com/GarrStau)
@@ -56,8 +61,8 @@
5661
* [Jonathan Velasco](https://github.com/jvela018)
5762
* [Jorge Martínez](https://github.com/jorgepiloto)
5863
* [Josh Salant](https://github.com/jsalant22)
59-
* [Karan Bhagat](https://github.com/kbhagat2)
6064
* [Karan Bhagat](https://github.com/kbhagat-ansys)
65+
* [Karan Bhagat](https://github.com/kbhagat2)
6166
* [Kathy Pippert](https://github.com/PipKat)
6267
* [kmahajan-cadfem](https://github.com/kmahajan-cadfem)
6368
* [lollipop](https://github.com/cutelolly)
@@ -99,6 +104,7 @@
99104
* [Sushobhit Gupt](https://github.com/SushobhitGupt)
100105
* [svandenb-dev](https://github.com/svandenb-dev)
101106
* [Sébastien Morais](https://github.com/SMoraisAnsys)
107+
* [Tadahiro Negishi](https://github.com/tadanegishi)
102108
* [Tejas Jeurkar](https://github.com/TejasJe)
103109
* [Tiziana Bertoncelli](https://github.com/tizianrot)
104110
* [Valérie Gelbgras](https://github.com/vgelbgras)

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
[![PyAnsys](https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC)](https://docs.pyansys.com/)
1414
[![pypi](https://img.shields.io/pypi/v/pyaedt.svg?logo=python&logoColor=white)](https://pypi.org/project/pyaedt/)
1515
[![PyPIact](https://static.pepy.tech/badge/pyaedt/month)](https://www.pepy.tech/projects/pyaedt)
16-
[![PythonVersion](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
17-
[![GH-CI](https://github.com/ansys/pyaedt/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/ansys/pyaedt/actions/workflows/unit_tests.yml)
16+
[![PythonVersion](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
17+
[![GH-CI](https://github.com/ansys/pyaedt/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/ansys/pyaedt/actions/workflows/ci_cd.yml)
1818
[![codecov](https://codecov.io/gh/ansys/pyaedt/branch/main/graph/badge.svg)](https://codecov.io/gh/ansys/pyaedt)
19-
[![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/blog/license/mit)[![black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat)](https://github.com/psf/black)[![Anaconda](https://anaconda.org/conda-forge/pyaedt/badges/version.svg)](https://anaconda.org/conda-forge/pyaedt)
20-
21-
19+
[![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/blog/license/mit)
20+
[![black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat)](https://github.com/psf/black)
21+
[![Anaconda](https://anaconda.org/conda-forge/pyaedt/badges/version.svg)](https://anaconda.org/conda-forge/pyaedt)
2222
[![pre-commit](https://results.pre-commit.ci/badge/github/ansys/pyaedt/main.svg)](https://results.pre-commit.ci/latest/github/ansys/pyaedt/main)
23+
[![deep-wiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/ansys/pyaedt)
2324

2425
## What is PyAEDT?
2526

@@ -70,14 +71,20 @@ PyAEDT has different compatibility requirements based on its version. Below is a
7071
- Compatible with Python 3.7 and versions up to Python 3.11.
7172
- AEDT Compatibility:
7273
- All tests were conducted using AEDT 2024 R1.
73-
- PyAEDT Version 0.9.0:
74+
- 0.9.0 <= PyAEDT Version < 0.18.0:
7475
- Python Compatibility:
7576
- Dropped support for python 3.7 and below.
7677
- Compatible with Python 3.8 and versions up to Python 3.12.
7778
- AEDT Compatibility:
7879
- Version 0.9.x has been tested using AEDT 2024 R1.
7980
- From versions 0.10.0 to 0.13.3, all tests have been performed with AEDT 2024 R2.
8081
- Starting from version 0.14.0, all tests are performed with AEDT 2025 R1.
82+
- PyAEDT Version ≥ 0.18.0:
83+
- Python Compatibility:
84+
- Dropped support for Python 3.8 and 3.9.
85+
- Compatible with Python 3.10 and versions up to Python 3.13.
86+
- AEDT Compatibility:
87+
- All tests were conducted using AEDT 2025 R1.
8188

8289

8390
## About PyAnsys

SECURITY.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2222
SOFTWARE.
2323
-->
2424

25-
## Reporting a vulnerability
25+
# Security Policy
26+
27+
## Reporting a vulnerability
2628

2729
> [!CAUTION]
2830
> Do not use GitHub issues to report any security vulnerabilities.
@@ -32,7 +34,7 @@ mentioning the repository and the details of your finding. The team will address
3234

3335
Provide the PyAnsys Core team with this information:
3436

35-
- Any specific configuration settings needed to reproduce the problem
36-
- Step-by-step guidance to reproduce the problem
37-
- The exact location of the problematic source code, including tag, branch, commit, or a direct URL
38-
- The potential consequences of the vulnerability, along with a description of how an attacker could take advantage of the issue
37+
- Any specific configuration settings needed to reproduce the problem
38+
- Step-by-step guidance to reproduce the problem
39+
- The exact location of the problematic source code, including tag, branch, commit, or a direct URL
40+
- The potential consequences of the vulnerability, along with a description of how an attacker could take advantage of the issue

0 commit comments

Comments
 (0)