sharlatan pushed a commit to branch python-team
in repository guix.

commit dc6940e861f16ba4d140f166297eda3c598d86a3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Mar 13 08:49:03 2025 +0000

    gnu: python-cftime: Fix tests.
    
    * gnu/packages/python-xyz.scm (python-cftime) [arguments] <phases>:
    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 73f6d487ce..fda5e5f835 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4014,10 +4014,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))
@@ -4025,7 +4027,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/";)

Reply via email to