gnu: python-ufo2ft: Don't use pytest-runner.

pytest-runner is deprecated and does not work properly with the newer
setuptools in Python 3.10 for this package.

* gnu/packages/fontutils.scm (python-ufo2ft)[arguments]: Override check
phase.
[native-inputs]: Remove PYTHON-PYTEST-RUNNER.
This commit is contained in:
Marius Bakke 2022-09-18 02:22:56 +02:00
parent 5811d876c3
commit 6c3ccc6b1f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -447,8 +447,15 @@ (define-public python-ufo2ft
(sha256 (sha256
(base32 "068hm62s1iphyg66w96vgiif6ahpcsaf8fr44rk6jdf71f6fyqd5")))) (base32 "068hm62s1iphyg66w96vgiif6ahpcsaf8fr44rk6jdf71f6fyqd5"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs (native-inputs
(list python-pytest python-pytest-runner python-setuptools-scm)) (list python-pytest python-setuptools-scm))
(propagated-inputs (propagated-inputs
(list python-booleanoperations (list python-booleanoperations
python-cffsubr python-cffsubr