feat: add airflow.protectedPipPackages
#610
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What issues does your PR fix?
What does your PR do?
extraPipPackages
from changing the version of any pip package listed inairflow.protectedPipPackages
.pip --constraint
file that we generate from the filtered output ofpip freeze
when installingextraPipPackages
.airflow.protectedPipPackages
is["apache-airflow"]
, which will hopefully stop people from accidentally running a different airflow version than specified in theirairflow.image.tag
.extraPipPackages
configs that are causing theirapache-airflow
version to be changed, their pods will now crash loop. To resolve this, they will need to remove whatever packages inextraPipPackages
were causing the problem.airflow.protectedPipPackages
to[]
, but this is NOT RECOMMENDED as there is probably no situation in which you will want to haveextraPipPackages
cause an airflow upgrade.Checklist
For all Pull Requests
For releasing ONLY