[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
317/420: gnu: python-curio: Update to 1.6.
From: |
guix-commits |
Subject: |
317/420: gnu: python-curio: Update to 1.6. |
Date: |
Tue, 26 Nov 2024 16:29:24 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 1943d1e6a84b75f79ee8cb703526e46823cd019c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 10 21:27:22 2024 +0000
gnu: python-curio: Update to 1.6.
* gnu/packages/python-xyz.scm (python-curio): Update to 1.6.
[build-system]: Swap to pyrpoject-build-system.
[arguments]<test-flags>: Move deselect options here, ignore more
shaky tests.
<phases>: Use default 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I58a4098cbcf5063f88e41711fc06608520853e4e
---
gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++-----------------
1 file changed, 23 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2c1e580f30..3901a150c0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16417,30 +16417,36 @@ printing of sub-tables by specifying a row range.")
(define-public python-curio
(package
(name "python-curio")
- (version "1.5")
+ (version "1.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "curio" version))
(sha256
- (base32 "045wwg16qadsalhicbv21p14sj8i4w0l57639j7dmdqbb4p2225g"))))
- (build-system python-build-system)
+ (base32 "0isj3jl5mx6m25nr1f7r91hfaydhkvmks9p85dyvl5h2n9nmhajn"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "-k"
- (string-append
- ;; Tries to open an outgoing connection.
- "not test_ssl_outgoing "
- ;; This test fails since Python 3.9.9 (see:
- ;; https://github.com/dabeaz/curio/issues/347).
- "and not test_timeout"))))))))
+ (list
+ #:test-flags
+ #~(list ;; AttributeError: 'NoneType' object has no attribute
+ ;; 'terminate'
+ "--deselect=tests/test_workers.py::test_exception"
+ ;; Tries to open an outgoing connection.
+ "--deselect=tests/test_network.py::test_ssl_outgoing"
+ ;; This test fails since Python 3.9.9, see
+ ;; <https://github.com/dabeaz/curio/issues/347>.
+ ;; AttributeError: 'NoneType' object has no attribute
+ ;; 'terminate'
+ "--deselect=tests/test_workers.py::test_worker_timeout"
+ ;; AttributeError: 'NoneType' object has no attribute
+ ;; 'terminate'
+ "--deselect=tests/test_workers.py::test_bad_cpu"
+ "--deselect=tests/test_workers.py::test_cpu"
+ "--deselect=tests/test_workers.py::test_worker_cancel")))
(native-inputs
- (list python-pytest))
+ (list python-pytest
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/dabeaz/curio")
(synopsis "Coroutine-based library for concurrent Python")
(description
- 267/420: gnu: python-unyt: Adjust inputs., (continued)
- 267/420: gnu: python-unyt: Adjust inputs., guix-commits, 2024/11/26
- 260/420: gnu: ytcc: Fix build., guix-commits, 2024/11/26
- 266/420: gnu: python-nose-exclude: Adjust iputs., guix-commits, 2024/11/26
- 271/420: gnu: python-pytest-virtualenv: Update to 1.8.0., guix-commits, 2024/11/26
- 270/420: gnu: python-pytest-shutil: Update to 1.8.0., guix-commits, 2024/11/26
- 288/420: gnu: poetry: Fix build., guix-commits, 2024/11/26
- 285/420: gnu: Add python-sphinx-design., guix-commits, 2024/11/26
- 294/420: gnu: Remove python-pyproject-metadata-0.7., guix-commits, 2024/11/26
- 293/420: gnu: beets-bandcamp: Add maintenance note., guix-commits, 2024/11/26
- 314/420: gnu: python-openpyxl: Update to 3.1.5., guix-commits, 2024/11/26
- 317/420: gnu: python-curio: Update to 1.6.,
guix-commits <=
- 344/420: gnu: python-beautifulsoup4: Update to 4.12.3., guix-commits, 2024/11/26
- 337/420: gnu: python-versioneer: Simplify tests., guix-commits, 2024/11/26
- 334/420: gnu: python-pytest-mypy: Update to 0.10.3., guix-commits, 2024/11/26
- 333/420: gnu: python-mypy: Update to 1.13.0., guix-commits, 2024/11/26
- 338/420: gnu: python-watchdog: Update to 6.0.0., guix-commits, 2024/11/26
- 354/420: gnu: python-flasgger: Update to 0.9.7.1., guix-commits, 2024/11/26
- 330/420: gnu: meson-python: Update to 0.17.1., guix-commits, 2024/11/26
- 349/420: gnu: python-flask: Update to 3.1.0., guix-commits, 2024/11/26
- 345/420: gnu: python-pandas-2: Update to 2.2.3., guix-commits, 2024/11/26
- 356/420: gnu: python-apispec-webframeworks: Update to 1.2.0., guix-commits, 2024/11/26