Skip to content

Add dpsimpyvillas to wheels#374

Draft
stv0g wants to merge 2 commits intosogno-platform:masterfrom
stv0g:add-dpsimpyvillas-to-wheels
Draft

Add dpsimpyvillas to wheels#374
stv0g wants to merge 2 commits intosogno-platform:masterfrom
stv0g:add-dpsimpyvillas-to-wheels

Conversation

@stv0g
Copy link
Copy Markdown
Contributor

@stv0g stv0g commented Apr 3, 2025

Closes #364

@stv0g stv0g self-assigned this Apr 3, 2025
@stv0g stv0g requested a review from m-mirz as a code owner April 3, 2025 11:03
stv0g added 2 commits April 3, 2025 13:33
…illas in case VILLASnode has been found

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
…as into wheels too

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
@stv0g
Copy link
Copy Markdown
Contributor Author

stv0g commented Apr 3, 2025

Local builds of Python wheels now include dpsimpyvillas:

[root@8d4b4661b6f1 src]# python3 setup.py bdist_wheel
...
removing build/bdist.linux-x86_64/wheel
[root@8d4b4661b6f1 src]# python3 -m venv venv
[root@8d4b4661b6f1 src]# . venv/bin/activate
(venv) [root@8d4b4661b6f1 src]# pip install dist/dpsim-1.1.1-cp310-cp310-linux_x86_64.whl
Processing ./dist/dpsim-1.1.1-cp310-cp310-linux_x86_64.whl
Installing collected packages: dpsim
Successfully installed dpsim-1.1.1
WARNING: You are using pip version 21.3.1; however, version 25.0.1 is available.
You should consider upgrading via the '/src/venv/bin/python3 -m pip install --upgrade pip' command.
(venv) [root@8d4b4661b6f1 src]# pip install numpy
Collecting numpy
  Using cached numpy-2.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.4 MB)
Installing collected packages: numpy
Successfully installed numpy-2.2.4
WARNING: You are using pip version 21.3.1; however, version 25.0.1 is available.
You should consider upgrading via the '/src/venv/bin/python3 -m pip install --upgrade pip' command.
(venv) [root@8d4b4661b6f1 src]# python3
Python 3.10.11 (main, Apr  5 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dpsimpyvillas
>>> print(dpsimpyvillas.__dict__)
{'__name__': 'dpsimpyvillas', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.ExtensionFileLoader object at 0x7f71e6f93eb0>, '__spec__': ModuleSpec(name='dpsimpyvillas', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x7f71e6f93eb0>, origin='/src/venv/lib64/python3.10/site-packages/dpsimpyvillas.cpython-310-x86_64-linux-gnu.so'), 'InterfaceVillas': <class 'dpsimpyvillas.InterfaceVillas'>, '__file__': '/src/venv/lib64/python3.10/site-packages/dpsimpyvillas.cpython-310-x86_64-linux-gnu.so'}
>>> help(dpsimpyvillas)

However, CI builds are failing due to VILLASnode containing some to-new symbols:

https://github.com/sogno-platform/dpsim/actions/runs/14241396940/job/39911931924?pr=374

@stv0g stv0g force-pushed the add-dpsimpyvillas-to-wheels branch from 55be81e to fd978cd Compare April 3, 2025 11:35
@stv0g stv0g marked this pull request as draft April 6, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python wheels do not include dpsimpyvillas

2 participants