From a5b507230c2ee3c8052cbcf7c5cd855c6816593e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 13 Mar 2025 08:49:03 +0000 Subject: [PATCH] gnu: python-cftime: Fix tests. * gnu/packages/python-xyz.scm (python-cftime) [arguments] : Remove 'remove-unwanted-dev-dependencies, add ''remove-unwanted-pytest-options. [native-inputs]: Remove python-sphinx. Change-Id: Ib196a6a3781da4067d287f62f5f92b72eb024de3 --- gnu/packages/python-xyz.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6fc0552e1a1..727d8c1c190 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4025,10 +4025,12 @@ Unicode-to-LaTeX conversion.") (arguments (list #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-unwanted-dev-dependencies + (add-after 'unpack 'remove-unwanted-pytest-options (lambda _ - (substitute* "requirements-dev.txt" - (("(check-manifest|coverage|coveralls|pytest-cov|twine)") + (substitute* "setup.cfg" + (("doctest_optionflags.*") + "") + (("--cov.*") ""))))))) (propagated-inputs (list python-numpy)) @@ -4036,7 +4038,6 @@ Unicode-to-LaTeX conversion.") (list python-cython python-pytest python-setuptools - python-sphinx python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/")