-
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
Upgrade vendored packaging lib #12300
Commits on May 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 47a8480 - Browse repository at this point
Copy the full SHA 47a8480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 335f01c - Browse repository at this point
Copy the full SHA 335f01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87bda4b - Browse repository at this point
Copy the full SHA 87bda4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b01221 - Browse repository at this point
Copy the full SHA 3b01221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62215ca - Browse repository at this point
Copy the full SHA 62215caView commit details -
Remove now redundant error detection
This specifier syntax check is now done by the packaging library.
Configuration menu - View commit details
-
Copy full SHA for 9dcd269 - Browse repository at this point
Copy the full SHA 9dcd269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d70566 - Browse repository at this point
Copy the full SHA 4d70566View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5463bba - Browse repository at this point
Copy the full SHA 5463bbaView commit details -
Strip Requires-Dist metadata parsed from METADATA files
These can contain a leading \n if the requirement was long and wrapped by email.message.EmailMessage.as_bytes().
Configuration menu - View commit details
-
Copy full SHA for 92cb9c9 - Browse repository at this point
Copy the full SHA 92cb9c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ea0da - Browse repository at this point
Copy the full SHA 04ea0daView commit details -
Explicitly keep track of canonical extra names with
pkg_resources
This ensures that the Distribution only exposes canonical forms of the extras, papering over the lack of PEP 685 support in the vendored version of `pkg_resources`.
Configuration menu - View commit details
-
Copy full SHA for 372c616 - Browse repository at this point
Copy the full SHA 372c616View commit details -
Compare
Requirement
objects rather than requirement stringsThis ensures that the comparision does not fail due to mismatching extra normalisation.
Configuration menu - View commit details
-
Copy full SHA for e38c2b9 - Browse repository at this point
Copy the full SHA e38c2b9View commit details -
Do not normalise
iter_provided_extras
from pkg_resourcesThis is explicitly checked for in the test suite and it isn't strictly necessary to ensure the correct behaviour. This does expose that the test mock objects are incomplete so those get a missing `extra` attribute added.
Configuration menu - View commit details
-
Copy full SHA for 908e913 - Browse repository at this point
Copy the full SHA 908e913View commit details -
Use extras directly from metadata when using
pkg_resources
Instead of relying on `pkg_resources`'s internal data structure, use the metadata has to be constructed regardless to lookup the information about relevant extras.
Configuration menu - View commit details
-
Copy full SHA for 5cc540b - Browse repository at this point
Copy the full SHA 5cc540bView commit details -
Implement PEP 685 on distribution objects directly
This uses normalised names across the board for extras, with comparisions outside this context relying on `packaging`'s support for the corresponding comparisions.
Configuration menu - View commit details
-
Copy full SHA for 8d22e80 - Browse repository at this point
Copy the full SHA 8d22e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for cec49ea - Browse repository at this point
Copy the full SHA cec49eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b63e279 - Browse repository at this point
Copy the full SHA b63e279View commit details -
Configuration menu - View commit details
-
Copy full SHA for 587854a - Browse repository at this point
Copy the full SHA 587854aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf8b887 - Browse repository at this point
Copy the full SHA bf8b887View commit details -
Configuration menu - View commit details
-
Copy full SHA for c44c6a4 - Browse repository at this point
Copy the full SHA c44c6a4View commit details -
Allow uninstallation of dist with legacy version
We do this by adding a version_str property to BaseDistribution, which allows us to access the version without parsing it.
Configuration menu - View commit details
-
Copy full SHA for 73f6744 - Browse repository at this point
Copy the full SHA 73f6744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0563132 - Browse repository at this point
Copy the full SHA 0563132View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27807fb - Browse repository at this point
Copy the full SHA 27807fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0529c04 - Browse repository at this point
Copy the full SHA 0529c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e52cf - Browse repository at this point
Copy the full SHA 93e52cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a28d13a - Browse repository at this point
Copy the full SHA a28d13aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be652aa - Browse repository at this point
Copy the full SHA be652aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f97eb5 - Browse repository at this point
Copy the full SHA 8f97eb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08ae751 - Browse repository at this point
Copy the full SHA 08ae751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 196d536 - Browse repository at this point
Copy the full SHA 196d536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e77bf - Browse repository at this point
Copy the full SHA 83e77bfView commit details -
Ignore all candidates of a version when one has invalid metadata
We do this to avoid needlessly building a sdist when we have determined that a wheel has invalid metadata.
Configuration menu - View commit details
-
Copy full SHA for b458d3e - Browse repository at this point
Copy the full SHA b458d3eView commit details -
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 350c980 - Browse repository at this point
Copy the full SHA 350c980View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b821c - Browse repository at this point
Copy the full SHA f4b821cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c50290e - Browse repository at this point
Copy the full SHA c50290eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00edcf4 - Browse repository at this point
Copy the full SHA 00edcf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f24fa66 - Browse repository at this point
Copy the full SHA f24fa66View commit details -
Configuration menu - View commit details
-
Copy full SHA for d85efce - Browse repository at this point
Copy the full SHA d85efceView commit details -
Dependencies should be more precise than requirements;
Configuration menu - View commit details
-
Copy full SHA for 4052f6a - Browse repository at this point
Copy the full SHA 4052f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for edc98cd - Browse repository at this point
Copy the full SHA edc98cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bb5085 - Browse repository at this point
Copy the full SHA 4bb5085View commit details -
Configuration menu - View commit details
-
Copy full SHA for c51fb4f - Browse repository at this point
Copy the full SHA c51fb4fView commit details -
Fix test_show_require_invalid_version with pkg_resources backend
The pkg_ressources metadata backend does not suffer from invalid metadata in this test case.
Configuration menu - View commit details
-
Copy full SHA for 84ad55a - Browse repository at this point
Copy the full SHA 84ad55aView commit details