ashb commented on a change in pull request #12693:
URL: https://github.com/apache/airflow/pull/12693#discussion_r537056823
##########
File path: scripts/in_container/_in_container_utils.sh
##########
@@ -263,14 +263,16 @@ function install_airflow_from_wheel() {
echo
echo "Install airflow wheel package from dist"
echo
- pip install /dist/apache_airflow-*.whl >"${OUT_FILE_PRINTED_ON_ERROR}" 2>&1
+ pip install /dist/apache_airflow-*.whl --no-deps
>"${OUT_FILE_PRINTED_ON_ERROR}" 2>&1
}
function install_remaining_dependencies() {
echo
echo "Installs all remaining dependencies that are not installed by 'all' "
echo
- pip install apache-beam[gcp] >"${OUT_FILE_PRINTED_ON_ERROR}" 2>&1
+ pip install apache-beam[gcp] \
+ --constraint
"https://raw.githubusercontent.com/apache/airflow/${CONSTRAINTS_BRANCH}/constraints-${PYTHON_MAJOR_MINOR_VERSION}.txt"
\
Review comment:
You could save having to set this all the time by setting `export
PIP_CONSTRAINT=...`
See https://pip.pypa.io/en/stable/user_guide/#environment-variables
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]