potiuk edited a comment on issue #13045:
URL: https://github.com/apache/airflow/issues/13045#issuecomment-744535315


   > 1. I think this raises a good case to remove the tag contraints-1.10.7 
(and earlier, probably), as the constraint files in them will not work when 
using pip 20.3, but it's your call.
   
   Airflow installation does not work in general using PIP 20.3. This is a 
known issue, very prominently displayed on our site. 
https://github.com/apache/airflow/issues/12838  - if you tried pip 20.3, then 
that explains the problem.
   
   We raised the issue (rather loudly) to the PIP team, They are going to 
release 20.3.2 today that fixes some of the problems we (and others) raised. I 
recommend to repeat the check once they release 20.3.2 or downgrade to 20.2.4 
(or use legacy resolver) as this is officially the only version of PIP that 
Airflow works with.
   
   > 2. Commenting a workaround for posterity, for anyone like me who needs to 
have a more verified version of 1.10.7 for CI or migration:
   > 
   > ```
   > curl ${CONSTRAINT_URL} > constraints.txt
   > grep -v "future==" constraints.txt > constraints_good.txt  # remove bad 
constraint
   > python -m pip install 
"apache-airflow[celery,postgres,statsd]==${AIRFLOW_VERSION}" --constraint 
constraints_good.txt
   > ```
   
   There are many other packages which have problems with PIP 20.3. Until those 
problems are solved, I heartily recommend to downgrade PIP to 20.2.4 and keep 
it this way.
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to