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

PEP 566: Fix keywords delimiter in JSON conversion #3015

Merged
merged 1 commit into from
Mar 4, 2023

Conversation

di
Copy link
Sponsor Member

@di di commented Feb 14, 2023

This PR updates the spec to better match reality rather than attempting to do the opposite.

Ref: https://packaging.python.org/en/latest/specifications/core-metadata/#keywords
Ref: pypa/packaging#570 (comment)

@di di requested a review from a team as a code owner February 14, 2023 19:45
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

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

To note, this wasn't ported over to the canonical PyPA core metadata spec (which appears to be deliberate, as mentioned there:

Although PEP 566 defined a way to transform metadata into a JSON-compatible dictionary, this is not yet used as a standard interchange format. The need for tools to work with years worth of existing packages makes it difficult to shift to a new format.

So, I guess it doesn't hurt to fix this here (even though it's not totally clear if its still canonical)?

@pradyunsg pradyunsg merged commit dc43462 into python:main Mar 4, 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 this pull request may close these issues.

None yet

3 participants