diff options
| author | Arun Isaac | 2026-02-25 01:32:57 +0000 |
|---|---|---|
| committer | Arun Isaac | 2026-02-25 01:32:57 +0000 |
| commit | 6806efacb889fc9d069ead70605238973accd3ac (patch) | |
| tree | 2e3cb3b8f2378a850c7d1775cc99c03c89267145 | |
| parent | 80401c7f156180a0956838c44ba9547f1b686a6f (diff) | |
| download | guix-bioinformatics-6806efacb889fc9d069ead70605238973accd3ac.tar.gz | |
Add python-curio.
Upstream removed python-curio.
| -rw-r--r-- | gn/packages/twint.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gn/packages/twint.scm b/gn/packages/twint.scm index b61b6ca..56b43e1 100644 --- a/gn/packages/twint.scm +++ b/gn/packages/twint.scm @@ -104,6 +104,47 @@ "cChardet is high speed universal character encoding detector.") (license #f))) +(define-public python-curio + (package + (name "python-curio") + (version "1.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "curio" version)) + (sha256 + (base32 "0isj3jl5mx6m25nr1f7r91hfaydhkvmks9p85dyvl5h2n9nmhajn")))) + (build-system pyproject-build-system) + (arguments + (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 + python-setuptools + python-wheel)) + (home-page "https://github.com/dabeaz/curio") + (synopsis "Coroutine-based library for concurrent Python") + (description + "Curio is a coroutine-based library for concurrent Python systems +programming. It provides standard programming abstractions such as as +tasks, sockets, files, locks, and queues.") + (license license:bsd-3))) + ;; TODO: Upstream (define-public python-socks (package |
