-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fixes regarding pip packages #57
Fixes regarding pip packages #57
Conversation
for more information, see https://pre-commit.ci
…place-dashes-in-names # Conflicts: # pydeps2env/environment.py
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@CagtayFabry the live-action-testing, showing that this works can be seen in action here: https://github.com/BAMWelDX/weldx/actions/runs/11517821846/job/32073255437 |
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.
I reworked this slightly so that pip and conda names can be exported (depending on which export format is chosen)
shuld be ready no, thanks @marscher 🙏
Replace pypi package names with a reverse mapping generated from Parselmouth. The Parcelmouth Python package generates a (redundant) mapping of conda to pypi names. We use that to create a reverse mapping while filtering out names, which are not being changed.
This Pr also changes the following behaviour. When pip requirements (as they are contained in pip format in pyproject.toml) contain an extras definition (e.g. setuptools-scm[toml]) the extras will expanded during environment creation.
Partially fixes #6