diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2026-04-30 14:08:51 +0900 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:14:54 +0100 |
| commit | a04a0846292831a860166d3ea4cd8e9d56172841 (patch) | |
| tree | cb702ecbc8f14dab5bdc153853ab82890e1159f9 /gnu/packages/python-compression.scm | |
| parent | adc94a2bdb3b664d6c943d3b19d45891a3419406 (diff) | |
gnu: python-zipfile2: Fix compatibility with Python 3.12.
* gnu/packages/patches/python-zipfile2-python-3.12-support.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-compression.scm
(python-zipfile2)[source]<patches>: Use it.
Change-Id: I0e85c198831a9c039889ddc3e4519dc304dc3d5e
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index c0ce394b2b2..4855fa296b4 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -944,7 +944,10 @@ Python.") | |||
| 944 | (commit (string-append "v" version)))) | 944 | (commit (string-append "v" version)))) |
| 945 | (file-name (git-file-name name version)) | 945 | (file-name (git-file-name name version)) |
| 946 | (sha256 | 946 | (sha256 |
| 947 | (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7")))) | 947 | (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7")) |
| 948 | ;; TODO: Remove in the next release: | ||
| 949 | ;; https://github.com/itziakos/zipfile2/commit/5ea38d6eaaa5 | ||
| 950 | (patches (search-patches "python-zipfile2-python-3.12-support.patch")))) | ||
| 948 | (build-system pyproject-build-system) | 951 | (build-system pyproject-build-system) |
| 949 | (native-inputs | 952 | (native-inputs |
| 950 | (list python-pytest | 953 | (list python-pytest |
