r-richmond opened a new issue #13093:
URL: https://github.com/apache/airflow/issues/13093


   **Apache Airflow version**: 1.10.14
   **Environment**: Python 3.8
   - **Install tools**: pipenv
   
   **What happened**:
   
   So I appear to have stumbled across a version incompatibility for 
`airflow-1.10.14`
   apache-airflow[aws] was modified with this 
[pr](https://github.com/apache/airflow/commit/3f438461498b2f6c13671fed8f70a6a12a51f418#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R185)
  to restrict boto to boto3~=1.10,<1.11 with the comment for snowflake
   When attempting to install the latest amazon-provider backport 
apache-airflow-backport-providers-amazon==2020.11.23->-r I’m faced with an 
incompatible version in resolved dependancies as the backport requires 
boto3<2.0.0,>=1.12.0
   
   attempting to install `aws` extra and amazon-provide backport results in a 
version incompatibility error.
   
   ```
   There are incompatible versions in the resolved dependencies:
     boto3<1.11,~=1.10 (from apache-airflow[aws]==1.10.14->-r 
/var/folders/dw/8s4dltks7bg5ws8kht1wfbqw0000gp/T/pipenvtfsk4ltbrequirements/pipenv-ukucfwxw-constraints.txt
 (line 2))
     boto3<2.0.0,>=1.12.0 (from 
apache-airflow-backport-providers-amazon==2020.11.23->-r 
/var/folders/dw/8s4dltks7bg5ws8kht1wfbqw0000gp/T/pipenvtfsk4ltbrequirements/pipenv-ukucfwxw-constraints.txt
 (line 3))
   ```
   
   **What you expected to happen**:
   
   Airflow has compatible versions.
   
   **How to reproduce it**:
   
   <details><summary> 1. Create Pipfile with the following contents</summary> 
   
   ```
   [[source]]
   name = "pypi"
   url = "https://pypi.org/simple";
   verify_ssl = true
   
   [dev-packages]
   
   [packages]
   apache-airflow = {extras = ["aws"],version = "*"}
   # https://github.com/apache/airflow/blob/master/README.md#backport-packages
   apache-airflow-backport-providers-amazon = "*"
   
   [requires]
   python_version = "3.8"
   ```
   </details>
   2. run `pipenv lock`
   
   
   
   
   **Anything else we need to know**:
   
   Suggested solution: move all snowflake version modifications out of related 
airflow extras and directly into the snowflake extra.
   Slack Thread: 
https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1608057981159400
   


----------------------------------------------------------------
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]


Reply via email to