agrounds edited a comment on issue #18075:
URL: https://github.com/apache/airflow/issues/18075#issuecomment-915318171


   @potiuk Airflow installation via `pip` is now failing for us. We're running 
this:
   
   ```
   pip install -r requirements.txt --constraint 
"https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt";
   ```
   
   with `AIRFLOW_VERSION=2.1.3` and `PYTHON_VERSION=3.8`, and we're getting 
this error:
   
   
   > DEPRECATION: Constraints are only allowed to take the form of a package 
name and a version specifier. Other forms were originally permitted as an 
accident of the implementation, but were undocumented. The new implementation 
of the resolver no longer supports these forms. A possible replacement is 
replacing the constraint with a requirement.. You can find discussion regarding 
this at https://github.com/pypa/pip/issues/8210.
   ERROR: Links are not allowed as constraints
   
   
   `pip` version is 21.0.1, can also provide `requirements.txt` if it's 
helpful, but I don't think it's relevant.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to