Bas Couwenberg pushed to branch master at Debian GIS Project / rasterio
Commits: 592b2311 by Bas Couwenberg at 2025-02-22T09:35:43+01:00 Add patch to fix FTBFS with click 8.2. (closes: #1098622) - - - - - fb017cc0 by Bas Couwenberg at 2025-02-22T09:46:59+01:00 Update lintian overrides. - - - - - cf659999 by Bas Couwenberg at 2025-02-22T09:46:59+01:00 Set distribution to unstable. - - - - - 4 changed files: - debian/changelog - + debian/patches/click-8.2.patch - debian/patches/series - debian/python3-rasterio.lintian-overrides Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +rasterio (1.4.3-2) unstable; urgency=medium + + * Team upload. + * Add patch to fix FTBFS with click 8.2. + (closes: #1098622) + * Update lintian overrides. + + -- Bas Couwenberg <[email protected]> Sat, 22 Feb 2025 09:26:21 +0100 + rasterio (1.4.3-1) unstable; urgency=medium * Team upload. ===================================== debian/patches/click-8.2.patch ===================================== @@ -0,0 +1,39 @@ +Description: Fix FTBFS with click 8.2. +Author: Bas Couwenberg <[email protected]> +Bug-Debian: https://bugs.debian.org/1098622 +Forwarded: not-needed + +--- a/tests/test_rio_create.py ++++ b/tests/test_rio_create.py +@@ -1,5 +1,7 @@ + """Tests of rio create.""" + ++import pytest ++ + import rasterio + from rasterio.crs import CRS + from rasterio.io import MemoryFile +@@ -346,6 +348,7 @@ def test_create_no_overwrite(tmp_path, r + assert "File exists and won't be overwritten" in result.output + + [email protected](strict=False, reason="Fails with click 8.2") + def test_create_overwrite(tmp_path, runner): + """Allow overwrite of existing file with option.""" + outpath = tmp_path.joinpath("out.tif") +@@ -397,6 +400,7 @@ def test_create_no_overwrite_nonfile(run + assert "Object exists and won't be overwritten" in result.output + + [email protected](strict=False, reason="Fails with click 8.2") + def test_create_overwrite_nonfile(runner): + """Allow overwrite of existing non-file with option.""" + with MemoryFile(bytes(bytearray(100000))) as memfile: +@@ -454,6 +458,7 @@ def test_create_no_overwrite_nonfile_2(p + assert memfile.read(1024) == data[:1024] + + [email protected](strict=False, reason="Fails with click 8.2") + def test_create_overwrite_nonfile_2(path_rgb_byte_tif, runner): + """Allow overwrite of existing non-file dataset with option.""" + with open(path_rgb_byte_tif, "rb") as dataset: ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ 0001-Rename-rio-to-rasterio-Closes-788463.patch +click-8.2.patch ===================================== debian/python3-rasterio.lintian-overrides ===================================== @@ -1,3 +1,6 @@ +# False positive (#1094364) +missing-dependency-on-numpy-abi * + # False positive package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/*.dist-info/*.txt] View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/-/compare/ad9ff91159836b1304f1bd690813eaa821f9b7b1...cf65999930781665757bb427f669535f5281942e -- View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/-/compare/ad9ff91159836b1304f1bd690813eaa821f9b7b1...cf65999930781665757bb427f669535f5281942e 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
