mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
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 <sharlatanus@gmail.com>
This commit is contained in:
committed by
Andreas Enge
parent
f9b6cc9fab
commit
90de53ffa5
@@ -1780,6 +1780,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
|
||||
|
||||
Reference in New Issue
Block a user