From 6c3ccc6b1f60dd55a4c499d895f79612244158c5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 18 Sep 2022 02:22:56 +0200 Subject: 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. --- gnu/packages/fontutils.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages/fontutils.scm') diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 3806d78b1e..9b7f1ac879 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -447,8 +447,15 @@ (define-public python-ufo2ft (sha256 (base32 "068hm62s1iphyg66w96vgiif6ahpcsaf8fr44rk6jdf71f6fyqd5")))) (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 - (list python-pytest python-pytest-runner python-setuptools-scm)) + (list python-pytest python-setuptools-scm)) (propagated-inputs (list python-booleanoperations python-cffsubr -- cgit v1.2.3