Package: python-pairix / 0.3.8-1

Metadata

Package Version Patches format
python-pairix 0.3.8-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
python3.10 | (download)

test/test_oldindex.py | 125 65 60 - 0 !
test/test_oldindex2.py | 125 65 60 - 0 !
2 files changed, 130 insertions( ), 120 deletions(-)

 avoid a python3.10 regression in iterating gzipfiles
 Open the file with a context manager, so we're holding onto a reference to it,
 for the lifetime of the iteration.
 This avoids hitting https://bugs.python.org/issue45475 which affects
 python3.10 3.10.0-4 in Debian.

Bug-Debian: https://bugs.debian.org/999381
Bug-cpython: https://bugs.python.org/issue45475
gcc 14.patch | (download)

src/index.c | 14 7 7 - 0 !
src/pairixmodule.c | 2 1 1 - 0 !
2 files changed, 8 insertions( ), 8 deletions(-)

 fix various incompatible pointer types.
 This patch fixes a bunch of type error like the following by casting
 the expected types, working around gcc warnings that have gone fatal in
 gcc 14:
 .
 	src/index.c:1263:59: error: passing argument 2 of ti_querys_2d_multi from incompatible pointer type
 	 [-Wincompatible-pointer-types]
 	 1263 |          sequential_iter_t *siter = ti_querys_2d_multi(t, regions, n_sub_list);
 	      |                                                           ^~~~~~~
 	      |                                                           |
 	      |                                                           char **
 	src/pairix.h:131:73: note: expected const char ** but argument is of type char **