Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

Errors:

providers/google/src/airflow/providers/google/version_compat.py:64: error: Name "timeout" already defined (possibly by an import)  [no-redef]
        from airflow.utils.timeout import timeout  # type: ignore[assignment]  # type: ignore[assignment]
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
providers/google/src/airflow/providers/google/version_compat.py:64: note: Error code "no-redef" not covered by "type: ignore" comment
providers/openlineage/src/airflow/providers/openlineage/version_compat.py:47: error: Name "timeout" already defined (possibly by an import)  [no-redef]
        from airflow.utils.timeout import timeout  # type: ignore[assignment]
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
providers/openlineage/src/airflow/providers/openlineage/version_compat.py:47: note: Error code "no-redef" not covered by "type: ignore" comment
providers/celery/src/airflow/providers/celery/version_compat.py:34: error: Name "timeout" already defined (possibly by an import)  [no-redef]
        from airflow.utils.timeout import timeout  # type: ignore[assignment]
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
providers/celery/src/airflow/providers/celery/version_compat.py:34: note: Error code "no-redef" not covered by "type: ignore" comment
Found 3 errors in 3 files (checked 3962 source files)

Fix for https://github.com/apache/airflow/actions/runs/16939013494/job/48003772243


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@amoghrajesh
Copy link
Contributor Author

No need to backport this, the change that lead to this failure was a 3.1 milestone

@amoghrajesh amoghrajesh merged commit c26bf59 into apache:main Aug 13, 2025
75 checks passed
@amoghrajesh amoghrajesh deleted the mypy-timeout branch August 13, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants