Skip to content

Commit 805e953

Browse files
kiukchungfacebook-github-bot
authored andcommitted
Fix broken docs-build by pinning apache-airflow==2.6.3
Summary: `apache-airflow>2.6.3` (installed in `docs/requirements.txt`) transitively brings in `opentelemetry` which depends on `protobuf>=4.x`. This version of `protobuf` conflicts with the one required by `kfp==1.8.x` (`protobuf <= 3.20.x`). What we oughta do is to upgrade to `kfp-2.x` but that's a much more intrusive change as we are bumping major versions. So pin to `apache-airflow==2.6.3` so that protobuf doesn't conflict with kfp. Reviewed By: tonykao8080 Differential Revision: D72016216
1 parent bde0ec9 commit 805e953

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ jupytext
1010
ipython_genutils
1111
# https://github.com/jupyter/nbconvert/issues/1736
1212
jinja2>=3.1.4
13-
apache-airflow
13+
# higher versions of airflow brings in opentelemetry which depends
14+
# a version of protobuf incompatible with pinned kfp in dev-requirements.txt
15+
apache-airflow==2.10.2

0 commit comments

Comments
 (0)