-
Notifications
You must be signed in to change notification settings - Fork 60
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
BF - metadata version when using editable install #812
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's perfect with me. I did not think of fetching the version directly from that file !
Build Failed 💥 |
Build Failed 💥 |
There is a missing file in |
ok thx @AlexVCaron! @arnaudbore I noticed in I suggest changing the line
|
Build Failed 💥 |
Build Failed 💥 |
ok... I didn't know how to have access to I removed the |
Build passed ! Good Job 🍻 ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTG
importlib.metadata.version
doesn't work for package not installed with pip, i.e. when using a local editable version (python/importlib_metadata#364)The problem is solved by calling
scilpy.version
instead ofmetadata.version
.@arnaudbore @AlexVCaron do you see a problem with this change?