packaging
packaging copied to clipboard
Core utilities for Python packages
As discussed on IRC, I propose adding a requirement validator to `packaging`. There's is a real need for it, I need it for at least some of my projects. The...
xref pypa/wheel#367 It would be good to have one source of truth for the canonical tags from the host python, and who better to provide it than `packaging.tags`. This would...
I'm looking at adding a new module, `packaging.pep503` that will add utilities for parsing [PEP 503](https://www.python.org/dev/peps/pep-0503/) compliant repositories. My biggest concern with doing this is that it requires a HTML5...
Hi, is it possible to check whether a `SpecifierSet` is "satisfiable" by any version? Example: The specifier set `"=1.0"` is clearly not satisfiable by any version number. ```python from packaging.specifiers...
> macOS version dectection via pep425tags.py uses any dynlib files to determine the base_version of macOS to support in the wheel (see calculate_macosx_platform_tag. packaging does not seem to have this...
Context: - #160 - https://github.com/pypa/pip/issues/6523 - https://github.com/pypa/pip/pull/6565#issuecomment-498188384 There is now agreement that we'd want to add a `local` or `localhost` platform compatibility tag, which has a higher precedence than all...
The distutils.util.get_platform() is insufficient for AIX, e.g., it does not provide any idea of bitness. AIX has, built-in, support for binary compatibility from old to new - so the tag...
According to PEP 425, "tools should use the most-preferred architecture dependent tag e.g. cp33-cp33m-win32 or the most-preferred pure python tag e.g. py33-none-any by default." If we can get those tools...
Closes #697.
The current examples here are a bit misleading. They don't really show off the difference in `.public` vs. `.base_version`, or what they do. By adding the epoch to the public...