mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: python-trio: Update to 0.28.0.
* gnu/packages/python-xyz.scm (python-trio): Update to 0.28.0. [arguments]: Add phase 'ignore-deprecations. [native-inputs]: Remove python-astor, python-jedi, python-isort, and python-pytest-asyncio. [propagated-inputs]: Remove python-async-generator. Change-Id: I435fe322324bc5e58130d072db7f032c3a67c67e
This commit is contained in:
parent
79a7f53dfe
commit
d653f0324f
1 changed files with 9 additions and 10 deletions
|
@ -30444,13 +30444,13 @@ (define-public python-outcome
|
|||
(define-public python-trio
|
||||
(package
|
||||
(name "python-trio")
|
||||
(version "0.27.0")
|
||||
(version "0.28.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "trio" version))
|
||||
(sha256
|
||||
(base32 "0cb8qy1yj274xa21nf2jpmwssjzp39vgva7y982xmci62ymrbk0x"))))
|
||||
(base32 "019wqwlbj185skknbjd7paxqqx6vl5gpqk2fwmc5d2lyzsb7hm2f"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -30492,6 +30492,10 @@ (define-public python-trio
|
|||
"src/trio/_tests")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'ignore-deprecations
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
((" \"error\",") " \"ignore\","))))
|
||||
(add-before 'check 'set-env
|
||||
(lambda _
|
||||
;; Tests require a writable home.
|
||||
|
@ -30499,18 +30503,13 @@ (define-public python-trio
|
|||
;; #$output is first in path which causes "import file mismatch"
|
||||
(setenv "PYTHONPATH" (string-append (getcwd) "/src:$PYTHONPATH")))))))
|
||||
(native-inputs
|
||||
(list python-astor
|
||||
python-jedi
|
||||
python-pyopenssl
|
||||
(list python-pyopenssl
|
||||
python-pytest
|
||||
python-isort
|
||||
python-pytest-asyncio
|
||||
python-trustme
|
||||
python-setuptools
|
||||
python-trustme
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-async-generator
|
||||
python-attrs
|
||||
(list python-attrs
|
||||
python-cffi
|
||||
python-exceptiongroup
|
||||
python-idna
|
||||
|
|
Loading…
Reference in a new issue