Skip to content

Conversation

@thesuperzapper
Copy link
Member

What issues does your PR fix?

What does your PR do?

  • Prevents extraPipPackages from changing the version of any pip package listed in airflow.protectedPipPackages.
    • This feature works by adding a pip --constraint file that we generate from the filtered output of pip freeze when installing extraPipPackages.
    • The initial default for airflow.protectedPipPackages is ["apache-airflow"], which will hopefully stop people from accidentally running a different airflow version than specified in their airflow.image.tag.
    • WARNING: if users currently have extraPipPackages configs that are causing their apache-airflow version to be changed, their pods will now crash loop. To resolve this, they will need to remove whatever packages in extraPipPackages were causing the problem.
    • NOTE: users can disable this feature by setting airflow.protectedPipPackages to [], but this is NOT RECOMMENDED as there is probably no situation in which you will want to have extraPipPackages cause an airflow upgrade.

Checklist

For all Pull Requests

For releasing ONLY

@thesuperzapper thesuperzapper added this to the airflow-8.6.1 milestone Jun 16, 2022
@thesuperzapper thesuperzapper added the status/ready-to-merge status - this will be merged into next release label Jun 16, 2022
@thesuperzapper thesuperzapper merged commit 93a1835 into airflow-helm:main Jun 22, 2022
@thesuperzapper thesuperzapper deleted the protected-pip-packages branch June 22, 2022 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/ready-to-merge status - this will be merged into next release

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant