Skip to content

Unable to run tests/system/solvers/test_26_emit.py with python 3.12 and AEDT 25.2 #6476

@anspraksaph

Description

@anspraksaph

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

Unable to run tests/system/solvers/test_26_emit.py with python 3.12 and AEDT 25.2.
This is a message shows why it skip: "Emit API is only available for Python 3.10-3.12 in AEDT versions 2025.1 and later."

The logic to check python and AEDT version has an issue

Steps To Reproduce

  • Install AEDT 25.2
  • Clone PyAEDT
  • With Python 3.12
  • under tests/system/solvers create local_config.json with this content:
    {
    "desktopVersion": "2025.2",
    "NonGraphical": true,
    "NewThread": true,
    "test_desktops": false,
    "build_machine": false,
    "disable_sat_bounding_box": true,
    "skip_modelithics": false
    }
    Open cmd and run these command to run a test

set PY_VERSION=3.12
set VENV_NAME=venv
set JUNIT_OUTPUT=[Specify path]\test-results.xml <------------define parameter [Specify path]
py -%PY_VERSION% -m venv %VENV_NAME%
call %VENV_NAME%\Scripts\activate
python -m pip install pip -U
python -m pip install wheel setuptools -U
python -m pip install [PyAEDT path].[tests] <------------define parameter [PyAEDT path]
pytest --junitxml=%JUNIT_OUTPUT% [PyAEDT path]\tests\system\solvers\test_26_emit.py <------------define parameter [PyAEDT path]

Which Operating System are you using?

Windows

Which Python version are you using?

3.12

Installed packages

aiohappyeyeballs==2.6.1
aiohttp==3.12.15
aiosignal==1.4.0
annotated-types==0.7.0
ansys-api-edb==0.2.0
ansys-edb-core==0.2.0
ansys-pythonnet==3.1.0rc6
ansys-tools-visualization-interface==0.11.0
asgiref==3.9.1
attrs==25.3.0
blosc2==3.6.1
certifi==2025.7.14
cffi==1.17.1
charset-normalizer==3.4.2
clr_loader==0.2.7.post0
colorama==0.4.6
contourpy==1.3.3
coverage==7.10.1
cycler==0.12.1
defusedxml==0.7.1
Django==5.2.4
et_xmlfile==2.0.0
execnet==2.1.1
fonttools==4.59.0
fpdf2==2.8.3
frozenlist==1.7.0
geopandas==1.1.1
grpcio==1.73.1
idna==3.10
imageio==2.37.0
importlib_resources==6.5.2
iniconfig==2.1.0
jsonschema==4.25.0
jsonschema-specifications==2025.4.1
kiwisolver==1.4.8
markdown-it-py==3.0.0
matplotlib==3.10.3
mdurl==0.1.2
meshio==5.3.5
mock==5.2.0
more-itertools==10.7.0
msgpack==1.1.1
multidict==6.6.3
ndindex==1.10.0
networkx==3.5
numexpr==2.11.0
numpy==2.2.6
openpyxl==3.1.5
osmnx==2.0.5
packaging==25.0
pandas==2.3.1
pillow==11.3.0
platformdirs==4.3.8
pluggy==1.6.0
plumbum==1.9.0
pooch==1.8.2
propcache==0.3.2
protobuf==4.25.8
psutil==7.0.0
py-cpuinfo==9.0.0
pyaedt @ file:///C:/pyaedt
pycparser==2.22
pydantic==2.11.7
pydantic_core==2.33.2
pyedb==0.54.0
Pygments==2.19.2
pyogrio==0.11.0
pyparsing==3.2.3
pyproj==3.7.1
pytest==8.4.1
pytest-azurepipelines==1.0.5
pytest-cov==6.2.1
pytest-nunit==1.0.7
pytest-timeout==2.4.0
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
pytz==2025.2
pyvista==0.45.3
pywin32==311
PyYAML==6.0.2
referencing==0.36.2
requests==2.32.4
rich==14.1.0
rpds-py==0.26.0
rpyc==6.0.2
rtree==1.4.0
scikit-rf==1.8.0
scipy==1.16.1
scooby==0.10.1
setuptools==80.9.0
shapely==2.1.1
six==1.17.0
sqlparse==0.5.3
tables==3.10.2
toml==0.10.2
tomli_w==1.2.0
trame==3.11.0
trame-client==3.9.1
trame-common==1.0.1
trame-server==3.5.0
trame-vtk==2.9.1
trame-vuetify==3.0.1
typing-inspection==0.4.1
typing_extensions==4.14.1
tzdata==2025.2
urllib3==2.5.0
vtk==9.4.2
websockets==15.0.1
wheel==0.45.1
wslink==2.3.4
yarl==1.20.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions