]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
use python 3.11 current, dont use aiosqlite on py311
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Nov 2022 23:57:07 +0000 (18:57 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Dec 2022 00:31:23 +0000 (19:31 -0500)
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

.github/workflows/run-test.yaml

index 42791dabdcc30b152afbec28d473efed97588178..2d3c3a8021d4932eb4fbbe50ddf47eea50a44cf2 100644 (file)
@@ -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