guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

34/55: gnu: python-pint: Update to 0.23.


From: guix-commits
Subject: 34/55: gnu: python-pint: Update to 0.23.
Date: Mon, 15 Jan 2024 07:42:25 -0500 (EST)

rekado pushed a commit to branch wip-python-science
in repository guix.

commit d2002427e208d68dfa0e6101526b8a85c6cec692
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 9 14:59:39 2024 +0100

    gnu: python-pint: Update to 0.23.
    
    * gnu/packages/python-xyz.scm (python-pint): Update to 0.23.
    [arguments]: Disable "test_load_definitions_stage_2" test.
    [native-inputs]: Remove python-dask, python-distributed,
    python-importlib-metadata, python-setuptools-scm, python-sparse,
    python-uncertainties, and python-xarray; add python-pytest-benchmark.
    [propagated-inputs]: Add python-uncertainties.
    
    Change-Id: I98baae3369e5ffeea96355d9509296771c33dc50
---
 gnu/packages/python-xyz.scm | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fb5c039f7b..59fe7d820f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1265,30 +1265,29 @@ Markdown.  All extensions are found under the module 
namespace of pymdownx.")
 (define-public python-pint
   (package
     (name "python-pint")
-    (version "0.22")
+    (version "0.23")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Pint" version))
               (sha256
                (base32
-                "0cs4lsvngrkfzpnrmxcwz728m47y0xbw1knksz51cc6gpdm9y4rd"))))
+                "1d69dqs0j907x4hgz2k8f3zjzhgs9zvlw2k0gi955g3dc28rnl71"))))
     (build-system pyproject-build-system)
     (arguments
-     ;; This single test tries to write to $HOME/.cache/pint.
-     (list #:test-flags #~'("-k" "not test_auto")))
-    (native-inputs
-     (list python-dask
-           python-distributed
-           python-importlib-metadata
-           python-pytest                ;for pytest-subtests
-           python-pytest-cov
-           python-pytest-mpl
-           python-pytest-subtests
-           python-setuptools-scm
-           python-sparse
-           python-uncertainties
-           python-xarray))
-    (propagated-inputs (list python-typing-extensions))
+     (list
+      #:test-flags
+      '(list "-k" (string-append
+                   ;; This test tries to write to $HOME/.cache/pint.
+                   "not test_auto"
+                   ;; Fails with "Group USCSLengthInternational already
+                   ;; present in registry"
+                   " and not test_load_definitions_stage_2"))))
+    (native-inputs
+     (list python-pytest python-pytest-benchmark python-pytest-cov
+           python-pytest-mpl python-pytest-subtests))
+    (propagated-inputs
+     (list python-typing-extensions
+           python-uncertainties))
     (home-page "https://github.com/hgrecco/pint";)
     (synopsis "Physical quantities module")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]