mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-07-20 21:24:06 +02: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
Sharlatan Hellseher
parent
0c8873ce42
commit
e68fa6a0f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user