Skip to content

Commit 6851793

Browse files
authored
ci(cassandra): skip python 3.10 tests (backport #3929) (#3999)
This is an automatic backport of pull request #3929 done by [Mergify](https://mergify.com). --- <details> <summary>Mergify commands and options</summary> <br /> More conditions and actions can be found in the [documentation](https://docs.mergify.com/). You can also trigger Mergify actions by commenting on this pull request: - `@Mergifyio refresh` will re-evaluate the rules - `@Mergifyio rebase` will rebase this PR on its base branch - `@Mergifyio update` will merge the base branch into this PR - `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can: - look at your merge queues - generate the Mergify configuration with the config editor. Finally, you can contact us on https://mergify.com </details>
1 parent c6844c9 commit 6851793

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

riotfile.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,20 +1471,20 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
14711471
Venv(
14721472
name="cassandra",
14731473
venvs=[
1474-
# Python 3.9 requires a more recent release.
1474+
# cassandra-driver does not officially support 3.10
1475+
# TODO: fix sporadically failing tests in cassandra-driver v3.25.0 and py3.10
14751476
Venv(
1476-
pys=select_pys(min_version="3.9"),
1477+
pys=["3.9"],
14771478
pkgs={"cassandra-driver": latest},
14781479
),
14791480
# releases 3.7 and 3.8 are broken on Python >= 3.7
14801481
# (see https://github.com/r4fek/django-cassandra-engine/issues/104)
1481-
Venv(
1482-
pys=["3.7", "3.8"],
1483-
pkgs={"cassandra-driver": ["~=3.6.0", "~=3.15.0", latest]},
1484-
),
1482+
Venv(pys=["3.7", "3.8"], pkgs={"cassandra-driver": ["~=3.6.0", "~=3.15.0", "~=3.24.0", latest]}),
14851483
Venv(
14861484
pys=select_pys(max_version="3.6"),
1487-
pkgs={"cassandra-driver": [("~=3.%d.0" % m) for m in range(6, 9)] + ["~=3.15.0", latest]},
1485+
pkgs={
1486+
"cassandra-driver": [("~=3.%d.0" % m) for m in range(6, 9)] + ["~=3.15.0", "~=3.24.0", latest]
1487+
},
14881488
),
14891489
],
14901490
command="pytest {cmdargs} tests/contrib/cassandra",

0 commit comments

Comments
 (0)