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

flit-core: Implement sdist name normalization (PEP 625) #626

Closed
mgorny opened this issue Feb 9, 2023 · 0 comments · Fixed by #628
Closed

flit-core: Implement sdist name normalization (PEP 625) #626

mgorny opened this issue Feb 9, 2023 · 0 comments · Fixed by #628
Milestone

Comments

@mgorny
Copy link
Contributor

mgorny commented Feb 9, 2023

https://packaging.python.org/en/latest/specifications/source-distribution-format/#source-distribution-file-name
https://peps.python.org/pep-0625/

Basically, the distribution name and version needs to be normalized the same way as for wheels.

mgorny added a commit to mgorny/flit that referenced this issue Feb 27, 2023
Normalize generated source distribution names using the same rules
as wheels, as required by PEP 625 [1].  This aligns flit_core with other
modern PEP 517 backends such as hatchling.

[1] https://peps.python.org/pep-0625/

Fixes pypa#626
@takluyver takluyver added this to the 3.9 milestone May 6, 2023
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 a pull request may close this issue.

2 participants