This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new d0d0e3c5db1 Exclude 9.3.0 release of mysql-connector-python (#49300)
d0d0e3c5db1 is described below
commit d0d0e3c5db1f1e51d2a5ef80fcd3fc8cdeba341f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Apr 15 17:36:50 2025 +0200
Exclude 9.3.0 release of mysql-connector-python (#49300)
This release is broken (not all binary wheels have been published)
---
providers/mysql/README.rst | 2 +-
providers/mysql/pyproject.toml | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/providers/mysql/README.rst b/providers/mysql/README.rst
index aef72c846d4..0e60af217ad 100644
--- a/providers/mysql/README.rst
+++ b/providers/mysql/README.rst
@@ -56,7 +56,7 @@ PIP package Version required
``apache-airflow`` ``>=2.9.0``
``apache-airflow-providers-common-sql`` ``>=1.20.0``
``mysqlclient`` ``>=1.4.0; sys_platform != "darwin"``
-``mysql-connector-python`` ``>=8.0.29``
+``mysql-connector-python`` ``>=8.0.29,!=9.3.0``
``aiomysql`` ``>=0.2.0``
======================================= =====================================
diff --git a/providers/mysql/pyproject.toml b/providers/mysql/pyproject.toml
index 01484916a91..e4489aa37f5 100644
--- a/providers/mysql/pyproject.toml
+++ b/providers/mysql/pyproject.toml
@@ -63,7 +63,8 @@ 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>=1.4.0; sys_platform != 'darwin'",
- "mysql-connector-python>=8.0.29",
+ # mysql-connector-python has broken 9.3.0 release with not all versions of
wheel packages released
+ "mysql-connector-python>=8.0.29,!=9.3.0",
"aiomysql>=0.2.0",
]