python-domino icon indicating copy to clipboard operation
python-domino copied to clipboard

Python 3.11 + Airflow 2.9.3

Open tchangalov opened this issue 11 months ago • 1 comments

We found that dominodatalab[airflow] seems to be incompatible with python 3.11 & airflow==2.9.3

requirements.txt:

apache-airflow-providers-postgres
apache-airflow-providers-celery
apache-airflow-providers-fab
apache-airflow[kubernetes]
apache-airflow-providers-amazon[aiobotocore]
dominodatalab[airflow]==1.4.3

Installation:

export AIRFLOW_VERSION=2.9.3
export PYTHON_VERSION=3.11

python3 -m pip install \
-r ./requirements.txt --constraint  \ 
"https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"

Result:

12.56 The conflict is caused by:
12.56     dominodatalab 1.4.3 depends on urllib3~=1.26.12
12.56     The user requested (constraint) urllib3==2.0.7
12.56 
12.56 To fix this you could try to:
12.56 1. loosen the range of package versions you've specified
12.56 2. remove package versions to allow pip to attempt to solve the dependency conflict

tchangalov avatar Dec 04 '24 19:12 tchangalov