packaging
packaging copied to clipboard
Core utilities for Python packages
Hi there :smile: Inside the `Requirement` class, the url part of the requirement is added to the string repr without redacting any possible sensitive data. https://github.com/pypa/packaging/blob/745bb0a763517a21422e74e936a24b043e8dc225/packaging/requirements.py#L136 In pip, there is...
x-ref https://discuss.python.org/t/place-for-a-direct-url-json-parser/26266 Corresponding code in pip: https://github.com/pypa/pip/blob/23.1.2/src/pip/_internal/models/direct_url.py
On a 64-bit Raspberry Pi, `sysconfig.get_platform()` returns `linux_armv8l` instead of `linux_aarch64` while `sys.maxsize` is over 32-bit range ```bash root@raspberrypi:~# linux32 python3 -c 'import sysconfig; print(sysconfig.get_platform())' linux-armv8l root@raspberrypi:~# linux32 python3 -m...
> If packaging doesn't normalise dependency names when stringifying dependencies, why does it normalise their extras? _Originally posted by @layday in https://github.com/pypa/build/issues/550#issuecomment-1345189462_ Build's test suite is broken because packaging 22...
Sorry if this should be a new issue. I have a problem where the version of Python itself is causing an Invalid Version error. I install Python from the tip...
I've sometimes had occasion to want to modify a version, for instance, to add or remove a local or dev version component. It would be nice to have a `replace`...
https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build Since Python 3.8, the ABI of debug and release builds of CPython have the same ABI. This implies that we shouldn't be generating the `d` tags for those builds,...
This would make it easier for users to spot when a function is added to the API (eg: I had to spend an extra bit of effort and find the...