diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-14 20:47:55 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:01:53 +0100 |
| commit | bcc6d0d672a96505767e7b040607a4200b2b5346 (patch) | |
| tree | f80874c5189f12eea476f76a34fcf71f89343f41 /gnu/packages | |
| parent | 9de06368f80b0151f0ac72160e8c1144ef7a1189 (diff) | |
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
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-build.scm | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 0ec89fad2f7..0c072183bb1 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.") | |||
| 957 | (define-public python-packaging | 957 | (define-public python-packaging |
| 958 | (package | 958 | (package |
| 959 | (name "python-packaging") | 959 | (name "python-packaging") |
| 960 | (version "25.0") | 960 | (version "26.2") |
| 961 | (source | 961 | (source |
| 962 | (origin | 962 | (origin |
| 963 | (method url-fetch) | 963 | (method git-fetch) |
| 964 | (uri (pypi-uri "packaging" version)) | 964 | (uri (git-reference |
| 965 | (url "https://github.com/pypa/packaging") | ||
| 966 | (commit version))) | ||
| 967 | (file-name (git-file-name name version)) | ||
| 965 | (sha256 | 968 | (sha256 |
| 966 | (base32 "0kzwn2ar4ndm90qrvgyjcbkqz3klrg0ziwm1yrhbyxynk0n8fhyl")))) | 969 | (base32 "0wyfra7qd1ksnnpbvz3srf1cshbrg1lfzfyb541vndryb25jyhzy")))) |
| 967 | (build-system pyproject-build-system) | 970 | (build-system pyproject-build-system) |
| 971 | (arguments | ||
| 972 | (list | ||
| 973 | ;; tests: 61450 passed | ||
| 974 | #:test-flags | ||
| 975 | ;; Tests depending on hypothesis and tomli_w. | ||
| 976 | #~(list "--ignore=tests/property/test_specifier_comparison.py" | ||
| 977 | "--ignore=tests/property/test_specifier_extended.py" | ||
| 978 | "--ignore=tests/property/test_specifier_implied.py" | ||
| 979 | "--ignore=tests/property/test_specifier_matching.py" | ||
| 980 | "--ignore=tests/property/test_version_format.py" | ||
| 981 | "--ignore=tests/property/test_version_normalization.py" | ||
| 982 | "--ignore=tests/property/test_version_ordering.py" | ||
| 983 | "--ignore=tests/property/test_version_releases.py" | ||
| 984 | "--ignore=tests/test_pylock.py"))) | ||
| 968 | (native-inputs | 985 | (native-inputs |
| 969 | (list python-flit-core | 986 | (list python-flit-core |
| 970 | python-pretend | 987 | python-pretend |
| 971 | python-pytest-bootstrap)) | 988 | python-pytest-bootstrap)) |
| 972 | (propagated-inputs (list python-pyparsing python-six)) | ||
| 973 | (home-page "https://github.com/pypa/packaging") | 989 | (home-page "https://github.com/pypa/packaging") |
| 974 | (synopsis "Core utilities for Python packages") | 990 | (synopsis "Core utilities for Python packages") |
| 975 | (description "Packaging is a Python module for dealing with Python packages. | 991 | (description "Packaging is a Python module for dealing with Python packages. |
