Skip to content

Commit 6f46457

Browse files
committed
Remove openlineage exclusion
Now that Airflow 2.7.0 is released, we can remove exclusion that we had for openlineage which prevented from using it as dependency of Airflow in CI.
1 parent eed09da commit 6f46457

File tree

10 files changed

+166
-170
lines changed

10 files changed

+166
-170
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# much smaller.
3636
#
3737
# Use the same builder frontend version for everyone
38-
ARG AIRFLOW_EXTRAS="aiobotocore,amazon,async,celery,cncf.kubernetes,daskexecutor,docker,elasticsearch,ftp,google,google_auth,grpc,hashicorp,http,ldap,microsoft.azure,mysql,odbc,pandas,postgres,redis,sendgrid,sftp,slack,snowflake,ssh,statsd,virtualenv"
38+
ARG AIRFLOW_EXTRAS="aiobotocore,amazon,async,celery,cncf.kubernetes,daskexecutor,docker,elasticsearch,ftp,google,google_auth,grpc,hashicorp,http,ldap,microsoft.azure,mysql,odbc,openlineage,pandas,postgres,redis,sendgrid,sftp,slack,snowflake,ssh,statsd,virtualenv"
3939
ARG ADDITIONAL_AIRFLOW_EXTRAS=""
4040
ARG ADDITIONAL_PYTHON_DEPS=""
4141

dev/breeze/src/airflow_breeze/global_constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ def get_airflow_extras():
360360
"microsoft.azure",
361361
"mysql",
362362
"odbc",
363+
"openlineage",
363364
"pandas",
364365
"postgres",
365366
"redis",

docs/docker-stack/build-arg-ref.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ List of default extras in the production Dockerfile:
9898
* microsoft.azure
9999
* mysql
100100
* odbc
101+
* openlineage
101102
* pandas
102103
* postgres
103104
* redis

images/breeze/output-commands-hash.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ k8s:status:1529ccd444b41c4b0b5f943289957100
3232
k8s:tests:2a1e2928faea2eddafaff94176a46690
3333
k8s:upload-k8s-image:6b3a20cdeb692f3c3d727f6b9e68c901
3434
k8s:c73e0ebdff75d89e35af6e324a3bc527
35-
prod-image:build:aba06a4d6543c41b5996de0d8738b6c7
35+
prod-image:build:10cc859b7d898581bf9b2a24c19c1032
3636
prod-image:pull:76f1f27e6119928412abecf153fce4bb
3737
prod-image:verify:bd2b78738a7c388dbad6076c41a9f906
38-
prod-image:993e54af79b73d7a9e6cfb6fc51a6e34
38+
prod-image:d9b47217a12f73f214bcd2938bbab84a
3939
release-management:add-back-references:919b3bd706acf794e0e5e129fc587f6d
4040
release-management:create-minor-branch:a3834afc4aa5d1e98002c9e9e7a9931d
4141
release-management:generate-constraints:b8fcaf8f0acd35ed5dbd48659bdb6485

images/breeze/output-commands.svg

Lines changed: 54 additions & 54 deletions
Loading

images/breeze/output_prod-image.svg

Lines changed: 12 additions & 12 deletions
Loading

images/breeze/output_prod-image_build.svg

Lines changed: 93 additions & 93 deletions
Loading

scripts/ci/installed_providers.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ imap
1414
microsoft.azure
1515
mysql
1616
odbc
17+
openlineage
1718
postgres
1819
redis
1920
sendgrid

scripts/in_container/_in_container_utils.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,6 @@ function install_all_providers_from_pypi_with_eager_upgrade() {
298298
for provider_package in ${ALL_PROVIDERS_PACKAGES}
299299
do
300300
echo -n "Checking if ${provider_package} is available in PyPI: "
301-
if [[ ${provider_package} == "apache-airflow-providers-openlineage" ]]; then
302-
# The openlineage provider has 2.7.0 airflow dependency so it should be excluded for now in
303-
# "pypi" dependency calculation
304-
# We should remove it right after 2.7.0 is released to PyPI and regenerate the 2.7.0 constraints
305-
echo "${COLOR_YELLOW}Skipped until 2.7.0 is released${COLOR_RESET}"
306-
continue
307-
fi
308301
res=$(curl --head -s -o /dev/null -w "%{http_code}" "https://pypi.org/project/${provider_package}/")
309302
if [[ ${res} == "200" ]]; then
310303
packages_to_install+=( "${provider_package}" )

scripts/in_container/run_generate_constraints.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ elif [[ ${AIRFLOW_CONSTRAINTS_MODE} == "constraints" ]]; then
9393
#
9494
# 1. Reproducible installation of airflow with selected providers (note constraints are used):
9595
#
96-
# pip install "apache-airflow[celery,cncf.kubernetes,google,amazon,snowflake]==X.Y.Z" \
96+
# pip install "apache-airflow[celery,cncf.kubernetes,google,amazon,snowflake]==X.Y.Z" \\
9797
# --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-X.Y.Z/constraints-3.8.txt"
9898
#
9999
# 2. Installing own dependencies that are potentially not matching the constraints (note constraints are not

0 commit comments

Comments
 (0)