From 4ae394522c00dd27555fd49696f1111cfe650564 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 25 Feb 2025 13:01:30 +0100 Subject: [PATCH] gnu: python-loguru: Remove python-pytest-mypy-plugins. * gnu/packages/python-xyz.scm (python-loguru) [arguments]: Add in {test-flags} to skip the concerned test file. [native-inputs]: Remove python-pytest-mypy-plugins. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cf9433b40b..897ceae8b9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31713,12 +31713,16 @@ older versions of Python and so are packaged here.") (arguments (list #:test-flags - #~(list"--numprocesses" (number->string (parallel-job-count))))) + #~(list"--numprocesses" (number->string (parallel-job-count)) + ;; All of these fail with: error: Cannot find implementation or + ;; library stub for module named "loguru" + "--ignore=tests/typesafety/test_logger.yml" + ;; Removes mypy dependency + "--ignore=tests/test_type_hinting.py"))) (native-inputs (list python-flit-core python-freezegun python-pytest - python-pytest-mypy-plugins python-pytest-xdist python-setuptools)) (propagated-inputs