From 990663c732e5bde43ed05eba0ade6d96fc7a2b26 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 30 Nov 2022 19:41:15 -0500 Subject: [PATCH] get aiosqlite to run on python 3 but not 3.11, attempt 2 Change-Id: Iee0077f8c662da59ee63fa73296cb04ab1b09551 --- .github/workflows/run-test.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 2d3c3a8021..381befe09f 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -49,20 +49,14 @@ jobs: # autocommit tests fail on the ci for some reason # - python-version: "pypy-3.9" # 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 + # add aiosqlite on linux, for py3.10 only; + # wait for https://github.com/python/cpython/issues/99205 to be + # fixed for py311 - 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" + python-version: "3.10" pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite" + exclude: # linux and osx do not have x86 python - os: "ubuntu-latest" -- 2.47.2