summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2023-05-21 05:37:25 +0000
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-03 22:32:59 -0400
commitc6dcec13b179b27ec912dd497c8a20fbd4413df2 (patch)
tree3d168195a72196eee58a95faef11a7c3fff14a68 /gnu
parentc8ef26fecc98c37bfe6a5ee1c24779685795d087 (diff)
downloadguix-c6dcec13b179b27ec912dd497c8a20fbd4413df2.tar.gz
gnu: python-pint: Fix build.
* gnu/packages/python-xyz (python-pint)[build-system]: Switch to
pyproject-build-system.
[arguments]: Skip a failing test.
[native-inputs]: Sort alphabetically and add python-importlib-metadata.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3373afb9a9..a950de3b46 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1191,17 +1191,21 @@ Markdown.  All extensions are found under the module namespace of pymdownx.")
               (sha256
                (base32
                 "0rv0cbala7ibjbaf6kkcn0mdhqdbajnvlcw0f15gwzfwg10g0z1q"))))
-    (build-system python-build-system)
+    (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-pytest                ;for pytest-subtests
+     (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-dask
-           python-xarray
-           python-distributed))
+           python-xarray))
     (home-page "https://github.com/hgrecco/pint")
     (synopsis "Physical quantities module")
     (description