gnu: python-parso: Update to 0.8.4.

* gnu/packages/python-xyz.scm (python-parso): Update to 0.8.4.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.
* gnu/packages/patches/python-parso-unit-tests-in-3.10.patch: Delete file.
* gnu/local.mk: Deregister it.

Change-Id: I7722e58ce8f3e2da42169af42f1b303c9cdd8856
This commit is contained in:
Sharlatan Hellseher 2024-11-11 08:06:12 +00:00
parent db9d704290
commit 3bc8931e2a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 6 additions and 200 deletions

View file

@ -27835,25 +27835,18 @@ Kodi plugin.")
(define-public python-parso
(package
(name "python-parso")
(version "0.8.3")
(version "0.8.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "parso" version))
(sha256
(base32 "185gkxq92kqiw2h5zp1cmyn04055x0lix4hmi5c077xm1clvw1wc"))
(patches
(search-patches "python-parso-unit-tests-in-3.10.patch"))))
(base32 "0bdr38l6p7d9q8agxljdbzm4158grkp1sms5lfcr1f8g4ic7nfpb"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(list python-pytest
python-setuptools
python-wheel))
(home-page "https://github.com/davidhalter/parso")
(synopsis "Python Parser")
(description "Parso is a Python parser that supports error recovery and