Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dependencies for celery and opentelemetry for Python 3.8 #33579

Merged
merged 1 commit into from
Aug 21, 2023

Commits on Aug 21, 2023

  1. Fix dependencies for celery and opentelemetry for Python 3.8

    We used to have problems with `pip` backtracking when we relaxed
    too much open-telemetry dependencies. It turned out that the
    backtracting was only happening on Python 3.8 and that it was
    ultimately caused by conflict between importlib_metadata between
    Airflow and newer versions of opentelemetry (we had <5 for Python
    3.8, they had >6 for all versions. The reason for limiting it in
    Airflow was Celery that was not working well with importlib 5.
    
    Since Celery 5.3 solved the problems (released 6th of June) we can
    now relax the importlib_metadata limit and set Celery to version >=
    5.3.0) which nicely resolves the conflict and there is no more
    backtracking when trying to install newer versions of opentelemetry
    for Python 3.8.
    
    Fixes: apache#33577
    potiuk committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    ae14b02 View commit details
    Browse the repository at this point in the history