[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: python-internetarchive: Adjust for newer python.
From: |
guix-commits |
Subject: |
04/10: gnu: python-internetarchive: Adjust for newer python. |
Date: |
Tue, 5 Dec 2023 08:11:40 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 9d1055c4095cf591db3be7353d1360f3d2da61e2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 13:36:48 2023 +0200
gnu: python-internetarchive: Adjust for newer python.
* gnu/packages/web.scm (python-internetarchive)[source]: Adjust snippet
for change in python module imports.
Change-Id: I523d022f3a56b31b58f80c1ce1ffabaef1f9b0e7
---
gnu/packages/web.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 4a4252138b..cee3f18d7f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6697,7 +6697,10 @@ command-line arguments or read from stdin.")
(("^import re\n" line)
(string-append line "re._pattern_type =
re.Pattern\n"))))
(find-files "." "\\.py$"))
- #t))))
+ ;; Mapping got moved to collections.abc
+ (substitute* "internetarchive/utils.py"
+ (("from collections import Mapping")
+ "from collections.abc import Mapping"))))))
(build-system python-build-system)
(arguments
`(#:phases
- branch master updated (6ab6c02aff -> c15a1cd88f), guix-commits, 2023/12/05
- 02/10: gnu: python-grako: Adjust for newer python., guix-commits, 2023/12/05
- 01/10: gnu: python-trezor-agent: Fix inputs., guix-commits, 2023/12/05
- 03/10: gnu: python-alchemy-mock: Adjust for newer python., guix-commits, 2023/12/05
- 04/10: gnu: python-internetarchive: Adjust for newer python.,
guix-commits <=
- 05/10: gnu: python-imgviz: Adjust for newer python., guix-commits, 2023/12/05
- 06/10: gnu: python-gpy: Adjust for newer python., guix-commits, 2023/12/05
- 07/10: gnu: python-osc: Adjust for newer python., guix-commits, 2023/12/05
- 09/10: gnu: python-schedule: Adjust for newer python., guix-commits, 2023/12/05
- 08/10: gnu: python-pyscss: Adjust for newer python., guix-commits, 2023/12/05
- 10/10: gnu: python-setuptools-lint: Add missing input., guix-commits, 2023/12/05