-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Migrate pip show
's Requires
field to Requires-Dist
#7989
Comments
Note my remark was more in the context of json exports than the current pip show output. |
Sorry I misinterpreted your comment. I think the "default/legacy" output & "json" one should share the same headers to ease switching from one to the other, meaning that if we want to use |
Also do we want to harmonize json output across commands? pip list has a json option with lowercase keys, for instance. |
Lower-casing sounds like a good idea. Metadata keys are case insensitive (RFC 5322), so it makes sense to me that the JSON equivalent has a clear case canonicalisation rule. |
Lower-case is also fine for me in json output. But if we put |
Linking to #8008 for the discussion on the json format. |
Prefer
Requires-Dist
toRequires
to match PEP-0354 metadata.This would require a transition period to not break user expectation: we might want to expose the same information in both Requires & Requires-Dist for a few pip version.
Originally posted by @sbidoul in #7967
The text was updated successfully, but these errors were encountered: