Travis: Added Python-3.12

This commit is contained in:
Georg Richter
2023-10-12 06:01:00 +02:00
parent 84e423295a
commit 1762e9d458
2 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,7 @@ jobs:
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.9" - env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.9"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.10" - env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.10"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.11" - env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.11"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.12"
# - env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.10" BENCH=1 # - env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.10" BENCH=1
- if: type = push AND fork = false - if: type = push AND fork = false
env: srv=maxscale env: srv=maxscale

View File

@ -1539,6 +1539,10 @@ class TestCursor(unittest.TestCase):
def test_conpy270(self): def test_conpy270(self):
connection = create_connection() connection = create_connection()
x = connection.server_version_info
if x < (10, 7, 0) or is_mysql():
self.skipTest("Skip (MySQL and MariaDB < 10.7)")
cursor = connection.cursor() cursor = connection.cursor()
cursor.execute("create or replace table t1 (a uuid)") cursor.execute("create or replace table t1 (a uuid)")