mik-laj commented on issue #12120:
URL: https://github.com/apache/airflow/issues/12120#issuecomment-748643688


   @HaloKo4 We generate one constraints file to check compatibility with all 
libraries and detect all conflicts, so even if mongo only requires an older 
version, most users will have the old version of this library.
   
   Here is the official Airflow installation guide, which installs libraries 
always the latest tested versions.
   
http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/latest/installation.html
   
   If you try to install Airflow and dnspython according to the instructions, 
the latest version of the dnspython library will not be installed.
   ````
   AIRFLOW_VERSION=master
   PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
   
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt";
   pip install \
       --constraint "${CONSTRAINT_URL}" \
       "apache-airflow[postgres,google]==${AIRFLOW_VERSION}" \
       dnspython
   ```
   
   I found a ticket in the eventlet project and I hope that it will be solved.
   https://github.com/eventlet/eventlet/issues/619
   


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