Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions providers/mysql/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------------
Expand Down
6 changes: 5 additions & 1 deletion providers/mysql/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand Down