[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/361: gnu: python-eventlet: Update to 0.35.2.
From: |
guix-commits |
Subject: |
37/361: gnu: python-eventlet: Update to 0.35.2. |
Date: |
Fri, 22 Nov 2024 06:00:07 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 6ad7d0e78f1794a38b9b5b9f0c7371f1252596ab
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 c92eaf0537..e8852f82f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4399,44 +4399,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
- 67/361: gnu: Add python-rfc3986-validator., (continued)
- 67/361: gnu: Add python-rfc3986-validator., guix-commits, 2024/11/22
- 81/361: gnu: python-websocket-client: Update to 1.8.0., guix-commits, 2024/11/22
- 85/361: gnu: python-pyzmq: Use Tornado 6., guix-commits, 2024/11/22
- 94/361: gnu: python-jsonpointer: Update to 1.14., guix-commits, 2024/11/22
- 24/361: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/22
- 28/361: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/22
- 20/361: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/22
- 34/361: gnu: python-cleo: Update to 2.1.0., guix-commits, 2024/11/22
- 35/361: gnu: python-packaging-bootstrap: Update to 23.2., guix-commits, 2024/11/22
- 31/361: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/22
- 37/361: gnu: python-eventlet: Update to 0.35.2.,
guix-commits <=
- 43/361: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/22
- 75/361: gnu: Add python-nbclassic., guix-commits, 2024/11/22
- 202/361: gnu: python-uqbar: Upgrade to python-team branch., guix-commits, 2024/11/22
- 279/361: gnu: python-pysolr: Update to 3.10.0., guix-commits, 2024/11/22
- 304/361: gnu: python-pexpect: Improve package style., guix-commits, 2024/11/22
- 312/361: gnu: python-pytest-cov: Update to 6.0.0., guix-commits, 2024/11/22
- 316/361: gnu: python-cffi: Improve package style., guix-commits, 2024/11/22
- 318/361: gnu: python-parso: Update to 0.8.4., guix-commits, 2024/11/22
- 329/361: gnu: python-cython-3: Update to 3.0.11., guix-commits, 2024/11/22
- 335/361: gnu: python-numpy: Update to 1.24.4., guix-commits, 2024/11/22