all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 63623@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#63623] [PATCH 3/4] gnu: python-pint: Fix build.
Date: Sun, 21 May 2023 05:37:25 +0000	[thread overview]
Message-ID: <20230521053726.1507055-3-monego@posteo.net> (raw)
In-Reply-To: <20230521053726.1507055-1-monego@posteo.net>

* 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.
---
 gnu/packages/python-xyz.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3788cefda2..3dba197a94 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1066,17 +1066,21 @@ (define-public python-pint
               (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
-- 
2.34.1





  parent reply	other threads:[~2023-05-21  5:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-21  5:35 [bug#63623] [PATCH 0/4] Add MetPy Vinicius Monego
2023-05-21  5:37 ` [bug#63623] [PATCH 1/4] gnu: python-sparse: Fix build Vinicius Monego
2023-05-21  5:37   ` [bug#63623] [PATCH 2/4] gnu: python-sparse: Update to 0.14.0 Vinicius Monego
2023-05-21  5:37   ` Vinicius Monego [this message]
2023-05-21  5:37   ` [bug#63623] [PATCH 4/4] gnu: Add python-metpy Vinicius Monego
2023-09-04  3:22 ` bug#63623: [PATCH 0/4] Add MetPy Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230521053726.1507055-3-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=63623@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.