Antonio Valentino pushed to branch master at Debian GIS Project / metpy


Commits:
845ecb57 by Antonio Valentino at 2026-01-20T07:31:37+00:00
Improve 0003-xarray-v2025.12.0-compat.patch

- - - - -
1ea68dba by Antonio Valentino at 2026-01-20T07:31:57+00:00
Set diatribution to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/patches/0003-xarray-v2025.12.0-compat.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+metpy (1.7.1+ds-3) unstable; urgency=medium
+
+  * debian/patches:
+    - Improve 0003-xarray-v2025.12.0-compat.patch.
+
+ -- Antonio Valentino <[email protected]>  Tue, 20 Jan 2026 
07:31:44 +0000
+
 metpy (1.7.1+ds-2) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/patches/0003-xarray-v2025.12.0-compat.patch
=====================================
@@ -2,7 +2,7 @@ From: Antonio Valentino <[email protected]>
 Date: Sun, 18 Jan 2026 17:07:50 +0000
 Subject: xarray v2025.12.0 compat
 
-Mark as xfail tests that are expected not to work with
+Skip tests that are expected not to work with
 xarray >= v2025.12.0
 
 Forwarded: https://github.com/Unidata/MetPy/issues/3978
@@ -12,26 +12,26 @@ Forwarded: https://github.com/Unidata/MetPy/issues/3978
  2 files changed, 2 insertions(+)
 
 diff --git a/tests/calc/test_cross_sections.py 
b/tests/calc/test_cross_sections.py
-index dbf65e7..4e3e864 100644
+index dbf65e7..24b4c14 100644
 --- a/tests/calc/test_cross_sections.py
 +++ b/tests/calc/test_cross_sections.py
 @@ -304,6 +304,7 @@ def test_absolute_momentum_given_lonlat(test_cross_lonlat):
      assert_xarray_allclose(momentum, true_momentum)
  
  
[email protected]
[email protected](xr.__version__ >= "2025.12.0", reason="incompatible 
xarray version")
  def test_absolute_momentum_given_xy(test_cross_xy):
      """Test absolute momentum calculation."""
      momentum = absolute_momentum(test_cross_xy['u_wind'], 
test_cross_xy['v_wind'])
 diff --git a/tests/test_xarray.py b/tests/test_xarray.py
-index a4c62fe..074fd60 100644
+index a4c62fe..482421a 100644
 --- a/tests/test_xarray.py
 +++ b/tests/test_xarray.py
 @@ -222,6 +222,7 @@ def test_dequantify():
      assert result.attrs['standard_name'] == 'air_temperature'
  
  
[email protected]
[email protected](xr.__version__ >= "2025.12.0", reason="incompatible 
xarray version")
  def test_dataset_quantify(test_ds_generic):
      """Test quantify method for converting data to Quantity on Datasets."""
      result = test_ds_generic.metpy.quantify()



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/metpy/-/compare/2fdd0a2f49e734c7a1313b3e6177e4d46ac98ea7...1ea68dba86a3325c3eb7dc4a2e2915a35b81e397

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/metpy/-/compare/2fdd0a2f49e734c7a1313b3e6177e4d46ac98ea7...1ea68dba86a3325c3eb7dc4a2e2915a35b81e397
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to