From: Mike Bayer Date: Wed, 30 Nov 2022 23:57:07 +0000 (-0500) Subject: use python 3.11 current, dont use aiosqlite on py311 X-Git-Tag: rel_2_0_0b4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d6b5e1d4225ff11868ea6abec51df97644f1317;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 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 https://github.com/python/cpython/issues/99205. I'm only guessing the syntax here, so there may be subsequent commits if this doesnt work Change-Id: I6f2ead3e0aca933a972efadf3891edbcdd83501c --- diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 42791dabdc..2d3c3a8021 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -34,7 +34,7 @@ jobs: - "3.8" - "3.9" - "3.10" - - "3.11.0-rc - 3.11" + - "3.11" # waiting on https://foss.heptapod.net/pypy/pypy/-/issues/3690 # which also seems to be in 3.9 # - "pypy-3.9" @@ -51,6 +51,16 @@ jobs: # pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'" # add aiosqlite on linux - os: "ubuntu-latest" + + # disable aiosqlite until python 3.11.1 is released; + # 3.11.0 has a thread memory leak + # https://github.com/python/cpython/issues/99205 + # which is suspected of crashing the py 3.11 action + python-version: + - "3.7" + - "3.8" + - "3.9" + - "3.10" pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite" exclude: @@ -137,7 +147,7 @@ jobs: python-version: - "3.9" - "3.10" - - "3.11.0-rc - 3.11" + - "3.11" fail-fast: false @@ -204,7 +214,7 @@ jobs: - "ubuntu-latest" python-version: - "3.10" - - "3.11.0-rc - 3.11" + - "3.11" fail-fast: false