Bas Couwenberg pushed to branch master at Debian GIS Project / python-stetl
Commits:
d70ea011 by Bas Couwenberg at 2023-12-12T09:49:24+01:00
Add patch to fix FTBFS with Python 3.12. (closes: #1058164)
- - - - -
062b2c8b by Bas Couwenberg at 2023-12-12T09:49:39+01:00
Set distribution to unstable.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/configparser.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-stetl (2.1-2) UNRELEASED; urgency=medium
+python-stetl (2.1-2) unstable; urgency=medium
* Bump Standards-Version to 4.6.2, no changes.
* Bump debhelper compat to 13.
@@ -8,8 +8,10 @@ python-stetl (2.1-2) UNRELEASED; urgency=medium
(closes: #1047464)
* Use execute_{before,after} instead of override in rules file.
* Switch to dh-sequence-*.
+ * Add patch to fix FTBFS with Python 3.12.
+ (closes: #1058164)
- -- Bas Couwenberg <[email protected]> Wed, 18 Jan 2023 17:17:21 +0100
+ -- Bas Couwenberg <[email protected]> Tue, 12 Dec 2023 09:49:27 +0100
python-stetl (2.1-1) unstable; urgency=medium
=====================================
debian/patches/configparser.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Use read_file() instead of readfp().
+ Fixes AttributeError with Python 3.12.
+Author: Bas Couwenberg <[email protected]>
+Bug-Debian: https://bugs.debian.org/1058164
+Forwarded: https://github.com/geopython/stetl/pull/128
+
+--- a/stetl/util.py
++++ b/stetl/util.py
+@@ -159,7 +159,7 @@ class Util:
+ raise StopIteration
+
+ cp = ConfigParser()
+- cp.readfp(FakeSecHead(open(file_path)))
++ cp.read_file(FakeSecHead(open(file_path)))
+ return cp._sections['asection']
+
+ @staticmethod
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+configparser.patch
View it on GitLab:
https://salsa.debian.org/debian-gis-team/python-stetl/-/compare/a99906ac1bcef1b07f5a4ba6a33522f5d1bb49e5...062b2c8ba1b169bb1e3818a79e5d5355e0e145d9
--
View it on GitLab:
https://salsa.debian.org/debian-gis-team/python-stetl/-/compare/a99906ac1bcef1b07f5a4ba6a33522f5d1bb49e5...062b2c8ba1b169bb1e3818a79e5d5355e0e145d9
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