potiuk commented on code in PR #28697: URL: https://github.com/apache/airflow/pull/28697#discussion_r1061960382
########## Dockerfile: ########## @@ -445,6 +436,18 @@ function common::show_pip_version_and_location() { echo "pip on path: $(which pip)" echo "Using pip: $(pip --version)" } + +function common::install_pip_version() { + echo + echo "${COLOR_BLUE}Installing pip version ${AIRFLOW_PIP_VERSION}${COLOR_RESET}" + echo + if [[ ${AIRFLOW_PIP_VERSION} =~ .*https.* ]]; then + pip install --disable-pip-version-check --no-cache-dir ${AIRFLOW_PIP_VERSION} Review Comment: Right: https://peps.python.org/pep-0440/#direct-references TIL (also good that PEP explicitly mention hashes and warnings if the hash is not present). -- 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. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org