When installing airflow or other packages you should reference the published constraints file for your python version. See here: https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html#installation-tools
Consider also using the official docker image.
