scylladb / python-driver-matrix

3 stars 11 forks source link

Can't run scylla-driver 3.26.1 release #53

Closed fruch closed 1 year ago

fruch commented 1 year ago
17:58:33  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
17:58:34  ImportError while loading conftest '/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-scylla/tests/integration/conftest.py'.
17:58:34  tests/integration/__init__.py:369: in <module>
17:58:34      requirescollectionindexes = unittest.skipUnless(SCYLLA_VERSION is None or Version(SCYLLA_VERSION.split(':')[1]) >= Version('5.2'), 'Test requires Scylla >= 5.2 or Cassandra')
17:58:34  E   IndexError: list index out of range
fruch commented 1 year ago

@Lorak-mmk I think the assumption that SCYLLA_VERSION is always an actual version is wrong, is some cases it can be anything, and in the driver matrix CI it's the hash of the version.

if we want to skip base on a version, it need to be at runtime when we have CCM cluster available to query the version.