GNU bug report logs - #76571
[PATCH python-team 00/15] Some fixes

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 25 Feb 2025 22:52:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76571 <at> debbugs.gnu.org
Subject: [bug#76571] [PATCH 03/15] gnu: python-cftime: Update to 1.6.4.
Date: Mon, 24 Feb 2025 07:54:50 +0100
* gnu/packages/python-xyz.scm (python-cftime): Update to 1.6.4.
[arguments]{phases}: Add phase 'remove-unwanted-dev-dependencies.
[native-inputs]: Remove python-check-manifest, python-pytest-cov. Add
python-setuptools.
---
 gnu/packages/python-xyz.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7d21beb4ce..6cf0862eed 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3719,22 +3719,28 @@ (define-public python-sh
 (define-public python-cftime
   (package
     (name "python-cftime")
-    (version "1.6.2")
+    (version "1.6.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cftime" version))
        (sha256
-        (base32 "1lp6jrjjgl18csn4bcnphn0l16ag4aynvn7x0kins155p07w0546"))))
+        (base32 "1p5fw25hjqpzwxw3662f72ga30kpf8pbbph8fgb7x2kmjdhl09g3"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'remove-unwanted-dev-dependencies
+                 (lambda _
+                   (substitute* "requirements-dev.txt"
+                     (("(check-manifest|coverage|coveralls|pytest-cov|twine)")
+                      "")))))))
     (propagated-inputs
      (list python-numpy))
     (native-inputs
-     (list python-check-manifest
-           python-coverage
-           python-coveralls
-           python-cython
-           python-pytest-cov
+     (list python-cython
+           python-pytest
+           python-setuptools
            python-sphinx
            python-twine
            python-wheel))
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




This bug report was last modified 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.