From e627d94c04ceaaf8ca0a58c46014e0ea902bb235 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 20 Apr 2026 00:15:41 +0200 Subject: gnu: python-ldaptor: Fix build on python@3.12. * gnu/packages/python-web.scm (python-ldaptor)[arguments]<#:phases>: Add phase python-3.12-patch. Change-Id: I10157ab41a5a5f78c4166a5c0a76ab9028ffd54d Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 04a75a5f2f..8310dd4718 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1820,6 +1820,11 @@ reusable library for parsing, manipulating, and generating URIs.") "ldaptor") #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'python-3.12-patch + (lambda _ + (substitute* "ldaptor/config.py" + (("SafeConfigParser") + "ConfigParser")))) (add-before 'check 'disable-failing-tests (lambda _ ;; Testing with Twisted 22.4 results in infinite loop creating -- cgit v1.3