HuanjieGuo opened a new issue, #50367:
URL: https://github.com/apache/airflow/issues/50367

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Hi team, 
   
   We try to install airflow 2.10.5 in python 3.10.
   
   Here is the constraint we use, it uses Flask-WTF==1.2.2
   
https://github.com/apache/airflow/blob/constraints-2.10.5/constraints-3.10.txt#L46
   
   Here is the airflow dependency in hatch_build,  it use flask-wtf>=1.1.0
   https://github.com/apache/airflow/blob/2.10.5/hatch_build.py#L439
   
   
   When I try to pip install it, it shows:
   ```
   10:58:47 INFO: pip is looking at multiple versions of apache-airflow to 
determine which version is compatible with other requirements. This could take 
a while.
   10:58:47 ERROR: Cannot install apache-airflow because these package 
versions have conflicting dependencies.
   10:58:47 
   10:58:47 The conflict is caused by:
   10:58:47     apache-airflow 2.10.5 depends on flask-wtf>=1.1.0
   10:58:47     The user requested (constraint) flask-wtf==1.2.2
   10:58:47 
   10:58:47 To fix this you could try to:
   10:58:47 1. loosen the range of package versions you've specified
   10:58:47 2. remove package versions to allow pip to attempt to solve the 
dependency conflict
   10:58:47 
   10:58:47 ERROR: ResolutionImpossible: for help visit 
https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
   ```
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Use 
   * python3.10 
   * airflow 2.10.5-310 constraints
   * airflow 2.10.5
   
   ### Operating System
   
   ubuntus-22.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to