guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit f8bbf7e652bc507c8391cac76739a909424672ad
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat May 30 09:41:20 2026 +0100
gnu: python-trio: Update to 0.33.0.
* gnu/packages/python-xyz.scm (python-trio): Update to 0.33.0.
[source]: Switch to git-fetch.
[argument] <test-flags>: Skip tests requiring python-pylint and
python-jedi.
[native-inputs]: Remove python-jedi, and python-pylint.
Change-Id: I515bcd1c7a73a8a7ff231101fe459d082e676fc5
---
gnu/packages/python-xyz.scm | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index af5e457d3a..46ac3905de 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39544,16 +39544,20 @@ ISO 8859, etc.).")
(define-public python-trio
(package
(name "python-trio")
- (version "0.32.0")
+ (version "0.33.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "trio" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python-trio/trio")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0sw04md83splkb0x37bmd1yj8rbf033p2k0x3qim3k9vjbn2j3qm"))))
+ (base32 "1ibkp7bgdv0k099szk8181rfn7jm60kh8kpfrkfr4pnwjd6abslf"))))
(build-system pyproject-build-system)
(arguments
(list
+ ;; tests: 507 passed, 45 skipped, 37 deselected
#:test-flags
#~(list
#$@(if (package? (this-package-native-input "python-trustme"))
@@ -39580,7 +39584,9 @@ ISO 8859, etc.).")
;; Failure in name resolution.
"test_SocketType_resolve"
;; OSError: protocol not found.
- "test_getprotobyname")
+ "test_getprotobyname"
+ ;; Drop pylint and jedi.
+ "test_static_tool_sees_all_symbols")
" and not ")
"src/trio/_tests")
#:phases
@@ -39608,9 +39614,7 @@ ISO 8859, etc.).")
(if (supported-package? python-cryptography)
(list python-cryptography)
'())
- (list python-jedi
- python-pylint
- python-pytest
+ (list python-pytest
python-setuptools)))
(propagated-inputs
(list python-attrs
@@ -39618,7 +39622,8 @@ ISO 8859, etc.).")
python-outcome
python-sniffio
python-sortedcontainers))
- (home-page "https://trio.readthedocs.io")
+ (home-page "https://github.com/python-trio/trio")
+ ;; (home-page "https://trio.readthedocs.io")
(synopsis "Friendly Python library for async concurrency and I/O")
(description
"Trio strives to be a production-quality, async/await-native I/O library