packaging icon indicating copy to clipboard operation
packaging copied to clipboard

Core utilities for Python packages

Results 107 packaging issues
Sort by recently updated
recently updated
newest added

Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action](https://github.com/github/codeql-action) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/checkout` from 4.1.2 to 4.1.4 Release notes Sourced from actions/checkout's releases. v4.1.4 What's Changed Disable extensions.worktreeConfig when disabling...

dependencies

In https://github.com/pypa/setuptools/issues/4302, we learned that using `packaging.utils.canonicalize_version` to canonicalize a version produces an aberrant version. ``` @ pip-run packaging -- -c 'import packaging.utils; print(packaging.utils.canonicalize_version("69.3.0"))' 69.3 ``` Instead of matching the...

packaging.version
packaging.utils

I want to propose this simple CLI tool in the `packaging.version` module to perform semantic version comparisons directly from the command line. This utility is modeled after `dpkg --compare-versions` but...

As prototyped in #646, I believe this repo is a nice place to house a general parsing and validation function for the PEP 621 `[project]` table in the `pyproject.toml`. This...

enhancement

In reviewing the behavior of canonicalize_version, I found the documentation and implementation to be somewhat lacking in context. The docstring alluded to a difference but didn't indicate what the difference...

Fixes https://github.com/pypa/packaging/issues/788 And adds an explicit test for `!=` based on https://github.com/pypa/packaging/issues/776#issuecomment-1900515985

It would be useful when reasoning about `SpecifierSet` values to have a means of simplifying them. For example, `SpecifierSet("

enhancement
packaging.specifiers

I recently hit the following unexpected behavior with `packaging`: ``` >>> Requirement("foo>=3.0").specifier.contains("3.1.10.dev1") False ``` I took a look at the [version string specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#developmental-releases), and it seems to suggest that this...

enhancement
packaging.requirements

This relates to this part of the [spec](https://packaging.python.org/en/latest/specifications/version-specifiers/#exclusive-ordered-comparison): > The exclusive ordered comparison from packaging.specifiers import Specifier >>> Specifier('

bug
packaging.specifiers