chore(ci): skip scylla module tests on Python 3.14 by Tranquility2 · Pull Request #1036 · testcontainers/testcontainers-python · GitHub
Skip to content

chore(ci): skip scylla module tests on Python 3.14#1036

Closed
Tranquility2 wants to merge 1 commit into
mainfrom
fix/scylla-skip-py314-ci
Closed

chore(ci): skip scylla module tests on Python 3.14#1036
Tranquility2 wants to merge 1 commit into
mainfrom
fix/scylla-skip-py314-ci

Conversation

@Tranquility2

Copy link
Copy Markdown
Contributor

Problem

test (3.14, scylla) fails with:

ModuleNotFoundError: No module named 'cassandra'

cassandra-driver is gated by python_version < '3.14' in two places in pyproject.toml:

scylla = ["cassandra-driver>=3; python_version < '3.14'"]
...
test = ["cassandra-driver>=3; python_version < '3.14'", ...]

So on Python 3.14 the driver isn't installed, but the matrix still attempts to run scylla tests, which import cassandra.cluster at runtime inside ScyllaContainer._connect().

Fix

Exclude the (3.14, scylla) combination from the test matrix to reflect the existing dependency constraint.

Note

The cassandra module has the same dependency constraint and may need the same treatment, but is left out of this PR since CI does not currently flag it (likely not in changed_modules for recent PRs).

@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

@Tranquility2 Tranquility2 self-assigned this Jun 5, 2026
@Tranquility2 Tranquility2 changed the title ci: skip scylla module tests on Python 3.14 chore(ci): skip scylla module tests on Python 3.14 Jun 5, 2026
@Tranquility2

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant