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

fix: tox does not install extras if they have underscores in their name #1138

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

JulienGrv
Copy link
Contributor

@JulienGrv JulienGrv commented Jan 26, 2025

Switching to using hyphens instead of underscores fixes the issue. Underscores are replaced with hyphens anyway when packaging asammdf because the standard from pypa does not accept underscore: https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata-provides-extra

For pip install, it will still continue to work for users using underscores because pip replaces the underscores with hyphens automatically.

Ready for merge

@JulienGrv JulienGrv changed the title fix: optional-dependencies names do not accept underscores, it was fo… fix: optional-dependencies with underscores causes are not installed with tox Jan 26, 2025
@JulienGrv JulienGrv force-pushed the bugfix/wrong-nameing-for-optional-dependencies branch from cc08c9d to e13ebcd Compare January 26, 2025 23:03
@JulienGrv JulienGrv changed the title fix: optional-dependencies with underscores causes are not installed with tox fix: tox does not install extras with underscores in their name Jan 26, 2025
@JulienGrv JulienGrv changed the title fix: tox does not install extras with underscores in their name fix: tox does not install extras if they have underscores in their name Jan 26, 2025
@JulienGrv JulienGrv force-pushed the bugfix/wrong-nameing-for-optional-dependencies branch from e13ebcd to ce15ed6 Compare January 30, 2025 23:33
@JulienGrv JulienGrv marked this pull request as ready for review January 30, 2025 23:57
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.

1 participant