Debian Patches

Status for python-cassandra-driver/3.29.2-5

Patch Description Author Forwarded Bugs Origin Last update
Make_unittests_loadable.patch UnitTest cannot be run at all without CCM
Because this third party module is imported from __init__ files breaking
nose while analysing available test (so --ignore-file cannot help)
Adam Cecile <acecile@le-vert.net> no 2021-02-04
Disable_GitHub_links_in_doc.patch Disable_GitHub_links_in_doc Adam Cecile <acecile@le-vert.net> no 2021-02-04
0003-Skip-tests-that-fails-on-i386-arch.patch Skip tests that fails on i386 arch
This test fail on i386 arch. This is a hotfix to try to have a new upstream
release before Debian Freeze. Need investigation.
Emmanuel Arias <eamanu@yaerobi.com> yes upstream 2021-02-04
0005-Skip-test_multi_timer_validation-flaky-test.patch Skip test_multi_timer_validation flaky test Emmanuel Arias <eamanu@yaerobi.com> yes debian upstream 2022-05-26
0006-relax_vesioned_cython_dependency.patch Relax versioned Depends from cython Andreas Tille <tille@debian.org> no debian 2024-01-27
drop-nose-sure no
0007-Remove-trailing-from-python_version-if-any.patch Remove trailing '+' from python_version, if any
Fix the following test failure:

```
_ ERROR collecting .pybuild/cpython3_3.12_cassandra/build/tests/unit/io/test_asyncorereactor.py _
tests/unit/io/test_asyncorereactor.py:65: in <module>
has_asyncore = Version(platform.python_version()) < Version("3.12.0")
/usr/lib/python3/dist-packages/packaging/version.py:202: in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
E packaging.version.InvalidVersion: Invalid version: '3.12.7+'
```

Reported at https://bugs.debian.org/1087011
Arnaud Rebillout <arnaudr@kali.org> no 2024-11-08
remove-obsolete-code-to-fix-libevwrapper.patch Remove obsolete code to fix ext libevwrapper

On Python3.13 the build of libevwrapper extension fails with:
cassandra/ioutils.c:2757:35: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
2757 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
| ^
cassandra/io/libevwrapper.c: In function ‘PyInit_libevwrapper’:
cassandra/io/libevwrapper.c:668:10: error: implicit declaration of function ‘PyEval_ThreadsInitialized’ [-Wimplicit-function-declaration]
668 | if (!PyEval_ThreadsInitialized()) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cassandra/io/libevwrapper.c:669:9: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
669 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:124,
from cassandra/io/libevwrapper.c:1:
/usr/include/python3.13/ceval.h:114:37: note: declared here
114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
Appending libev extension <setuptools.extension.Extension('cassandra.io.libevwrapper') at 0x7f011a627110>command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
/build/python-cassandra-driver-3E8egh/python-cassandra-driver-3.29.2/setup.py:278: UserWarning:
===============================================================================

As PyEval_InitThreads is a deprecated function which does nothing since
Python 3.9, we can remove the code.
Sophie Brun <sophie@offensive-security.com> no 2025-02-13
0008-Increase-difference-on-rv64.patch increase the difference range on riscv64 workaround on riscv64 because it is slow at this moment Bo YU <vimer@debian.org> yes upstream 2025-02-18

All known versions for source package 'python-cassandra-driver'

Links