packaging
packaging copied to clipboard
Core utilities for Python packages
I designed packaging tags to come in order of "most specific to this machine" to "least specific to this machine". Unfortunately pip has interpreted this as meaning "most specified", putting...
## Context This was initially filed to pip side for 24.1 and PEP440, and they mentioned it may be a packaging issue: - https://github.com/pypa/pip/issues/12792 According to this issue it may...
We are changing our wheel platform tag to pyodide_2024_0 so we need to teach packaging to map Emscripten platform to this. cc @henryiii
When a using a `Specifier` with a `>` comparison, comparing returns an incorrect result for the following situation: - the base version of the specifier and compared version are equal...
- Add the missing optional parameter `strip_trailing_zero` to the `canonicalize_version` doc. - Fix a typo.
PEP 508 says that a `version_many` looks like `version_one (wsp* ',' version_one)*` and the documentation comment in `_parse_version_many` says that a `version_many` looks like `(SPECIFIER (WS? COMMA WS? SPECIFIER)*)?` (essentially...
In response to [this comment](https://discuss.python.org/t/pep-639-round-3-improving-license-clarity-with-better-package-metadata/53020/5) by a maintainer expressing approval for license parsing functionality, this PR introduces an invoke task to update an enumeration encoded as a Python structure. This...
[PEP 730](https://peps.python.org/pep-0730/) adds support for iOS as a supported platform. This PR adds support for determining the platform tags compatible with the current iOS installation. iOS version support is similar...
https://learn.scientific-python.org/development/guides/repo-review/?repo=pypa%2Fpackaging&branch=main
https://docs.astral.sh/ruff/rules/any-eq-ne-annotation/