Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jan 23, 2021

After #12188 has been merged and constraints regenerated, we can
now remove the hack where we had to reinstall azure-storage to
override overlapping versions of azure-storage libraries.

This paves the way to removing last dependency hacks we have in
Airflow.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@potiuk
Copy link
Member Author

potiuk commented Jan 23, 2021

cc: @ephraimbuddy

After apache#12188 has been merged and constraints regenerated, we can
now remove the hack where we had to reinstall azure-storage to
override overlapping versions of azure-storage libraries.

This paves the way to removing last dependency hacks we have in
Airflow.
@potiuk potiuk force-pushed the remove-azure-storage-hack branch from 574d4c8 to a506ce9 Compare January 23, 2021 17:02
Comment on lines +203 to +204
ARG AIRFLOW_BUILD_EPOCH="1"
ENV AIRFLOW_BUILD_EPOCH=${AIRFLOW_CI_BUILD_EPOCH}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be one of the following two:

Suggested change
ARG AIRFLOW_BUILD_EPOCH="1"
ENV AIRFLOW_BUILD_EPOCH=${AIRFLOW_CI_BUILD_EPOCH}
ARG AIRFLOW_CI_BUILD_EPOCH="1"
ENV AIRFLOW_CI_BUILD_EPOCH=${AIRFLOW_CI_BUILD_EPOCH}

or

Suggested change
ARG AIRFLOW_BUILD_EPOCH="1"
ENV AIRFLOW_BUILD_EPOCH=${AIRFLOW_CI_BUILD_EPOCH}
ARG AIRFLOW_BUILD_EPOCH="1"
ENV AIRFLOW_BUILD_EPOCH=${AIRFLOW_BUILD_EPOCH}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically it doesn't matter for cache burst but for consistency

Copy link
Member

@feluelle feluelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Jan 25, 2021
@potiuk
Copy link
Member Author

potiuk commented Feb 7, 2021

Closing in favour of #14102

@potiuk potiuk closed this Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants