Description of changes: Improved the requirements installation process:
We now report a warning if the customer doesn't specify a constraints file. In that case, we also use the default Airflow constraints just like with previous versions.
Introduced a short list of critical constraints that we don't allow the user to override and updated safe-pip-install to use it, instead of the complete Airflow constraints list.
Cached the Airflow constraints list so pip doesn't need to go to the internet in case the user doesn't specify a constraints list.
While at this, I also fixed a bug related to escaping while dumping the environment variables to .bashrc and .bash_profile.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: N/A
Description of changes: Improved the requirements installation process:
safe-pip-install
to use it, instead of the complete Airflow constraints list.While at this, I also fixed a bug related to escaping while dumping the environment variables to .bashrc and .bash_profile.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.