Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jan 5, 2022

  • removes PIP_INSTALL_USER variable
  • upgrades PIP to 21.3.1
  • removes AIRFLOW_INSTALL_USER_FLAG as it is not needed
  • removes spurious usage of --upgrade flag for PIP
  • adds better diagnostics during the build for PIP location and version

Separated out from #20238


^ 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.

@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes kind:documentation labels Jan 5, 2022
@potiuk potiuk requested a review from uranusjr January 5, 2022 11:43
@potiuk potiuk force-pushed the modernize-pip-usage-in-images branch from 6718b6d to 4fd118f Compare January 5, 2022 11:46
@potiuk potiuk force-pushed the modernize-pip-usage-in-images branch from 4fd118f to 80b3b48 Compare January 5, 2022 12:06
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

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

Mostly lgtm, just some very minor questions.

@potiuk potiuk force-pushed the modernize-pip-usage-in-images branch from 80b3b48 to 113ca34 Compare January 5, 2022 12:29
@potiuk
Copy link
Member Author

potiuk commented Jan 5, 2022

All should be addressed.

@potiuk potiuk closed this Jan 5, 2022
@potiuk potiuk reopened this Jan 5, 2022
@potiuk potiuk force-pushed the modernize-pip-usage-in-images branch from 113ca34 to 21cb191 Compare January 5, 2022 16:40
* removes PIP_INSTALL_USER variable
* upgrades PIP to 21.3.1
* removes AIRFLOW_INSTALL_USER_FLAG as it is not needed
* removes spurious usage of --upgrade flag for PIP
* adds better diagnostics during the build for PIP location and version

Separated out from apache#20238
@potiuk potiuk force-pushed the modernize-pip-usage-in-images branch from 21cb191 to fefcf7b Compare January 5, 2022 16:45
@potiuk
Copy link
Member Author

potiuk commented Jan 5, 2022

Addressed.

@potiuk potiuk closed this Jan 5, 2022
@potiuk potiuk reopened this Jan 5, 2022
@github-actions
Copy link

github-actions bot commented Jan 6, 2022

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 main 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 6, 2022
@uranusjr
Copy link
Member

uranusjr commented Jan 6, 2022

Covered by #20679.

@uranusjr uranusjr closed this Jan 6, 2022
@potiuk
Copy link
Member Author

potiuk commented Jan 6, 2022

For the future - @uranusjr - > I wanted to merge those two separately. They contained a lot of context in the "commit messages" and i separated them out deliberately (and planned to merge #20678 first and rebase #20679 on top). By squashing those two - we lost the context in the commit messages and all the changes were squashed :( .

@potiuk
Copy link
Member Author

potiuk commented Jan 6, 2022

We use to (and I did in #20679) write this kind of message when split out bigger work into separate commits: Based on #20678 - so please take a look at the last commit only.

@potiuk potiuk deleted the modernize-pip-usage-in-images branch July 29, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:production-image Production image improvements and fixes full tests needed We need to run full set of tests for this PR to merge kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants