[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: python-ufo2ft: Don't use pytest-runner.
From: |
guix-commits |
Subject: |
01/06: gnu: python-ufo2ft: Don't use pytest-runner. |
Date: |
Sun, 18 Sep 2022 10:21:26 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 6c3ccc6b1f60dd55a4c499d895f79612244158c5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Sep 18 02:22:56 2022 +0200
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(-)
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 @@ converts any cubic curves to quadratic. The most useful
function is probably
(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
- branch master updated (5811d876c3 -> ce3b51a4c6), guix-commits, 2022/09/18
- 01/06: gnu: python-ufo2ft: Don't use pytest-runner.,
guix-commits <=
- 02/06: gnu: Explicitly use meson@0.60 in packages that don't support 0.63., guix-commits, 2022/09/18
- 06/06: gnu: python-pandas: Update to 1.4.4., guix-commits, 2022/09/18
- 05/06: gnu: python-cython: Add 0.29.32., guix-commits, 2022/09/18
- 04/06: gnu: gnome-settings-daemon: Add NSS on RUNPATH., guix-commits, 2022/09/18
- 03/06: gnu: Explicitly use OpenSSL 1.1 in packages that don't support 3.0., guix-commits, 2022/09/18