Skip to content

tests/integration/standard/test_types.py::TypeTestsVector should be enabled for modern Scylla versions #693

@mykaul

Description

@mykaul

They pass for both 2025.4.0 and 2026.1, but right now skipped due to greaterthanorequalcass50 fixture.

======================================================================================================================================== 17 passed, 14 skipped, 3 warnings in 51.39s =========================================================================================================================================
(scylla-driver) ykaul@ykaul:~/github/python-driver$ SCYLLA_VERSION=release:2026.1 pytest -v tests/integration/standard/test_types.py::TypeTestsVector
==================================================================================================================================================== test session starts =====================================================================================================================================================
platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 -- /home/ykaul/github/python-driver/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /home/ykaul/github/python-driver
configfile: pyproject.toml
collected 10 items                                                                                                                                                                                                                                                                                                           

tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_collections PASSED                                                                                                                                                                                                                          [ 10%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_date_and_time PASSED                                                                                                                                                                                                                        [ 20%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_floating_point PASSED                                                                                                                                                                                                                       [ 30%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_integers PASSED                                                                                                                                                                                                                             [ 40%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_miscellany PASSED                                                                                                                                                                                                                           [ 50%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_text PASSED                                                                                                                                                                                                                                 [ 60%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_tuples PASSED                                                                                                                                                                                                                               [ 70%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_udts PASSED                                                                                                                                                                                                                                 [ 80%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_uuid PASSED                                                                                                                                                                                                                                 [ 90%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_vector_of_vectors PASSED                                                                                                                                                                                                                    [100%]

====================================================================================================================================================== warnings summary ======================================================================================================================================================
cassandra/io/eventletreactor.py:18
  /home/ykaul/github/python-driver/cassandra/io/eventletreactor.py:18: DeprecationWarning: 
  Eventlet is deprecated. It is currently being maintained in bugfix mode, and
  we strongly recommend against using it for new projects.
  
  If you are already using Eventlet, we recommend migrating to a different
  framework.  For more detail see
  https://eventlet.readthedocs.io/en/latest/asyncio/migration.html
  
    import eventlet

.venv/lib64/python3.14/site-packages/eventlet/green/OpenSSL/crypto.py:1
.venv/lib64/python3.14/site-packages/eventlet/green/OpenSSL/crypto.py:1
  /home/ykaul/github/python-driver/.venv/lib64/python3.14/site-packages/eventlet/green/OpenSSL/crypto.py:1: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
    from OpenSSL.crypto import *

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================================================================================= 10 passed, 3 warnings in 70.58s (0:01:10) ==========================================================================================================================================
(scylla-driver) ykaul@ykaul:~/github/python-driver$ SCYLLA_VERSION=release:2025.4 pytest -v tests/integration/standard/test_types.py::TypeTestsVector
==================================================================================================================================================== test session starts =====================================================================================================================================================
platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 -- /home/ykaul/github/python-driver/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /home/ykaul/github/python-driver
configfile: pyproject.toml
collected 10 items                                                                                                                                                                                                                                                                                                           

tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_collections PASSED                                                                                                                                                                                                                          [ 10%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_date_and_time PASSED                                                                                                                                                                                                                        [ 20%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_floating_point PASSED                                                                                                                                                                                                                       [ 30%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_integers PASSED                                                                                                                                                                                                                             [ 40%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_miscellany PASSED                                                                                                                                                                                                                           [ 50%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_text PASSED                                                                                                                                                                                                                                 [ 60%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_tuples PASSED                                                                                                                                                                                                                               [ 70%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_udts PASSED                                                                                                                                                                                                                                 [ 80%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_uuid PASSED                                                                                                                                                                                                                                 [ 90%]
tests/integration/standard/test_types.py::TypeTestsVector::test_round_trip_vector_of_vectors PASSED                                                                                                                                                                                                                    [100%]

====================================================================================================================================================== warnings summary ======================================================================================================================================================
cassandra/io/eventletreactor.py:18
  /home/ykaul/github/python-driver/cassandra/io/eventletreactor.py:18: DeprecationWarning: 
  Eventlet is deprecated. It is currently being maintained in bugfix mode, and
  we strongly recommend against using it for new projects.
  
  If you are already using Eventlet, we recommend migrating to a different
  framework.  For more detail see
  https://eventlet.readthedocs.io/en/latest/asyncio/migration.html
  
    import eventlet

.venv/lib64/python3.14/site-packages/eventlet/green/OpenSSL/crypto.py:1
.venv/lib64/python3.14/site-packages/eventlet/green/OpenSSL/crypto.py:1
  /home/ykaul/github/python-driver/.venv/lib64/python3.14/site-packages/eventlet/green/OpenSSL/crypto.py:1: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
    from OpenSSL.crypto import *

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================================================================================= 10 passed, 3 warnings in 72.32s (0:01:12) ==========================================================================================================================================


(Yes, it's a bit slow for 10 tests to run for >1 minute, need to figure it out)
(Yes, it's strange that they do not test 1000+ sized vectors...)

I have a patch for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestintegration-testsIf this tag, this PR won't run integration tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions