mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pyproject-api: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-pyproject-api): Update to 1.8.0. [arguments]: Disable two tests; remove phase 'relax-packaging. [native-inputs]: Add python-pytest-cov; python-setuptools, and python-wheel. Change-Id: I3bdb56d7498ae8d1b59a52158405f0cf6ba25e61
This commit is contained in:
parent
bc8aed3ab5
commit
e4c6491fd5
1 changed files with 11 additions and 11 deletions
|
@ -22653,31 +22653,31 @@ manage (install/update) them for you.")
|
||||||
(define-public python-pyproject-api
|
(define-public python-pyproject-api
|
||||||
(package
|
(package
|
||||||
(name "python-pyproject-api")
|
(name "python-pyproject-api")
|
||||||
(version "1.6.1")
|
(version "1.8.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pyproject_api" version))
|
(uri (pypi-uri "pyproject_api" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0f75rajzk72ay4x9ajw1835amm932q7cdn0yrbwiy3fwi80xq5qq"))))
|
(base32 "15l4fx1v4dqhhysxd2mcm1vn4qvrwbqmf6y2zkp36pgb5ygh9f3p"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-flags
|
#:test-flags
|
||||||
;; This test fails with AssertionError.
|
'(list "-k" (string-append
|
||||||
#~(list "-k" "not test_setuptools_prepare_metadata_for_build_wheel")
|
;; This fails because of extraneous parentheses
|
||||||
#:phases #~(modify-phases %standard-phases
|
"not test_setuptools_prepare_metadata_for_build_wheel"
|
||||||
(add-after 'unpack 'relax-packaging
|
;; This fails because wheel shows up in requirements
|
||||||
(lambda _
|
" and not test_setuptools_get_requires_for_build_wheel"))))
|
||||||
(substitute* "pyproject.toml"
|
|
||||||
;; We have packaging 21.3.
|
|
||||||
(("packaging>=23.1") "packaging>=21.3")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-covdefaults
|
(list python-covdefaults
|
||||||
python-hatch-vcs
|
python-hatch-vcs
|
||||||
python-hatchling
|
python-hatchling
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-mock))
|
python-pytest-cov
|
||||||
|
python-pytest-mock
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-packaging python-tomli))
|
(list python-packaging python-tomli))
|
||||||
(home-page "https://pyproject-api.readthedocs.io/latest/")
|
(home-page "https://pyproject-api.readthedocs.io/latest/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue