[Git][debian-gis-team/python-rtree][master] 2 commits: Add patch to fix FTBFS on i386.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Oct 17 04:52:40 BST 2023



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


Commits:
11626b6a by Bas Couwenberg at 2023-10-17T05:51:38+02:00
Add patch to fix FTBFS on i386.

- - - - -
3d7d94ed by Bas Couwenberg at 2023-10-17T05:52:28+02:00
Use --pyargs for built library.

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/series
- + debian/patches/test_index.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+python-rtree (1.1.0-2) UNRELEASED; urgency=medium
+
+  * Add patch to fix FTBFS on i386.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 17 Oct 2023 05:47:08 +0200
+
 python-rtree (1.1.0-1) unstable; urgency=medium
 
   * New upstream release.


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


=====================================
debian/patches/test_index.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Skip test failing on i386.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/Toblerity/rtree/pull/290
+
+--- a/tests/test_index.py
++++ b/tests/test_index.py
+@@ -2,6 +2,7 @@ from __future__ import annotations
+ 
+ import ctypes
+ import pickle
++import sys
+ import tempfile
+ import unittest
+ from typing import Iterator
+@@ -451,6 +452,10 @@ class IndexSerialization(unittest.TestCa
+         self.assertTrue(len(hits), 10)
+         self.assertEqual(hits, [0, 4, 16, 27, 35, 40, 47, 50, 76, 80])
+ 
++    @pytest.mark.skipif(
++        not sys.maxsize > 2**32,
++        reason="Fails on 32bit systems",
++    )
+     def test_interleaving(self) -> None:
+         """Streaming against a persisted index without interleaving"""
+ 


=====================================
debian/rules
=====================================
@@ -5,6 +5,9 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=rtree
+ifeq ($(PYBUILD_AUTOPKGTEST),1)
+export PYBUILD_TEST_ARGS=-vv --pyargs ${PYBUILD_NAME}
+endif
 
 %:
 	dh $@ --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/compare/fc96b5051298d704bcae46bab9b4acf7b9ae8c84...3d7d94edaeba135bc232e62ca6d47b5a010b19de

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/compare/fc96b5051298d704bcae46bab9b4acf7b9ae8c84...3d7d94edaeba135bc232e62ca6d47b5a010b19de
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/20231017/36a0ac4c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list