Provider for Apache Airflow. Implements apache-airflow-providers-mysql package
Project description
Package apache-airflow-providers-mysql
Release: 2.2.3
Provider package
This is a provider package for mysql provider. All classes for this provider package are in airflow.providers.mysql python package.
You can find package information and changelog for the provider in the documentation.
Installation
You can install this package on top of an existing Airflow 2.1+ installation via pip install apache-airflow-providers-mysql
The package supports the following python versions: 3.7,3.8,3.9,3.10
PIP requirements
PIP package | Version required |
---|---|
apache-airflow | >=2.1.0 |
mysql-connector-python | >=8.0.11; platform_machine != "aarch64" |
mysqlclient | >=1.3.6; platform_machine != "aarch64" |
Cross provider package dependencies
Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.
You can install such cross-provider dependencies when installing from PyPI. For example:
pip install apache-airflow-providers-mysql[amazon]
Dependent package | Extra |
---|---|
apache-airflow-providers-amazon | amazon |
apache-airflow-providers-presto | presto |
apache-airflow-providers-trino | trino |
apache-airflow-providers-vertica | vertica |
The version of MySQL server has to be 5.6.4+. The exact version upper bound depends on the version of mysqlclient package. For example, mysqlclient 1.3.12 can only be used with MySQL server 5.6.4 through 5.7.
Changelog
2.2.3
Bug Fixes
- Fix mistakenly added install_requires for all providers (#22382)
2.2.2
Misc
- Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)
2.2.1
Misc
- Support for Python 3.10
- Make DbApiHook use get_uri from Connection (#21764)
- Update MySqlOperator example dag (#21434)
2.2.0
- Add more SQL template fields renderers (#21237)
- Add conditional 'template_fields_renderers' check for new SQL lexers (#21403)
Misc
- Refactor vertica_to_mysql to make it more 'mypy' friendly (#20618)
2.1.1
Misc
- Optimise connection importing for Airflow 2.2.0
2.1.0
Features
- Added template_fields_renderers for MySQL Operator (#16914)
- Extended template_fields_renderers for MySQL provider (#16987)
- Parse template parameters field for MySQL operator (#17080)
2.0.0
Breaking changes
- Auto-apply apply_default decorator (#15667)
Warning
Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.
Bug Fixes
1.1.0
Features
- Adds 'Trino' provider (with lower memory footprint for tests) (#15187)
- A bunch of template_fields_renderers additions (#15130)
Bug fixes
- Fix autocommit calls for mysql-connector-python (#14869)
1.0.2
Bug fixes
- MySQL hook respects conn_name_attr (#14240)
1.0.1
Updated documentation and readme files.
1.0.0
Initial version of the provider.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for apache-airflow-providers-mysql-2.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f22a47368a8a9c0b861082bcaeacf297ed9d825eb972dcb4b8e8719df5c86ef |
|
MD5 | 510cdd779861d20abc4ad44fb6bbc3e9 |
|
BLAKE2-256 | ad91b4a91c989d078918c60e9efaa31f351cb004e5e602f2a0865984cf2875e9 |
Hashes for apache_airflow_providers_mysql-2.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df0bca544830de7e13c96c54a0b23f298352f02be55d3898935baf6b0946f611 |
|
MD5 | 8b478e2caca0d64ff8d8804bc76dcb42 |
|
BLAKE2-256 | 93339d2fc01c91f1f5cc51956079de82282a8b55f9a8dceb8f4bfbb6e58d4068 |