Skip to content

ResolutionImpossible conflict when installing devel-all on head of main branch using conststraints-main #37560

Description

@hterik

Apache Airflow version

main (development)

If "Other Airflow 2 version" selected, which one?

No response

What happened?

  1. git clone airflow
  2. Create and enter new virtualenv
  3. pip install -e .[devel-all] --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-main/constraints-3.11.txt
  4. Output:
    ERROR: Cannot install apache-airflow[cncf-kubernetes]==2.9.0.dev0 because these package versions have conflicting dependencies.
    
    The conflict is caused by:
        apache-airflow[cncf-kubernetes] 2.9.0.dev0 depends on kubernetes-asyncio<=29.0.0 and >=28.1.0; extra == "cncf-kubernetes"
        The user requested (constraint) kubernetes-asyncio==24.2.3
  • Looking in pyproject.toml, it requires "kubernetes_asyncio>=28.1.0,<=29.0.0", (It was updated few weeks ago in Kubernetes version bump #37040)
  • Whereas in downloaded constraints-3.11.txt it is pinned as kubernetes-asyncio==24.2.3

There is also a difference in dash vs underscore, don't know if this is significant.

What you think should happen instead?

Constraints listed under https://raw.githubusercontent.com/apache/airflow/constraints-main/ should be compatible with head of main branch.

How to reproduce

see above

Operating System

Ubuntu 23.10

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:dev-envCI, pre-commit, pylint and other changes that do not change the behavior of the final codekind:bugThis is a clearly a bugkind:documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions