[Git][debian-gis-team/xcube-resampling][master] 6 commits: New upstream version 0.3.5

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Jul 18 21:42:20 BST 2026



Antonio Valentino pushed to branch master at Debian GIS Project / xcube-resampling


Commits:
0f445572 by Antonio Valentino at 2026-07-18T20:28:50+00:00
New upstream version 0.3.5
- - - - -
b7ffe363 by Antonio Valentino at 2026-07-18T20:29:31+00:00
Update upstream source from tag 'upstream/0.3.5'

Update to upstream version '0.3.5'
with Debian dir 11a25c172a4365bedd66305e3176b52a1e68c5e5
- - - - -
439e7853 by Antonio Valentino at 2026-07-18T20:30:08+00:00
New upstream release

- - - - -
02d0de20 by Antonio Valentino at 2026-07-18T20:31:15+00:00
Refresh all patches

- - - - -
920a5655 by Antonio Valentino at 2026-07-18T20:38:28+00:00
New d/python3-xcube-resampling.lintian-overrides

- - - - -
a78ae70e by Antonio Valentino at 2026-07-18T20:38:28+00:00
Set distribution to unstable

- - - - -


7 changed files:

- CHANGES.md
- debian/changelog
- debian/patches/0001-No-numba.patch
- + debian/python3-xcube-resampling.lintian-overrides
- xcube_resampling/rectify.py
- xcube_resampling/utils.py
- xcube_resampling/version.py


Changes:

=====================================
CHANGES.md
=====================================
@@ -1,13 +1,20 @@
+## Changes in 0.3.5
+
+- Fixed a bug in `rectify_dataset` where the conversion from block-space indices to 
+  global-space indices was incorrect when `output_indices_names` was provided.
+
 ## Changes in 0.3.4
 
 - Added `utils.transform_resolution` to convert spatial resolution between coordinate 
   reference systems (CRS).
 
+
 ## Changes in 0.3.3
 
 - Added function `utils.resolution_degrees_to_meters` to convert spatial resolution
   from degrees to meters at a given geographic latitude.
 
+
 ## Changes in 0.3.2
 
 - Change inconsistent license classifier in `pyproject.toml` 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+xcube-resampling (0.3.5-1) unstable; urgency=medium
+
+  * New upstream release.
+  * debian/patches:
+    - Refresh all patches.
+  * New d/python3-xcube-resampling.lintian-overrides.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 18 Jul 2026 20:31:55 +0000
+
 xcube-resampling (0.3.4-1) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/patches/0001-No-numba.patch
=====================================
@@ -69,7 +69,7 @@ index a3e786d..05b47e6 100644
  
  _ALL = slice(None)
 diff --git a/xcube_resampling/rectify.py b/xcube_resampling/rectify.py
-index 5bbb9f3..c7e4e25 100644
+index 5e9060e..89f38fc 100644
 --- a/xcube_resampling/rectify.py
 +++ b/xcube_resampling/rectify.py
 @@ -23,7 +23,10 @@ import os


=====================================
debian/python3-xcube-resampling.lintian-overrides
=====================================
@@ -0,0 +1,2 @@
+# False positive
+package-contains-documentation-outside-usr-share-doc [usr/lib/python3/*-packages/*-info/*.txt]


=====================================
xcube_resampling/rectify.py
=====================================
@@ -287,7 +287,7 @@ def _downscale_source_dataset(
     interp_methods: Mapping[Hashable, SpatialInterpMethod],
     agg_methods: SpatialAggMethods | None,
     prevent_nan_propagations: PreventNaNPropagations,
-) -> (xr.Dataset, GridMapping):
+) -> tuple[xr.Dataset, GridMapping]:
     if all(v in (0, "nearest") for v in interp_methods.values()):
         return source_ds, source_gm
 


=====================================
xcube_resampling/utils.py
=====================================
@@ -851,10 +851,10 @@ def _map_to_source_indices(pixel_target_ij, indexing):
     """
     offsets_x = da.zeros_like(pixel_target_ij[0])
     offsets_y = da.zeros_like(pixel_target_ij[1])
+    th = offsets_x.chunksize[0]
+    tw = offsets_x.chunksize[1]
 
     ny, nx = indexing.ij_bboxes.shape[1:]
-    th, tw = indexing.tile_size
-
     for j in range(ny):
         for i in range(nx):
             bbox = indexing.ij_bboxes[:, j, i]


=====================================
xcube_resampling/version.py
=====================================
@@ -19,4 +19,4 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
-__version__ = "0.3.4"
+__version__ = "0.3.5"



View it on GitLab: https://salsa.debian.org/debian-gis-team/xcube-resampling/-/compare/f9670801ba99caa36baaa005b9aaed9b568a6c66...a78ae70ee103c90dc3d3d0ee332f8c275c57f3a4

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/xcube-resampling/-/compare/f9670801ba99caa36baaa005b9aaed9b568a6c66...a78ae70ee103c90dc3d3d0ee332f8c275c57f3a4
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260718/733bf0d0/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list