Skip to content

Commit bac0f3b

Browse files
committed
Merge remote-tracking branch 'origin/component-bounding-box' into component-bounding-box
2 parents b36c2c5 + 83dc7cc commit bac0f3b

File tree

150 files changed

+1972
-2044
lines changed

Some content is hidden

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

150 files changed

+1972
-2044
lines changed

.github/workflows/ci_cd.yml

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ jobs:
424424
- name: "Install os packages"
425425
run: |
426426
sudo apt update
427-
sudo apt install libgl1-mesa-glx xvfb -y
427+
sudo apt install libgl1-mesa-glx -y
428428
429429
- name: Create Python venv
430430
run: |
@@ -447,9 +447,9 @@ jobs:
447447
retry_on: error
448448
timeout_minutes: 40
449449
command: |
450-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
450+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
451451
. .venv/bin/activate
452-
xvfb-run pytest tests/system -n auto --dist loadfile -v --cov
452+
pytest tests/system -n auto --dist loadfile -v --cov
453453
454454
- name: "Create coverage files"
455455
run: |
@@ -499,7 +499,7 @@ jobs:
499499
- name: "Install os packages"
500500
run: |
501501
sudo apt update
502-
sudo apt install libgl1-mesa-glx xvfb -y
502+
sudo apt install libgl1-mesa-glx -y
503503
504504
- name: Create Python venv
505505
run: |
@@ -522,9 +522,9 @@ jobs:
522522
retry_on: error
523523
timeout_minutes: 40
524524
command: |
525-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
525+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
526526
. .venv/bin/activate
527-
xvfb-run pytest tests/system -n auto --dist loadfile -v --cov
527+
pytest tests/system -n auto --dist loadfile -v --cov
528528
529529
- name: "Create coverage files"
530530
run: |
@@ -574,7 +574,7 @@ jobs:
574574
- name: "Install os packages"
575575
run: |
576576
sudo apt update
577-
sudo apt install libgl1-mesa-glx xvfb -y
577+
sudo apt install libgl1-mesa-glx -y
578578
579579
- name: Create Python venv
580580
run: |
@@ -597,9 +597,9 @@ jobs:
597597
retry_on: error
598598
timeout_minutes: 40
599599
command: |
600-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
600+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
601601
. .venv/bin/activate
602-
xvfb-run pytest tests/unit -n auto --dist loadfile -v --cov
602+
pytest tests/unit -n auto --dist loadfile -v --cov
603603
604604
- name: "Create coverage files"
605605
run: |
@@ -649,7 +649,7 @@ jobs:
649649
- name: "Install os packages"
650650
run: |
651651
sudo apt update
652-
sudo apt install libgl1-mesa-glx xvfb -y
652+
sudo apt install libgl1-mesa-glx -y
653653
654654
- name: Create Python venv
655655
run: |
@@ -672,9 +672,9 @@ jobs:
672672
retry_on: error
673673
timeout_minutes: 40
674674
command: |
675-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
675+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
676676
. .venv/bin/activate
677-
xvfb-run pytest tests/unit -n auto --dist loadfile -v --cov
677+
pytest tests/unit -n auto --dist loadfile -v --cov
678678
679679
- name: "Create coverage files"
680680
run: |
@@ -713,6 +713,9 @@ jobs:
713713
with:
714714
persist-credentials: false
715715

716+
- name: Set up headless display
717+
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
718+
716719
- name: Setup Python
717720
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
718721
with:
@@ -746,13 +749,6 @@ jobs:
746749
. .venv\Scripts\Activate.ps1
747750
python -m pip install .
748751
749-
- name: Install CI dependencies (e.g. vtk-osmesa)
750-
run: |
751-
.venv\Scripts\Activate.ps1
752-
# Uninstall conflicting dependencies
753-
pip uninstall --yes vtk
754-
pip install --index-url https://wheels.vtk.org vtk-osmesa==9.3.1
755-
756752
- name: Run PyAEDT tests
757753
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
758754
env:
@@ -813,6 +809,9 @@ jobs:
813809
with:
814810
persist-credentials: false
815811

812+
- name: Set up headless display
813+
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
814+
816815
- name: Install OS packages
817816
run: |
818817
sudo apt update
@@ -844,28 +843,18 @@ jobs:
844843
env:
845844
ANSYSEM: ${{ env.ANSYSEM_ROOT252 }}
846845
run: |
847-
export LD_LIBRARY_PATH=${ANSYSEM}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
846+
export LD_LIBRARY_PATH="${ANSYSEM}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
848847
. .venv/bin/activate
849848
pip install --no-cache-dir external/pyaedt[tests]
850849
851850
- name: Install PyEDB
852851
env:
853852
ANSYSEM: ${{ env.ANSYSEM_ROOT252 }}
854853
run: |
855-
export LD_LIBRARY_PATH=${ANSYSEM}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
854+
export LD_LIBRARY_PATH="${ANSYSEM}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
856855
. .venv/bin/activate
857856
python -m pip install .
858857
859-
- name: Install CI dependencies (e.g. vtk-osmesa)
860-
env:
861-
ANSYSEM: ${{ env.ANSYSEM_ROOT252 }}
862-
run: |
863-
export LD_LIBRARY_PATH=${ANSYSEM}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
864-
. .venv/bin/activate
865-
# Uninstall conflicting dependencies
866-
pip uninstall --yes vtk
867-
pip install --index-url https://wheels.vtk.org vtk-osmesa==9.3.1
868-
869858
- name: Run PyAEDT tests
870859
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
871860
env:
@@ -875,7 +864,7 @@ jobs:
875864
retry_on: error
876865
timeout_minutes: 50
877866
command: |
878-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
867+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
879868
. .venv/bin/activate
880869
pytest -v external/pyaedt/tests/system/general/test_01_3dlayout_edb.py
881870
pytest -v external/pyaedt/tests/system/general/test_01_configuration_files.py
@@ -890,7 +879,7 @@ jobs:
890879
retry_on: error
891880
timeout_minutes: 50
892881
command: |
893-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
882+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
894883
. .venv/bin/activate
895884
pytest -v external/pyaedt/tests/system/solvers/test_45_workflows.py
896885
pytest -v external/pyaedt/tests/system/solvers/test_00_analyze.py
@@ -904,7 +893,7 @@ jobs:
904893
retry_on: error
905894
timeout_minutes: 50
906895
command: |
907-
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
896+
export LD_LIBRARY_PATH="${{ env.ANSYSEM_ROOT252 }}/common/mono/Linux64/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
908897
. .venv/bin/activate
909898
pytest -v external/pyaedt/tests/system/extensions/test_cutout.py
910899
pytest -v external/pyaedt/tests/system/extensions/test_configure_layout.py

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ venv.bak/
357357
# sphinx build
358358
doc/_build/
359359
doc/source/examples
360+
doc/source/autoapi
361+
doc/source/workflows/drc/generated
360362
doc/build_errors.txt
361363
_autosummary/
362364

doc/changelog.d/1623.dependencies.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/1624.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/1626.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update CHANGELOG for v0.64.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump dev version into v0.65.dev0

doc/source/archive.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ to avoid confusion and keep the main branch clean.
3838
**You can access the final version of the `dotnet` code here:**
3939

4040
.. toctree::
41-
:maxdepth: 2
41+
:maxdepth: 1
4242

4343
dotnet_api/index
4444

4545
.. warning::
4646

4747
This code is provided **as-is** for reference and migration purposes only. Do not use it for
48-
new projects. If you need to maintain an old script that uses the ``dotnet`` API, your goal should be to migrate it to
49-
the gRPC client.
48+
new projects. If you need to maintain an old script that uses the ``dotnet`` API, your goal should be to migrate it to
49+
the gRPC client.
5050

5151
Migration Guide
5252
---------------

doc/source/changelog.rst

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,83 @@ This document contains the release notes for the project.
99
1010
.. towncrier release notes start
1111
12+
`0.64.0 <https://github.com/ansys/pyedb/releases/tag/v0.64.0>`_ - November 13, 2025
13+
===================================================================================
14+
15+
.. tab-set::
16+
17+
18+
.. tab-item:: Added
19+
20+
.. list-table::
21+
:header-rows: 0
22+
:widths: auto
23+
24+
* - Adding CLI for batch submission
25+
- `#1635 <https://github.com/ansys/pyedb/pull/1635>`_
26+
27+
* - Job manager concurrent job bug
28+
- `#1640 <https://github.com/ansys/pyedb/pull/1640>`_
29+
30+
* - Siwave log parser
31+
- `#1646 <https://github.com/ansys/pyedb/pull/1646>`_
32+
33+
34+
.. tab-item:: Dependencies
35+
36+
.. list-table::
37+
:header-rows: 0
38+
:widths: auto
39+
40+
* - Bump ansys/actions from 10.1.4 to 10.1.5
41+
- `#1623 <https://github.com/ansys/pyedb/pull/1623>`_
42+
43+
* - Update pypandoc requirement from <1.16,>=1.10.0 to >=1.10.0,<1.17
44+
- `#1643 <https://github.com/ansys/pyedb/pull/1643>`_
45+
46+
47+
.. tab-item:: Documentation
48+
49+
.. list-table::
50+
:header-rows: 0
51+
:widths: auto
52+
53+
* - Introduce \`\`sphinx-autoapi\`\` for API documentation
54+
- `#1632 <https://github.com/ansys/pyedb/pull/1632>`_
55+
56+
57+
.. tab-item:: Fixed
58+
59+
.. list-table::
60+
:header-rows: 0
61+
:widths: auto
62+
63+
* - Bux fixed
64+
- `#1626 <https://github.com/ansys/pyedb/pull/1626>`_
65+
66+
* - Create port on component (grpc) bug fixed
67+
- `#1628 <https://github.com/ansys/pyedb/pull/1628>`_
68+
69+
* - Cfg_ports_sources.py
70+
- `#1644 <https://github.com/ansys/pyedb/pull/1644>`_
71+
72+
73+
.. tab-item:: Maintenance
74+
75+
.. list-table::
76+
:header-rows: 0
77+
:widths: auto
78+
79+
* - Update CHANGELOG for v0.63.0
80+
- `#1624 <https://github.com/ansys/pyedb/pull/1624>`_
81+
82+
* - Bump release 0.64.dev0
83+
- `#1634 <https://github.com/ansys/pyedb/pull/1634>`_
84+
85+
* - Leverage new \`\`vtk-osmesa\`\` logic in CI
86+
- `#1651 <https://github.com/ansys/pyedb/pull/1651>`_
87+
88+
1289
`0.63.0 <https://github.com/ansys/pyedb/releases/tag/v0.63.0>`_ - November 03, 2025
1390
===================================================================================
1491

doc/source/conf.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ def visit_desc_content(self, node: Element) -> None:
4747
# <----------------- End of sphinx pdf builder override---------------->
4848

4949
logger = logging.getLogger(__name__)
50-
path = pathlib.Path(__file__).parent.parent.parent / "examples"
51-
EXAMPLES_DIRECTORY = path.resolve()
5250

5351

5452
class PrettyPrintDirective(Directive):
@@ -69,8 +67,6 @@ def run(self):
6967

7068

7169
# Sphinx event hooks
72-
73-
7470
def directory_size(directory_path):
7571
"""Compute the size (in mega bytes) of a directory."""
7672
res = 0
@@ -226,7 +222,6 @@ def setup(app):
226222
else:
227223
config = {"run_examples": True}
228224

229-
230225
# Specify environment variable to build the doc without graphical mode while
231226
# keeping examples graphical mode activated.
232227
os.environ["PYAEDT_NON_GRAPHICAL"] = "1"
@@ -254,6 +249,7 @@ def setup(app):
254249
"nbsphinx",
255250
# parse MD documents with Sphinx
256251
"recommonmark",
252+
"ansys_sphinx_theme.extension.autoapi",
257253
]
258254

259255
# Intersphinx mapping
@@ -310,7 +306,6 @@ def setup(app):
310306

311307
# The language for content autogenerated by Sphinx_PyEDB. Refer to documentation
312308
# for a list of supported languages.
313-
#
314309
# This is also used if you do content translation via gettext catalogs.
315310
# Usually you set "language" from the command line for these cases.
316311
language = "en"
@@ -409,6 +404,13 @@ def setup(app):
409404
"icon": "fa fa-file-pdf fa-fw",
410405
},
411406
],
407+
"ansys_sphinx_theme_autoapi": {
408+
"project": project,
409+
"output": "autoapi",
410+
"directory": "src/pyedb",
411+
"add_toctree_entry": False,
412+
"package_depth": 1,
413+
},
412414
}
413415

414416
html_static_path = ["_static"]

0 commit comments

Comments
 (0)