Skip to content

Python 3.11 + Airflow 2.9.3 #210

@tchangalov

Description

@tchangalov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions