Skip to content

Commit

Permalink
Caps the apache-airflow version to 2.2.x.
Browse files Browse the repository at this point in the history
There is a conflicting dependency in apache-airflow 2.3.0
- apache-airflow 1.23.0 -> rich '12.3.0' -> typing-extensions (>=4.0.0,<5.0); python_version < "3.9"
- kfp 1.8.12 -> typing-extensions (<4,>=3.7.4); python_version < "3.9"

This issue will be resolved when kfp releases a new version because kfp already changed the cap in kubeflow/pipelines#7632.

PiperOrigin-RevId: 446074079
  • Loading branch information
jiyongjung authored and tfx-copybara committed May 3, 2022
1 parent 459f1cb commit 56cf3ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
packaged) fails.
* Fixed `ElwcBigQueryExampleGen` data serializiation error that was causing an
assertion failure on Beam.
* Temporarily capped `apache-airflow` version to 2.2.x to avoid dependency
conflict. We will rollback this change once `kfp` releases a new version.

## Dependency Updates

Expand Down
4 changes: 3 additions & 1 deletion tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def make_required_install_packages():
def make_extra_packages_airflow():
"""Prepare extra packages needed for Apache Airflow orchestrator."""
return [
'apache-airflow[mysql]>=1.10.14,<3',
# TODO(b/230996502): Rollback the upper version cap to 3 after kfp
# releases a new version.
'apache-airflow[mysql]>=1.10.14,<2.3',
]


Expand Down

0 comments on commit 56cf3ab

Please sign in to comment.