Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many cgmes_v2_4_15 classes are missing when installed with pip. #28

Closed
SystemsPurge opened this issue Mar 25, 2024 · 4 comments
Closed

Comments

@SystemsPurge
Copy link

SystemsPurge commented Mar 25, 2024

Describe the bug

When installing CIMPY using pip, not all the cgmes_v2 classes are present. However using the install script in the repo yields the correct files.

Steps to reproduce

pip install cimpy

Expected behavior

All cgmes_v2 classes are present under the cimpy/cgmes_v2_4_15 folder , in /usr/local/lib/python3.7/site-packages

Screenshots

grafik
grafik

Setup

Using a python:3.7 docker container under WSL on a windows operating system.

@stv0g
Copy link
Contributor

stv0g commented Jun 17, 2024

Hi @SystemsPurge,

which classes are you missing?

I think I can not reproduce this issue on my system:

SteffenVogel@GER-L-06044 MINGW64
$ cd .venv/Lib/site-packages/cimpy/cgmes_v2_4_15/
SteffenVogel@GER-L-06044 /.venv/Lib/site-packages/cimpy/cgmes_v2_4_15 (OUDS-3134-cim-cgmes)
$ ls -l | wc -l
486

Where I have 486 files inside the cgmes_v2_4_15 package.

@SystemsPurge
Copy link
Author

SystemsPurge commented Jun 18, 2024

Hello @stv0g
Well how are you installing it ? i do a simple pip install inside my venv , and i get only 441 classes :
grafik

@stv0g
Copy link
Contributor

stv0g commented Jun 20, 2024

Okay, I've build a new package based on the latest master. This package contains the correct number of classes in cimpy.cgmes_v2_4_15. So this must have been a mistake when releasing the last cimpy package to PyPi.org.

I will release v1.1.0 as soon as #36 and possibly also #31 are completed.

/cc @m-mirz

@stv0g
Copy link
Contributor

stv0g commented Jun 20, 2024

A new version has been tagged: https://pypi.org/project/cimpy/1.1.0/

This version has 485 classes:

$ wget https://files.pythonhosted.org/packages/c0/e9/a98a0bbe7eb08761735f99cebf9efa2044a1c1eb1a1ba06728a701a12ee2/cimpy-1.1.0-py3-none-any.whl
$ unzip cimpy-1.1.0-py3-none-any.whl
$ ls -l cimpy/cgmes_v2_4_15 | wc -l
485

@stv0g stv0g closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants