This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c9d71793aa Limit boto3 to help resolution (#33639)
c9d71793aa is described below

commit c9d71793aafcbce60adacd8b97be53955f73b451
Author: Tzu-ping Chung <uranu...@gmail.com>
AuthorDate: Wed Aug 23 14:57:35 2023 +0800

    Limit boto3 to help resolution (#33639)
    
    * Limit boto3 to help resolution
    
    * Better boto package combination
---
 Dockerfile.ci | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Dockerfile.ci b/Dockerfile.ci
index 25ff6f5a1d..96468ceb36 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1393,10 +1393,11 @@ ENV AIRFLOW_REPO=${AIRFLOW_REPO}\
 RUN echo "Airflow version: ${AIRFLOW_VERSION}"
 
 # Those are additional constraints that are needed for some extras but we do 
not want to
-# force them on the main Airflow package. Currently we need no extra limits as 
PIP 23.1+ has much better
-# dependency resolution and we do not need to limit the versions of the 
dependencies
-# aiobotocore is limited temporarily until it stops backtracking pip
-ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS="aiobotocore<2.6.0"
+# force them on the main Airflow package.
+# Recent aiobotocore (2.6.0+) requires this specific botocore version, while
+# boto3 1.28.17 is the last version supporting that, so we pin them to help pip
+# avoid extra work. Revisit this when a new aiobotocore version is released.
+ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS="botocore==1.31.17 boto3<=1.28.17"
 ARG UPGRADE_TO_NEWER_DEPENDENCIES="false"
 ARG VERSION_SUFFIX_FOR_PYPI=""
 

Reply via email to