diff --git a/providers/mysql/docs/index.rst b/providers/mysql/docs/index.rst index f216d1517b734..c555f862889d0 100644 --- a/providers/mysql/docs/index.rst +++ b/providers/mysql/docs/index.rst @@ -104,7 +104,7 @@ PIP package Version required ``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`` +``mysql-connector-python`` ``>=9.1.0`` ``aiomysql`` ``>=0.2.0`` ========================================== ===================================== diff --git a/providers/mysql/pyproject.toml b/providers/mysql/pyproject.toml index 52e3f0b7f5080..0eff9ecdb9983 100644 --- a/providers/mysql/pyproject.toml +++ b/providers/mysql/pyproject.toml @@ -65,11 +65,7 @@ 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 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', + 'mysql-connector-python>=9.1.0', "aiomysql>=0.2.0", ]