gnu: python-trio: Update to 0.19.0.

* gnu/packages/python-xyz.scm (python-trio): Update to 0.19.0.
[arguments]: Adjust skipped tests.
[propagated-inputs]: Add python-async-generator.
This commit is contained in:
Efraim Flashner 2021-10-15 13:20:28 +03:00
parent f560a09fa3
commit 5254e37542
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22598,13 +22598,13 @@ project.")
(define-public python-trio (define-public python-trio
(package (package
(name "python-trio") (name "python-trio")
(version "0.17.0") (version "0.19.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "trio" version)) (uri (pypi-uri "trio" version))
(sha256 (sha256
(base32 "0zcxirpdvvl54pbfkgw7vz984879xwvdygqfpggnam24is2zjp78")))) (base32 "1qgg4zhca81dxc1nlmcr5pl1bclmvdp3niqbyslwxs65bs732pl9"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -22623,6 +22623,9 @@ project.")
;; Assertion errors. ;; Assertion errors.
" and not test_guest_mode_ki" " and not test_guest_mode_ki"
" and not test_run_in_trio_thread_ki" " and not test_run_in_trio_thread_ki"
" and not test_simple_cancel_scope_usage_doesnt_create_cyclic_garbage"
" and not test_nursery_cancel_doesnt_create_cyclic_garbage"
" and not test_locals_destroyed_promptly_on_cancel"
;; These try to raise KeyboardInterrupt which does not work ;; These try to raise KeyboardInterrupt which does not work
;; in the build environment. ;; in the build environment.
" and not test_ki_self" " and not test_ki_self"
@ -22642,7 +22645,8 @@ project.")
("python-pytest-cov" ,python-pytest-cov) ("python-pytest-cov" ,python-pytest-cov)
("python-trustme" ,python-trustme))) ("python-trustme" ,python-trustme)))
(propagated-inputs (propagated-inputs
`(("python-attrs" ,python-attrs) `(("python-async-generator" ,python-async-generator)
("python-attrs" ,python-attrs)
("python-idna" ,python-idna) ("python-idna" ,python-idna)
("python-outcome" ,python-outcome) ("python-outcome" ,python-outcome)
("python-sniffio" ,python-sniffio) ("python-sniffio" ,python-sniffio)