You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/14 15:39:13 UTC

[GitHub] [airflow] ranamit112 commented on issue #13045: Airflow constraints file constraints-1.10.7/constraints-3.7 incorrect constraints preventing install

ranamit112 commented on issue #13045:
URL: https://github.com/apache/airflow/issues/13045#issuecomment-744522885


   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.
   
   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
   ```


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