[Git][debian-gis-team/python-geojson][master] 3 commits: Add upstream patch to fix FTFBS with python3.9. (closes: #973177)

Bas Couwenberg gitlab at salsa.debian.org
Tue Oct 27 18:20:44 GMT 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / python-geojson


Commits:
e4a5daf6 by Bas Couwenberg at 2020-10-27T19:10:20+01:00
Add upstream patch to fix FTFBS with python3.9. (closes: #973177)

- - - - -
0c569deb by Bas Couwenberg at 2020-10-27T19:16:51+01:00
Update lintian overrides.

- - - - -
7a6f7716 by Bas Couwenberg at 2020-10-27T19:16:51+01:00
Set distribution to unstable.

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
- + debian/patches/series
- − debian/source/lintian-overrides


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,14 @@
-python-geojson (2.5.0-3) UNRELEASED; urgency=medium
+python-geojson (2.5.0-3) unstable; urgency=medium
 
+  * Team upload.
   * Bump Standards-Version to 4.5.0, no changes.
   * Drop Name field from upstream metadata.
   * Bump debhelper compat to 10.
+  * Add upstream patch to fix FTFBS with python3.9.
+    (closes: #973177)
+  * Update lintian overrides.
 
- -- Bas Couwenberg <sebastic at debian.org>  Mon, 30 Sep 2019 19:52:04 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 27 Oct 2020 19:10:21 +0100
 
 python-geojson (2.5.0-2) unstable; urgency=medium
 


=====================================
debian/patches/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Remove encoding parameter from json.load for Python 3.9 compatibility. (#151)
+Author: Karthikeyan Singaravelan <tir.karthi at gmail.com>
+Origin: https://github.com/jazzband/geojson/commit/d88e32f1b05ad287a8d612e6f61ed7432fc72957
+Bug: https://github.com/jazzband/geojson/issues/150
+Bug-Debian: https://bugs.debian.org/973177
+
+--- a/tests/test_features.py
++++ b/tests/test_features.py
+@@ -82,7 +82,7 @@ class FeaturesTest(unittest.TestCase):
+                 ' "properties": {"summary": "The first feature",'
+                 ' "link": "http://example.org/features/1",'
+                 ' "title": "Feature 1"}}')
+-        feature = geojson.loads(json, object_hook=factory, encoding="utf-8")
++        feature = geojson.loads(json, object_hook=factory)
+         self.assertEqual(repr(type(feature)),
+                          "<class 'geojson.examples.SimpleWebFeature'>")
+         self.assertEqual(feature.id, '1')


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-Remove-encoding-parameter-from-json.load-for-Python-.patch


=====================================
debian/source/lintian-overrides deleted
=====================================
@@ -1,3 +0,0 @@
-# Not worth the effort
-testsuite-autopkgtest-missing
-



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geojson/-/compare/0fa9470ae5c0d26b974633fa1e2aa045a4adb5d7...7a6f77165a2bbbcba50117220cc08a01b7988525

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geojson/-/compare/0fa9470ae5c0d26b974633fa1e2aa045a4adb5d7...7a6f77165a2bbbcba50117220cc08a01b7988525
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/20201027/81bf2264/attachment-0001.html>


More information about the Pkg-grass-devel mailing list