summaryrefslogtreecommitdiff
path: root/gnu/packages/python-compression.scm
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-04-30 14:08:51 +0900
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-18 14:36:39 +0100
commit5bfe0e95d03330280e9c415380bb51428b1928fb (patch)
tree54b5d1474b117fbad1ace12b11f9f8a6d51ab90e /gnu/packages/python-compression.scm
parent668dc19dd19f89448f30bd55916f0ce60e9414d6 (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.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index c0ce394b2b..4855fa296b 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -944,7 +944,10 @@ Python.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7"))))
+ (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7"))
+ ;; TODO: Remove in the next release:
+ ;; https://github.com/itziakos/zipfile2/commit/5ea38d6eaaa5
+ (patches (search-patches "python-zipfile2-python-3.12-support.patch"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest