[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: python-eventlet: Update to 0.35.2.
From: |
guix-commits |
Subject: |
05/05: gnu: python-eventlet: Update to 0.35.2. |
Date: |
Tue, 27 Feb 2024 15:56:55 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 2ff7956f817090e955fe18c909b673f0a9baa1b3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 27 21:53:49 2024 +0100
gnu: python-eventlet: Update to 0.35.2.
* gnu/packages/python-xyz.scm (python-eventlet): Update to 0.35.2.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Remove python-six; add python-monotonic.
[native-inputs]: Remove python-nose; add python-black, python-hatchling,
python-hatch-vcs, python-pytest, python-isort, and python-twine.
[arguments]: Replace custom 'check phase with #:test-flags.
Change-Id: I1125f8e52768061f9b5a2626c010aaef9a444f1a
---
gnu/packages/python-xyz.scm | 48 ++++++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 861d591346..f450f37f9a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3978,44 +3978,44 @@ standard.")
(define-public python-eventlet
(package
(name "python-eventlet")
- (version "0.33.3")
+ (version "0.35.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "eventlet" version))
(sha256
(base32
- "1nngffz21afhfi266smf4s5mn5dfd0ykdnirfls9bwnzxbkh6a3j"))))
- (build-system python-build-system)
+ "0zd59yqqb2lzg3f9lkd3yw1wanwy5wkis3n6d826m0bz1gi664ld"))))
+ (build-system pyproject-build-system)
(propagated-inputs
- (list python-dnspython python-greenlet python-six))
+ (list python-dnspython python-greenlet python-monotonic))
(native-inputs
- (list python-nose))
+ (list python-black
+ python-hatchling
+ python-hatch-vcs
+ python-pytest
+ python-isort
+ python-twine))
(arguments
- '(#:phases
- (modify-phases %standard-phases
+ (list
+ #:test-flags
+ '(list "-k"
+ (string-append
+ "not TestGetaddrinfo"
+ " and not TestProxyResolver"
+ " and not test_noraise_dns_tcp"
+ " and not test_raise_dns_tcp"
+ " and not test_hosts_no_network"
+ " and not test_patcher_existing_locks"
+ " and not test_dns_methods_are_green"))
+ #:phases
+ '(modify-phases %standard-phases
(add-after 'unpack 'avoid-OSError
(lambda _
;; If eventlet tries to load greendns, an OSError is thrown when
;; getprotobyname is called. Thankfully there is an environment
;; variable to disable the greendns import, so use it:
- (setenv "EVENTLET_NO_GREENDNS" "yes")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke
- "nosetests"
- "-v" "tests/"
- "-I" "greendns_test.py"
- "-I" "socket_test.py"
- "-e" "test_018b_http_10_keepalive_framing"
- ;; The following two tests fail with Python 3.10. See
- ;; <https://github.com/eventlet/eventlet/issues/730>.
- "-e" "test_patcher_existing_locks_locked"
- ;; And see <https://github.com/eventlet/eventlet/issues/739>.
- "-e" "test_017_ssl_zeroreturnerror"
- ;; This test is failing on some architectures
- "-e" "test_fork_after_monkey_patch")))))))
+ (setenv "EVENTLET_NO_GREENDNS" "yes"))))))
(home-page "https://eventlet.net")
(synopsis "Concurrent networking library for Python")
(description