]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
block mariadb-connector 1.1.13 and above (tox only)
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Jul 2025 15:34:35 +0000 (11:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Jul 2025 15:34:35 +0000 (11:34 -0400)
New segfault occurs under failure modes [1]

[1] https://jira.mariadb.org/browse/CONPY-318

Change-Id: I85dee53be0cb4644c9e500fbb15f7cb35051ff4b

tox.ini

diff --git a/tox.ini b/tox.ini
index dc9626730e1479c0e57751603096d6dce8b8eebd..b199f5c94b5193b8500c7655342cfe8e9f52b1cb 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -39,7 +39,10 @@ extras=
 
      mysql: mysql
      mysql: pymysql
-     mysql: mariadb_connector
+
+     # see https://jira.mariadb.org/browse/CONPY-318.
+     # installed manually as part of deps w/ version pin
+     # mysql: mariadb_connector
 
      oracle: oracle
      oracle: oracle_oracledb
@@ -54,6 +57,11 @@ install_command=
 deps=
      typing-extensions>=4.13.0rc1
 
+     # see https://jira.mariadb.org/browse/CONPY-318.
+     # using < to block all future versions for now as it's not clear
+     # if newer versions will fix the segfault or not
+     mysql: mariadb<1.1.13
+
      pytest>=7.0.0,<8.4
      # tracked by https://github.com/pytest-dev/pytest-xdist/issues/907
      pytest-xdist!=3.3.0