[Git][debian-gis-team/rasterio][master] 2 commits: Add patch to fix FTBFS with pytest 8. (closes: #1066747)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Mar 13 16:12:03 GMT 2024
Bas Couwenberg pushed to branch master at Debian GIS Project / rasterio
Commits:
c3ed2c13 by Bas Couwenberg at 2024-03-13T17:04:26+01:00
Add patch to fix FTBFS with pytest 8. (closes: #1066747)
- - - - -
7274daa5 by Bas Couwenberg at 2024-03-13T17:04:42+01:00
Set distribution to unstable.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/pytest8.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,10 +1,12 @@
-rasterio (1.3.9-4) UNRELEASED; urgency=medium
+rasterio (1.3.9-4) unstable; urgency=medium
* Team upload.
* Replace gdal-3.8.patch with upstream changes.
* Update watch file to also ignore dev and alpha pre-releases.
+ * Add patch to fix FTBFS with pytest 8.
+ (closes: #1066747)
- -- Bas Couwenberg <sebastic at debian.org> Thu, 09 Nov 2023 18:27:05 +0100
+ -- Bas Couwenberg <sebastic at debian.org> Wed, 13 Mar 2024 17:04:28 +0100
rasterio (1.3.9-3) unstable; urgency=medium
=====================================
debian/patches/pytest8.patch
=====================================
@@ -0,0 +1,24 @@
+Description: Fix pytest.PytestRemovedIn8Warning: Passing None has been deprecated.
+ Fixed differently upstream:
+ https://github.com/rasterio/rasterio/commit/35a5906f57d42f67f79632fe5eb5523acdd42798#diff-c531a423f7f37b0393da578ac0fd60f3898505b55fc8feb3731041cff0578ff6
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/1066747
+Forwarded: not-needed
+
+--- a/tests/test_warnings.py
++++ b/tests/test_warnings.py
+@@ -1,3 +1,5 @@
++import warnings
++
+ import rasterio
+ from rasterio.errors import NodataShadowWarning, NotGeoreferencedWarning
+ from affine import Affine
+@@ -36,7 +38,7 @@ def test_no_notgeoref_warning(transform,
+ if rpcs:
+ src.rpcs = rpcs
+
+- with pytest.warns(None) as record:
++ with warnings.catch_warnings(record=True) as record:
+ with mem.open() as dst:
+ pass
+
=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ spelling-errors.patch
boto.patch
no-distutils.patch
gdal-3.8.patch
+pytest8.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/-/compare/91fbbfb5db3ac5b0cc3da3e3b669f12d3f732563...7274daa570fa30d05bae81145854891136414dd3
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/-/compare/91fbbfb5db3ac5b0cc3da3e3b669f12d3f732563...7274daa570fa30d05bae81145854891136414dd3
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/20240313/05c8a613/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list