guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit dee7794a0150f597286568e52b86943ab9402d49
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jun 14 20:47:55 2026 +0100
gnu: python-packaging: Update to 26.2.
* gnu/packages/python-build.scm (python-packaging): Update to 26.2.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Ignore tests requiring extra native-inputs.
[propagated-inputs]: Remove python-pyparsing and python-six.
Change-Id: I365868d1de0e4ef8225627f71f685b225ca4d40b
---
gnu/packages/python-build.scm | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 0ec89fad2f..0c072183bb 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -957,19 +957,35 @@ that client code uses to construct the grammar directly
in Python code.")
(define-public python-packaging
(package
(name "python-packaging")
- (version "25.0")
+ (version "26.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "packaging" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pypa/packaging")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0kzwn2ar4ndm90qrvgyjcbkqz3klrg0ziwm1yrhbyxynk0n8fhyl"))))
+ (base32 "0wyfra7qd1ksnnpbvz3srf1cshbrg1lfzfyb541vndryb25jyhzy"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; tests: 61450 passed
+ #:test-flags
+ ;; Tests depending on hypothesis and tomli_w.
+ #~(list "--ignore=tests/property/test_specifier_comparison.py"
+ "--ignore=tests/property/test_specifier_extended.py"
+ "--ignore=tests/property/test_specifier_implied.py"
+ "--ignore=tests/property/test_specifier_matching.py"
+ "--ignore=tests/property/test_version_format.py"
+ "--ignore=tests/property/test_version_normalization.py"
+ "--ignore=tests/property/test_version_ordering.py"
+ "--ignore=tests/property/test_version_releases.py"
+ "--ignore=tests/test_pylock.py")))
(native-inputs
(list python-flit-core
python-pretend
python-pytest-bootstrap))
- (propagated-inputs (list python-pyparsing python-six))
(home-page "https://github.com/pypa/packaging")
(synopsis "Core utilities for Python packages")
(description "Packaging is a Python module for dealing with Python
packages.