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

Fixes regarding pip packages #57

Merged
merged 33 commits into from
Nov 27, 2024

Conversation

marscher
Copy link
Collaborator

@marscher marscher commented Oct 15, 2024

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

@marscher marscher requested a review from CagtayFabry October 15, 2024 12:41
@marscher marscher changed the title dash to underscore Fixes regarding pip packages Oct 15, 2024
@marscher
Copy link
Collaborator Author

@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

Copy link
Owner

@CagtayFabry CagtayFabry left a 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 🙏

@CagtayFabry CagtayFabry merged commit 513ad84 into CagtayFabry:main Nov 27, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

add tool configuration via pyproject.toml
2 participants