[Git][debian-gis-team/kerchunk][master] 5 commits: Add dependency on python3-s3fs

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Mar 1 10:22:44 GMT 2026



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


Commits:
fd366e5f by Antonio Valentino at 2026-03-01T10:30:42+01:00
Add dependency on python3-s3fs

- - - - -
24cafb69 by Antonio Valentino at 2026-03-01T10:21:44+00:00
Exclude tests that are broken on BE archiectures

- - - - -
afa7d66b by Antonio Valentino at 2026-03-01T10:21:51+00:00
Update 0002-No-internet.patch

- - - - -
acac1e4e by Antonio Valentino at 2026-03-01T10:21:52+00:00
Enable verbose test output

- - - - -
c14bce8e by Antonio Valentino at 2026-03-01T10:22:19+00:00
Set distribution to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/0002-No-internet.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+kerchunk (0.2.9-3) unstable; urgency=medium
+
+  * debian/control:
+    - Add dependency on python3-s3fs.
+  * debian/rules:
+    - Re-enable tasts using s3fs.
+    - Exclude tests that are broken on BE architectures.
+  * debian/patches:
+    - Update 0002-No-internet.patch.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 01 Mar 2026 10:21:57 +0000
+
 kerchunk (0.2.9-2) unstable; urgency=medium
 
   * Update dates in d/copyright.


=====================================
debian/control
=====================================
@@ -21,6 +21,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-numpy,
                python3-numpydoc <!nodoc>,
                python3-pytest <!nocheck>,
+               python3-s3fs <!nocheck>,
                python3-scipy,
                python3-setuptools,
                python3-setuptools-scm,
@@ -81,7 +82,8 @@ Recommends: python3-cfgrib,
             python3-xarray
 Suggests: python3-aiohttp,
           python3-dask,
-          python3-netcdf4
+          python3-netcdf4,
+	  python3-s3fs
 Description: ${source:Synopsis}
  ${source:Extended-Description}
 


=====================================
debian/patches/0002-No-internet.patch
=====================================
@@ -6,7 +6,9 @@ Forwarded: not-needed
 ---
  pytest.ini         | 1 +
  tests/test_fits.py | 2 ++
- 2 files changed, 3 insertions(+)
+ tests/test_grib.py | 3 +++
+ tests/test_hdf.py  | 3 +++
+ 4 files changed, 9 insertions(+)
 
 diff --git a/pytest.ini b/pytest.ini
 index e83bb17..2187902 100644
@@ -36,3 +38,59 @@ index 78f9249..a26e840 100644
  def test_ascii_table():
      # this one directly hits a remote server - should cache?
      url = "https://fits.gsfc.nasa.gov/samples/WFPC2u5780205r_c0fx.fits"
+diff --git a/tests/test_grib.py b/tests/test_grib.py
+index 2c5387f..add7b5a 100644
+--- a/tests/test_grib.py
++++ b/tests/test_grib.py
+@@ -54,6 +54,7 @@ def _fetch_first(url):
+             return data
+ 
+ 
++ at pytest.mark.remotedata
+ @pytest.mark.parametrize(
+     "url",
+     [
+@@ -283,6 +284,7 @@ def test_parse_grib_idx_invalid_url():
+         )
+ 
+ 
++ at pytest.mark.remotedata
+ def test_parse_grib_idx_no_file():
+     with pytest.raises(PermissionError):
+         # the url is spelled wrong
+@@ -300,6 +302,7 @@ def test_parse_grib_idx_duplicate_attrs():
+         parse_grib_idx(fn, validate=True)
+ 
+ 
++ at pytest.mark.remotedata
+ @pytest.mark.parametrize(
+     "idx_url, storage_options",
+     [
+diff --git a/tests/test_hdf.py b/tests/test_hdf.py
+index b40cdc0..a3b14bd 100644
+--- a/tests/test_hdf.py
++++ b/tests/test_hdf.py
+@@ -21,6 +21,7 @@ from kerchunk.utils import fs_as_store, refs_as_fs, refs_as_store
+ here = osp.dirname(__file__)
+ 
+ 
++ at pytest.mark.remotedata
+ def test_single():
+     """Test creating references for a single HDF file"""
+     url = "s3://noaa-nwm-retro-v2.0-pds/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp"
+@@ -41,6 +42,7 @@ def test_single():
+         xr.testing.assert_equal(ds.drop_vars("crs"), expected.drop_vars("crs"))
+ 
+ 
++ at pytest.mark.remotedata
+ def test_single_direct_open():
+     """Test creating references by passing the url directly to SingleHdf5ToZarr for a single HDF file"""
+     url = "s3://noaa-nwm-retro-v2.0-pds/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp"
+@@ -82,6 +84,7 @@ urls = [
+ so = dict(anon=True, default_fill_cache=False, default_cache_type="first")
+ 
+ 
++ at pytest.mark.remotedata
+ def test_multizarr(generate_mzz):
+     """Test creating a combined reference file with MultiZarrToZarr"""
+     mzz = generate_mzz


=====================================
debian/rules
=====================================
@@ -1,19 +1,11 @@
 #! /usr/bin/make -f
 
-export PYBUILD_NAME=kerchunk
+include /usr/share/dpkg/architecture.mk
 
-# python3-s3fs module not available on Debian
-SKIP_ARGS=not test_median \
-and not test_single \
-and not test_single_direct_open \
-and not test_parse_grib_idx_no_file \
-and not test_archives \
-and not test_parse_grib_idx_content \
-and not test_multizarr
+export PYBUILD_NAME=kerchunk
 
 # python3-fastparquet module not available in Debian
-SKIP_ARGS +=\
-and not test_single_append_parquet \
+SKIP_ARGS=not test_single_append_parquet \
 and not test_zarr_combine
 
 # tests requiring hdf5 plugins
@@ -27,7 +19,14 @@ and not test_compound_string_null \
 and not test_compound_string_encode \
 and not test_var
 
-export PYBUILD_TEST_ARGS=-m "not remotedata" -k "${SKIP_ARGS}" $(CURDIR)/tests
+ifneq (,$(filter $(DEB_BUILD_ARCH),s390x))
+SKIP_ARGS +=\
+and not test_times[time-expected0] \
+and not test_cftimes_to_normal \
+and not test_hrrr_subhf_corrected_grib_tree
+endif
+
+export PYBUILD_TEST_ARGS=-v -m "not remotedata" -k "${SKIP_ARGS}" $(CURDIR)/tests
 export PYBUILD_AFTER_TEST=${RM} -r {dir}/tests/__pycache__
 
 %:



View it on GitLab: https://salsa.debian.org/debian-gis-team/kerchunk/-/compare/dd18788d97cab79517fc395c926e4e221500885e...c14bce8e6687d9266aede4d6505cba95d9164a85

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/kerchunk/-/compare/dd18788d97cab79517fc395c926e4e221500885e...c14bce8e6687d9266aede4d6505cba95d9164a85
You're receiving this email because of your account on salsa.debian.org.


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


More information about the Pkg-grass-devel mailing list