GNU bug report logs - #63623
[PATCH 0/4] Add MetPy.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sun, 21 May 2023 05:37:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63623 in the body.
You can then email your comments to 63623 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63623; Package guix-patches. (Sun, 21 May 2023 05:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vinicius Monego <monego <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 21 May 2023 05:37:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 0/4] Add MetPy.
Date: Sun, 21 May 2023 05:35:42 +0000
Vinicius Monego (4):
  gnu: python-sparse: Fix build.
  gnu: python-sparse: Update to 0.14.0.
  gnu: python-pint: Fix build.
  gnu: Add python-metpy.

 gnu/packages/geo.scm        | 51 +++++++++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm | 22 +++++++++-------
 2 files changed, 64 insertions(+), 9 deletions(-)

-- 
2.34.1





Information forwarded to guix-patches <at> gnu.org:
bug#63623; Package guix-patches. (Sun, 21 May 2023 05:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 63623 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 63623 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 1/4] gnu: python-sparse: Fix build.
Date: Sun, 21 May 2023 05:37:23 +0000
* gnu/packages/python-xyz.scm (python-sparse)[native-inputs]: Add
python-importlib-metadata.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c7a31e40a1..9fbae71a6c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7036,8 +7036,8 @@ (define-public python-sparse
     (propagated-inputs
      (list python-numba python-numpy python-scipy))
     (native-inputs
-     (list python-dask python-pytest python-pytest-black
-           python-pytest-cov))
+     (list python-dask python-importlib-metadata python-pytest
+           python-pytest-black python-pytest-cov))
     (home-page "https://github.com/pydata/sparse/")
     (synopsis "Library for multi-dimensional sparse arrays")
     (description
-- 
2.34.1





Information forwarded to guix-patches <at> gnu.org:
bug#63623; Package guix-patches. (Sun, 21 May 2023 05:38:02 GMT) Full text and rfc822 format available.

Message #11 received at 63623 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 63623 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 2/4] gnu: python-sparse: Update to 0.14.0.
Date: Sun, 21 May 2023 05:37:24 +0000
* gnu/packages/python-xyz.scm (python-sparse): Update to 0.14.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9fbae71a6c..3788cefda2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7017,14 +7017,14 @@ (define-public python-colormath
 (define-public python-sparse
   (package
     (name "python-sparse")
-    (version "0.13.0")
+    (version "0.14.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sparse" version))
        (sha256
         (base32
-         "05ar1lhq1yy4nb78s7vpb1wz4ac4kj0r4lrd7yrf23kpmaacjpb8"))))
+         "1600xad37mff46xg80cy6bi3l2n6jm69j7sl19rzdmkcgyijfn2z"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.34.1





Information forwarded to guix-patches <at> gnu.org:
bug#63623; Package guix-patches. (Sun, 21 May 2023 05:38:03 GMT) Full text and rfc822 format available.

Message #14 received at 63623 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 63623 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 3/4] gnu: python-pint: Fix build.
Date: Sun, 21 May 2023 05:37:25 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#63623; Package guix-patches. (Sun, 21 May 2023 05:38:03 GMT) Full text and rfc822 format available.

Message #17 received at 63623 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 63623 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 4/4] gnu: Add python-metpy.
Date: Sun, 21 May 2023 05:37:26 +0000
* gnu/packages/geo.scm (python-metpy): New variable.
---
 gnu/packages/geo.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 345f9dfcf5..df898e462a 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1483,6 +1483,57 @@ (define-public imposm3
                license:bsd-2
                license:bsd-3))))
 
+(define-public python-metpy
+  (package
+    (name "python-metpy")
+    (version "1.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "MetPy" version))
+              (sha256
+               (base32
+                "0g9m8qb920mvi0kqw7vbagj08xvv96zj6gjyc7dawlvh15vb55qq"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Too many of the tests in the files below require online data.
+     (list
+      #:test-flags
+      #~(list "--ignore" "tests/io/test_nexrad.py"
+              "--ignore" "tests/plots/test_declarative.py"
+              "--ignore" "tests/io/test_gempak.py"
+              "--ignore" "tests/io/test_gini.py"
+              "--ignore" "tests/io/test_metar.py"
+              "--ignore" "tests/io/test_station_data.py"
+              "--ignore" "tests/interpolate/test_grid.py"
+              "--ignore" "tests/interpolate/test_points.py"
+              "--ignore" "tests/test_xarray.py"
+              "--ignore" "tests/calc/test_indices.py"
+              "--ignore" "tests/calc/test_kinematics.py"
+              "-k" (string-append       ; more tests that require online data
+                    "not test_parse_grid_arguments_xarray"
+                    " and not test_absolute_momentum_xarray_units_attr"
+                    " and not test_zoom_xarray"
+                    " and not test_parse_wpc_surface_bulletin"
+                    " and not test_add_timestamp_xarray"
+                    " and not test_parse_wpc_surface_bulletin_highres"))))
+    (propagated-inputs (list python-importlib-resources
+                             python-matplotlib
+                             python-numpy
+                             python-pandas
+                             python-pint
+                             python-pooch
+                             python-pyproj
+                             python-scipy
+                             python-traitlets
+                             python-xarray))
+    (native-inputs (list python-cartopy python-netcdf4 python-pytest
+                         python-pytest-mpl python-shapely))
+    (home-page "https://github.com/Unidata/MetPy")
+    (synopsis "Collection of tools to deal with weather data")
+    (description "MetPy is a collection of tools in Python for reading,
+visualizing and performing calculations with weather data.")
+    (license license:bsd-3)))
+
 (define-public libosmium
   (package
     (name "libosmium")
-- 
2.34.1





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 04 Sep 2023 03:23:01 GMT) Full text and rfc822 format available.

Notification sent to Vinicius Monego <monego <at> posteo.net>:
bug acknowledged by developer. (Mon, 04 Sep 2023 03:23:02 GMT) Full text and rfc822 format available.

Message #22 received at 63623-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Vinicius Monego <monego <at> posteo.net>
Cc: 63623-done <at> debbugs.gnu.org
Subject: Re: bug#63623: [PATCH 0/4] Add MetPy.
Date: Sun, 03 Sep 2023 23:22:04 -0400
Hi,

Vinicius Monego <monego <at> posteo.net> writes:

> Vinicius Monego (4):
>   gnu: python-sparse: Fix build.
>   gnu: python-sparse: Update to 0.14.0.
>   gnu: python-pint: Fix build.
>   gnu: Add python-metpy.

Installed :-).

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Oct 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 205 days ago.

Previous Next


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