[Git][debian-gis-team/python-rtree][master] Add upstream patch to fix FTBFS with spatialindex 2.0.0.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue May 28 20:33:18 BST 2024



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


Commits:
2ce65aeb by Bas Couwenberg at 2024-05-28T21:26:59+02:00
Add upstream patch to fix FTBFS with spatialindex 2.0.0.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/index-version.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 python-rtree (1.2.0-2) UNRELEASED; urgency=medium
 
   * Use pybuild to get build_dir path.
+  * Add upstream patch to fix FTBFS with spatialindex 2.0.0.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 11 May 2024 21:09:01 +0200
 


=====================================
debian/patches/index-version.patch
=====================================
@@ -0,0 +1,20 @@
+Description: drop version testing. not valuable (#313)
+Author: Howard Butler <hobu.inc at gmail.com>
+Origin: https://github.com/Toblerity/rtree/commit/9a08ab91a8253b8f006d176ed698c948987e471e
+Bug: https://github.com/Toblerity/rtree/issues/312
+
+--- a/tests/test_index.py
++++ b/tests/test_index.py
+@@ -42,12 +42,6 @@ class IndexTestCase(unittest.TestCase):
+         assert next(rtree_test.intersection([1, 1, 1, 2, 2, 2])) == 1564
+ 
+ 
+-class IndexVersion(unittest.TestCase):
+-    def test_libsidx_version(self) -> None:
+-        self.assertTrue(index.major_version == 1)
+-        self.assertTrue(index.minor_version >= 7)
+-
+-
+ class IndexCount(unittest.TestCase):
+     def setUp(self) -> None:
+         self.boxes15 = np.genfromtxt("boxes_15x15.data")


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+index-version.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/commit/2ce65aeb904687d1f9ba963f67d8d9f85c874260

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/commit/2ce65aeb904687d1f9ba963f67d8d9f85c874260
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/20240528/3d80479d/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list