Support Metadata 2.5 (PEP 794)#2179
Merged
Merged
Conversation
48aa0e8 to
da775dd
Compare
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
da775dd to
3c99161
Compare
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
…lict Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
… conflict Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
2 tasks
2 tasks
cjames23
approved these changes
May 8, 2026
github-actions Bot
pushed a commit
to sysfce2/python-hatchling
that referenced
this pull request
May 10, 2026
* Support Metadata 2.5 (PEP 794) Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> * Empty Import-Name Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> * chore: Handle core metadata `Import-Name` and `Import-Namespace` conflict Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> * chore: Handle project metadata `import-names` and `import-namespaces` conflict Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> * Format code Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> * Make mypy happy Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> --------- Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> Co-authored-by: Cary Hawkins <hawkinscary23@gmail.com> cd91ac4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds support for PEP 794, which bumps core metadata to version 2.5 and introduces fields
Import-NameandImport-Namespaces.str.isidentifier(), after splitting each name into its submodules, if any_are marked as private with the; privatemodifierTODOs
Empty
Import-NameUPDATE: b82f8ac
Handle ambiguity
UPDATE: ba5812d, cabee35
Add a default
Import-NameLinks
Import-Name,Import-Namespace) pypi/warehouse#19083packaging.pylockpackaging#950