packaging
packaging copied to clipboard
Core utilities for Python packages
The order of architectures in the result of tags.mac_platform() does not look at the type of python installation and prefers non-universal wheels over universal wheels. I'd prefer behaviour where tags.mac_platform()...
## Overview On MacOS 11.2 arm64, the list returned by `packaging.tags._platform_tags()` does not contain `macosx_11_2_arm64`. The closest match is `macosx_11_0_arm64`. ## Consequences Because of this issue, pip does not recognize...
When using a dirty hack to build custom platform-specific wheels for Alpine (setting `_PYTHON_HOST_PLATFORM` to "alpine", which `distutils.util.get_platform()` returns untouched), `packaging.tags._linux_platforms()` raises a `ValueError: not enough values to unpack (expected...
when using calver, we took notes of users of setuptools_scm (including myself at certain projects) to use versions like `vYYYY.MM.DD.0` when always normalizing completely, this means that ``` this turns...
Basically bring https://github.com/brettcannon/mousebender/blob/main/mousebender/simple.py here. @d3r3kk and myself would do the work. If people like this idea we can discuss if the API works for people, what the submodule should be...
One of the use case of the packaging library is to support tooling that may run in a different environment than the processed packages are intended for. For instance, I...
It's generally a much better experience around pre-commit and we'll get automated PRs for updates. Thoughts?
Follow up on #253, #265 The aim is to have a workflow where: - Release manager runs a command locally, which creates the release. - Relevant commits + tagging is...
See https://github.com/pypa/pip/issues/8220 for background. Could a function be added that would return a "human readable" form of a `SpecifierSet`?
Context: https://github.com/pypa/pip/issues/8419. When major.minor.patch versions are passed to python_version requirements specification (see https://www.python.org/dev/peps/pep-0508/), pip behavior is not intuitive: ``` docker -- run -it --entrypoint /bin/bash python:3.5-slim-stretch root@bcd3693fbfa1:/# python --version Python...