guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 29ae8fd873697243e1bdebf2bb8cc91e0b883f1c
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 15:07:11 2025 +0100
gnu: python-ldap3: Update to 2.9.1.
* gnu/packages/python-xyz.scm (python-ldap3): Update to 2.9.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> by <#:test-backend>.
[native-inputs]: Add python-setuptools. Replace python-nose by
python-pynose.
Change-Id: I89c1991793eee46e727bd1485831039ae39b4498
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30ea30a98c..9c3b6f36f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30536,7 +30536,7 @@ enforcement of that policy.")
(define-public python-ldap3
(package
(name "python-ldap3")
- (version "2.7")
+ (version "2.9.1")
(home-page "https://github.com/cannatag/ldap3")
(source
(origin
@@ -30545,18 +30545,14 @@ enforcement of that policy.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0xw9fkqld21xsvdpaqir8ccc2l805xnn9gxahsnl70xzp3mwl0xv"))))
- (build-system python-build-system)
+ (base32 "07nxbv41wpg5567r07yvm4chgs761drsvn53gn548zi26gmrpr07"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:tests? #f ;TODO: Tests need a real LDAP server to run
- #:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "nosetests" "-s" "test"))
- #t)))))
+ (list
+ #:tests? #f ;TODO: Tests need a real LDAP server to run
+ #:test-backend #~'nose))
(native-inputs
- (list python-nose))
+ (list python-pynose python-setuptools))
(propagated-inputs
(list python-gssapi python-pyasn1))
(synopsis "Python LDAP client")