Package: python-cassandra-driver / 3.29.2-6

Metadata

Package Version Patches format
python-cassandra-driver 3.29.2-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Make_unittests_loadable.patch | (download)

tests/integration/__init__.py | 5 3 + 2 - 0 !
tests/integration/upgrade/__init__.py | 5 4 + 1 - 0 !
tests/unit/test_host_connection_pool.py | 7 7 + 0 - 0 !
3 files changed, 14 insertions(+), 3 deletions(-)

 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)
Disable_GitHub_links_in_doc.patch | (download)

docs/themes/custom/theme.conf | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 disable_github_links_in_doc

0003 Skip tests that fails on i386 arch.patch | (download)

tests/unit/cython/types_testhelper.pyx | 2 2 + 0 - 0 !
tests/unit/test_types.py | 4 4 + 0 - 0 !
2 files changed, 6 insertions(+)

 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.

Bug: https://datastax-oss.atlassian.net/browse/PYTHON-1272

0005 Skip test_multi_timer_validation flaky test.patch | (download)

tests/unit/io/utils.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip test_multi_timer_validation flaky test

Bug: https://datastax-oss.atlassian.net/browse/PYTHON-1301
Bug-Debian: https://bugs.debian.org/1000612

0006 relax_vesioned_cython_dependency.patch | (download)

setup.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 relax versioned depends from cython
Bug-Debian: https://bugs.debian.org/1056852
drop nose sure | (download)

setup.py | 2 1 + 1 - 0 !
tests/integration/cqlengine/test_timestamp.py | 1 0 + 1 - 0 !
2 files changed, 1 insertion(+), 2 deletions(-)

---
0007 Remove trailing from python_version if any.patch | (download)

tests/unit/io/test_asyncorereactor.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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

remove obsolete code to fix libevwrapper.patch | (download)

cassandra/io/libevwrapper.c | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 remove obsolete code to fix ext libevwrapper
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


On Python3.13 the build of libevwrapper extension fails with:
0008 Increase difference on rv64.patch | (download)

tests/unit/test_metadata.py | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 increase the difference range on riscv64
 workaround on riscv64 because it is slow at this moment