mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +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
|
(define-public python-trio
|
||||||
(package
|
(package
|
||||||
(name "python-trio")
|
(name "python-trio")
|
||||||
(version "0.27.0")
|
(version "0.28.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "trio" version))
|
(uri (pypi-uri "trio" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0cb8qy1yj274xa21nf2jpmwssjzp39vgva7y982xmci62ymrbk0x"))))
|
(base32 "019wqwlbj185skknbjd7paxqqx6vl5gpqk2fwmc5d2lyzsb7hm2f"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -30492,6 +30492,10 @@ (define-public python-trio
|
||||||
"src/trio/_tests")
|
"src/trio/_tests")
|
||||||
#:phases
|
#:phases
|
||||||
'(modify-phases %standard-phases
|
'(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'ignore-deprecations
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
((" \"error\",") " \"ignore\","))))
|
||||||
(add-before 'check 'set-env
|
(add-before 'check 'set-env
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Tests require a writable home.
|
;; Tests require a writable home.
|
||||||
|
@ -30499,18 +30503,13 @@ (define-public python-trio
|
||||||
;; #$output is first in path which causes "import file mismatch"
|
;; #$output is first in path which causes "import file mismatch"
|
||||||
(setenv "PYTHONPATH" (string-append (getcwd) "/src:$PYTHONPATH")))))))
|
(setenv "PYTHONPATH" (string-append (getcwd) "/src:$PYTHONPATH")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-astor
|
(list python-pyopenssl
|
||||||
python-jedi
|
|
||||||
python-pyopenssl
|
|
||||||
python-pytest
|
python-pytest
|
||||||
python-isort
|
|
||||||
python-pytest-asyncio
|
|
||||||
python-trustme
|
|
||||||
python-setuptools
|
python-setuptools
|
||||||
|
python-trustme
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-async-generator
|
(list python-attrs
|
||||||
python-attrs
|
|
||||||
python-cffi
|
python-cffi
|
||||||
python-exceptiongroup
|
python-exceptiongroup
|
||||||
python-idna
|
python-idna
|
||||||
|
|
Loading…
Reference in a new issue