Skip to content

Circular Dependency in Apache Airflow 2.1.3 #17795

Description

@ashwin153

Apache Airflow version:

2.1.3

OS:

Ubuntu 20.04 LTS

Deployment:

Bazel

What happened:

When I tried to bump my Bazel monorepo from 2.1.2 to 2.1.3, Bazel complains that there is the following circular dependency.

ERROR: /github/home/.cache/bazel/_bazel_bookie/c5c5e4532705a81d38d884f806d2bf84/external/pip/pypi__apache_airflow/BUILD:11:11: in py_library rule @pip//pypi__apache_airflow:pypi__apache_airflow: cycle in dependency graph:
    //wager/publish/airflow:airflow
.-> @pip//pypi__apache_airflow:pypi__apache_airflow
|   @pip//pypi__apache_airflow_providers_http:pypi__apache_airflow_providers_http
`-- @pip//pypi__apache_airflow:pypi__apache_airflow

What you expected to happen:

No dependency cycles.

How to reproduce it:

A concise reproduction will require some effort. I am hoping that there is a quick resolution to this, but I am willing to create a reproduction if it is required to determine the root cause.

Anything else we need to know:

Perhaps related to #14128.

Are you willing to submit a PR?

Yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugThis is a clearly a bug

    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