This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 2b2a1684953 [v3-1-test] Exclude mysql-connector-python 9.6.0 version 
(#60889) (#61000)
2b2a1684953 is described below

commit 2b2a16849535419e37132f03565906fe4a34e2ce
Author: Jens Scheffler <[email protected]>
AuthorDate: Sat Jan 24 14:07:35 2026 +0100

    [v3-1-test] Exclude mysql-connector-python 9.6.0 version (#60889) (#61000)
    
    MySQL Connector/Python package from Oracle version 9.6.0 has been badly
    published to PyPI and it misses both sdist and wheel distributions for
    Python 3.12, 3.13, 3.14 making it impossible to install on these Python
    versions. We need to exclude this version until Oracle fixes the issue.
    Issue raised: https://bugs.mysql.com/bug.php?id=119736
    (cherry picked from commit 573cb473f5fe85f23f52d713e81cf3950f6cb120)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 providers/mysql/docs/index.rst | 19 ++++++++++---------
 providers/mysql/pyproject.toml |  6 +++++-
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/providers/mysql/docs/index.rst b/providers/mysql/docs/index.rst
index 7d190764713..087b497bf7d 100644
--- a/providers/mysql/docs/index.rst
+++ b/providers/mysql/docs/index.rst
@@ -97,15 +97,16 @@ Requirements
 
 The minimum Apache Airflow version supported by this provider distribution is 
``2.10.0``.
 
-=======================================  =====================================
-PIP package                              Version required
-=======================================  =====================================
-``apache-airflow``                       ``>=2.10.0``
-``apache-airflow-providers-common-sql``  ``>=1.20.0``
-``mysqlclient``                          ``>=2.2.5; sys_platform != "darwin"``
-``mysql-connector-python``               ``>=9.1.0``
-``aiomysql``                             ``>=0.2.0``
-=======================================  =====================================
+==========================================  
=====================================
+PIP package                                 Version required
+==========================================  
=====================================
+``apache-airflow``                          ``>=2.11.0``
+``apache-airflow-providers-common-compat``  ``>=1.12.0``
+``apache-airflow-providers-common-sql``     ``>=1.20.0``
+``mysqlclient``                             ``>=2.2.5; sys_platform != 
"darwin"``
+``mysql-connector-python``                  ``>=9.1.0,!=9.6.0``
+``aiomysql``                                ``>=0.2.0``
+==========================================  
=====================================
 
 Cross provider package dependencies
 -----------------------------------
diff --git a/providers/mysql/pyproject.toml b/providers/mysql/pyproject.toml
index e14e46ec2ff..29e58acd2a4 100644
--- a/providers/mysql/pyproject.toml
+++ b/providers/mysql/pyproject.toml
@@ -64,7 +64,11 @@ dependencies = [
     # Install and compile, and it's really only used by MySQL provider, so we 
can skip it on MacOS
     # Instead, if someone attempts to use it on MacOS, they will get 
explanatory error on how to install it
     'mysqlclient>=2.2.5; sys_platform != "darwin"',
-    'mysql-connector-python>=9.1.0',
+    # MySQL Connector/Python package from Oracle version 9.6.0 has been badly 
published to PyPI
+    # and it misses both sdist and wheel distributions for Python 3.12, 3.13, 
3.14 making it impossible
+    # to install on these Python versions. We need to exclude this version 
until Oracle
+    # fixes the issue. Issue raised: https://bugs.mysql.com/bug.php?id=119736
+    'mysql-connector-python>=9.1.0,!=9.6.0',
     "aiomysql>=0.2.0",
 ]
 

Reply via email to