From d074240217519c7e8b5da0199f7d6366974f25a6 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 10 Feb 2026 18:01:09 +0100 Subject: [PATCH] Remove mysql-client-python 9.6.0 limitation The problem has been solved, looks like mysql team run out of space on PyPI and had to recover admin credentials in order to remove some old packages, and they reuploaded missing binary wheels and sdist. --- providers/mysql/docs/index.rst | 2 +- providers/mysql/pyproject.toml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) 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", ]