This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 15fc941d5faf03d2a5742e00de6571ec58dc4dec Author: Jarek Potiuk <[email protected]> AuthorDate: Wed Jul 22 19:48:19 2020 +0200 fixup! Constraint files are now maintained automatically (#9889) --- CONTRIBUTING.rst | 4 ++-- scripts/ci/libraries/_build_images.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7fe240c..bbe5d8d 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -364,7 +364,7 @@ constraints file when installing Apache Airflow - either from the sources: .. code-block:: bash pip install -e . \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-master/constraints-3.6.txt" + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1-10/constraints-3.6.txt" or from the pypi package: @@ -372,7 +372,7 @@ or from the pypi package: .. code-block:: bash pip install apache-airflow \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-master/constraints-3.6.txt" + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1-10/constraints-3.6.txt" This works also with extras - for example: diff --git a/scripts/ci/libraries/_build_images.sh b/scripts/ci/libraries/_build_images.sh index a4d4306..6423d8f 100644 --- a/scripts/ci/libraries/_build_images.sh +++ b/scripts/ci/libraries/_build_images.sh @@ -568,13 +568,14 @@ Docker building ${AIRFLOW_CI_IMAGE}. verbose_docker build \ --build-arg PYTHON_BASE_IMAGE="${PYTHON_BASE_IMAGE}" \ --build-arg PYTHON_MAJOR_MINOR_VERSION="${PYTHON_MAJOR_MINOR_VERSION}" \ - --build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \ + --build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \ --build-arg AIRFLOW_BRANCH="${BRANCH_NAME}" \ --build-arg AIRFLOW_EXTRAS="${AIRFLOW_EXTRAS}" \ --build-arg ADDITIONAL_AIRFLOW_EXTRAS="${ADDITIONAL_AIRFLOW_EXTRAS}" \ --build-arg ADDITIONAL_PYTHON_DEPS="${ADDITIONAL_PYTHON_DEPS}" \ --build-arg ADDITIONAL_DEV_DEPS="${ADDITIONAL_DEV_DEPS}" \ --build-arg ADDITIONAL_RUNTIME_DEPS="${ADDITIONAL_RUNTIME_DEPS}" \ + --build-arg AIRFLOW_CONSTRAINTS_REFERENCE="constraints-1-10" \ --build-arg UPGRADE_TO_LATEST_CONSTRAINTS="${UPGRADE_TO_LATEST_CONSTRAINTS}" \ "${DOCKER_CACHE_CI_DIRECTIVE[@]}" \ -t "${AIRFLOW_CI_IMAGE}" \
