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

Normalize the dist-name, as per PEP503, when looking for overrides #848

Merged
merged 2 commits into from
May 19, 2023

Conversation

pelson
Copy link
Contributor

@pelson pelson commented May 17, 2023

Closes #829.

It is worth noting that technically this is a breaking change. I didn't aim for backwards compat, as I figured the behaviour was pretty inconvenient/unfriendly, as per the original issue.

Copy link
Contributor

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, thanks!

let's add a note on this breaking change to the changelog and land it

@pelson pelson force-pushed the fix/normalize_override_env_name branch from a440306 to 28c8d52 Compare May 19, 2023 08:30
@RonnyPfannschmidt RonnyPfannschmidt merged commit 6754be9 into pypa:main May 19, 2023
@RonnyPfannschmidt
Copy link
Contributor

thanks!

@pelson pelson deleted the fix/normalize_override_env_name branch May 19, 2023 15:42
@pelson
Copy link
Contributor Author

pelson commented May 19, 2023

thanks!

Glad we could ship it!

Thanks for the quick response and positive experience! 👍

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.

SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DIST_NAME should escape hyphens
2 participants