Skip to content

Commit 3d6b5e1

Browse files
committed
use python 3.11 current, dont use aiosqlite on py311
Py 3.11 is released so I assume we can remove "rc" qualifiers here aiosqlite is causing python 3.11 crashes, so I assume this is due to python/cpython#99205. I'm only guessing the syntax here, so there may be subsequent commits if this doesnt work Change-Id: I6f2ead3e0aca933a972efadf3891edbcdd83501c
1 parent 00dce89 commit 3d6b5e1

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

‎.github/workflows/run-test.yaml‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- "3.8"
3535
- "3.9"
3636
- "3.10"
37-
- "3.11.0-rc - 3.11"
37+
- "3.11"
3838
# waiting on https://foss.heptapod.net/pypy/pypy/-/issues/3690
3939
# which also seems to be in 3.9
4040
# - "pypy-3.9"
@@ -51,6 +51,16 @@ jobs:
5151
# pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
5252
# add aiosqlite on linux
5353
- os: "ubuntu-latest"
54+
55+
# disable aiosqlite until python 3.11.1 is released;
56+
# 3.11.0 has a thread memory leak
57+
# https://github.com/python/cpython/issues/99205
58+
# which is suspected of crashing the py 3.11 action
59+
python-version:
60+
- "3.7"
61+
- "3.8"
62+
- "3.9"
63+
- "3.10"
5464
pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
5565

5666
exclude:
@@ -137,7 +147,7 @@ jobs:
137147
python-version:
138148
- "3.9"
139149
- "3.10"
140-
- "3.11.0-rc - 3.11"
150+
- "3.11"
141151

142152
fail-fast: false
143153

@@ -204,7 +214,7 @@ jobs:
204214
- "ubuntu-latest"
205215
python-version:
206216
- "3.10"
207-
- "3.11.0-rc - 3.11"
217+
- "3.11"
208218

209219
fail-fast: false
210220

0 commit comments

Comments
 (0)