-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
PEP 819: JSON Package Metadata #4751
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
Conversation
This is the first revision of a PEP to change package metadata to JSON format.
Introduce a ``WHEEL.json`` file as well.
DEKHTIARJonathan
commented
Dec 18, 2025
Let's GO 🚀 !
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@AA-Turner
AA-Turner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly minor suggestions:
One point I don't believe I saw covered is installed package metadata - I imagine the PEP should just call for copying the METADATA.json file if present in the binary distribution.
Thanks,
Adam
peps/pep-0819.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems circular?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, perhaps the first sentence is unclear. METADATA.json is still optional (since older packages may not have it), so if it does exist it should go at the root of the sources. The second sentence would probably be much better written as "Tools MUST NOT assume the METADATA.json file exists in source distributions."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, rewrote this paragraph, hopefully much clearer!
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
emmatyping
commented
Dec 23, 2025
One point I don't believe I saw covered is installed package metadata - I imagine the PEP should just call for copying the METADATA.json file if present in the binary distribution.
Good point!
emmatyping
commented
Dec 30, 2025
I believe I've addressed all review points, but please let me know if there's anything I missed!
Uh oh!
There was an error while loading. Please reload this page.
Basic requirements (all PEP Types)
pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) andPEPheaderAuthororSponsor, and formally confirmed their approvalAuthor,Status(Draft),TypeandCreatedheaders filled out correctlyPEP-Delegate,Topic,RequiresandReplacesheaders completed if appropriate.github/CODEOWNERSfor the PEPStandards Track requirements
(削除) How to Teach This (削除ここまで)(削除)Python-Versionset to valid (pre-beta) future Python version, if relevant (削除ここまで)Discussions-ToandPost-History📚 Documentation preview 📚: https://pep-previews--4751.org.readthedocs.build/pep-0819/