summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-27 17:53:06 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 17:11:48 +0000
commit4a98c20de12571830350cb63cd250fffc0f17c72 (patch)
treeb8cd55b188c05b12c39ae6a2a60e0047e244f130 /gnu/packages
parent37ef605f51796edd8a22bfd72a7ec3a44ed6981a (diff)
gnu: python-bonsai: Update to 1.5.4.
* gnu/packages/openldap.scm (python-bonsai): Update to 1.5.4. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Enable them. <#:test-flags>: Ignore failing tests. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: I056193ef6d61cf3f95a545fae6478dc9eda26a0d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/openldap.scm32
1 files changed, 22 insertions, 10 deletions
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 185261e69d4..a779ccc79f4 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -421,19 +421,31 @@ Other features include:
(define-public python-bonsai
(package
(name "python-bonsai")
- (version "1.2.0")
+ (version "1.5.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "bonsai" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/noirello/bonsai")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "013bl6h1m3f7vg1lk89d4vi28wbf31zdcs4f9g8css7ngx63v6px"))))
- (build-system python-build-system)
- (inputs
- (list mit-krb5 cyrus-sasl openldap))
- ;; disabling tests, since they require docker and extensive setup
- (arguments `(#:tests? #f))
+ (base32 "1p1330cxaxb2j80zw0vvi2hrnyw3qr5vh8fm2wy8ci745dmrs0nl"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list
+ ;; XXX: Require docker and extensive setup.
+ "--ignore=tests/test_asyncio.py"
+ "--ignore=tests/test_ldapclient.py"
+ "--ignore=tests/test_ldapconnection.py"
+ "--ignore=tests/test_ldapentry.py"
+ "--ignore=tests/test_ldapreference.py"
+ "--ignore=tests/test_pool.py"
+ "-k" "not test_set_async_connect")))
+ (native-inputs (list python-pytest python-setuptools))
+ (inputs (list mit-krb5 cyrus-sasl openldap))
(home-page "https://github.com/noirello/bonsai")
(synopsis "Access LDAP directory servers from Python")
(description