packaging: Core utilities for Python packages#
Description#
Core utilities for Python packages
Type#
standard
Dependencies#
Version Information#
package-version.txt:
23.2
install-requires.txt:
packaging >=21.0
# Trac #30975: packaging 20.5 is known to work but we have to silence "DeprecationWarning: Creating a LegacyVersion"
# Sphinx needs >= 21
Equivalent System Packages#
arch:
$ sudo pacman -S python-packaging
conda:
$ conda install packaging
Debian/Ubuntu:
$ sudo apt-get install python3-packaging
Fedora/Redhat/CentOS:
$ sudo yum install python-packaging
gentoo:
$ sudo emerge dev-python/packaging
macports: install the following packages: py-packaging
opensuse:
$ sudo zypper install python3${PYTHON_MINOR}-packaging
void:
$ sudo xbps-install python3-packaging
See https://repology.org/project/packaging/versions, https://repology.org/project/python:packaging/versions
If the system package is installed and if the (experimental) option –enable-system-site-packages is passed to ./configure, then ./configure will check if the system package can be used.