[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
317/361: gnu: python-curio: Update to 1.6.
From: |
guix-commits |
Subject: |
317/361: gnu: python-curio: Update to 1.6. |
Date: |
Fri, 22 Nov 2024 06:01:05 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit b18a4f8faa4be64c7949236373d9f6f820b112b2
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 1b999979a0..a70b3c58f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16418,30 +16418,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
- 262/361: gnu: python-pandera: Adjust inputs., (continued)
- 262/361: gnu: python-pandera: Adjust inputs., guix-commits, 2024/11/22
- 264/361: gnu: hangups: Fix build., guix-commits, 2024/11/22
- 263/361: gnu: python-urwid: Update to 2.6.16., guix-commits, 2024/11/22
- 283/361: gnu: python-mediafile: Update to 0.13.0., guix-commits, 2024/11/22
- 359/361: gnu: python-pytest-mpl: Update to 0.17.0., guix-commits, 2024/11/22
- 122/361: gnu: python-lsp-jsonrpc: Update to 1.1.2., guix-commits, 2024/11/22
- 305/361: gnu: python-pexpect: Update to 4.9.0., guix-commits, 2024/11/22
- 196/361: gnu: python-flake8-isort: Move to pyproject-build-system., guix-commits, 2024/11/22
- 245/361: gnu: nikola: Fix build., guix-commits, 2024/11/22
- 251/361: gnu: behave: Update to 1.2.7.dev5., guix-commits, 2024/11/22
- 317/361: gnu: python-curio: Update to 1.6.,
guix-commits <=
- 320/361: gnu: python-pickleshare: Improve package style., guix-commits, 2024/11/22
- 324/361: gnu: python-tomli: Update to 2.1.0., guix-commits, 2024/11/22
- 330/361: gnu: meson-python: Update to 0.17.1., guix-commits, 2024/11/22
- 337/361: gnu: python-versioneer: Simplify tests., guix-commits, 2024/11/22
- 348/361: gnu: python-itsdangerous: Update to 2.2.0., guix-commits, 2024/11/22
- 353/361: gnu: python-flask-restful: Update to 0.3.10., guix-commits, 2024/11/22