Skip to content

Fix common.ai provider's dependencies#62753

Merged
kaxil merged 2 commits intoapache:mainfrom
astronomer:worktree-vectorized-moseying-pony
Mar 3, 2026
Merged

Fix common.ai provider's dependencies#62753
kaxil merged 2 commits intoapache:mainfrom
astronomer:worktree-vectorized-moseying-pony

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Mar 3, 2026

The common.ai provider unconditionally imports from common.compat (BaseHook, BaseOperator, DecoratedOperator, TaskDecorator) and standard (BranchMixIn) in its core modules, but both were listed as optional extras. Anyone installing apache-airflow-providers-common-ai without the extras gets ImportError on any operator/hook usage.

This moves both to hard dependencies and removes the now-unnecessary optional extras.


Was generative AI tooling used to co-author this PR?
  • Yes

…dependencies

The common.ai provider unconditionally imports from common.compat (BaseHook,
BaseOperator, DecoratedOperator, TaskDecorator) and standard (BranchMixIn) in
its core modules, but these were listed as optional extras. Anyone installing
apache-airflow-providers-common-ai without the extras gets ImportError on any
operator/hook usage.

Move both to hard dependencies and remove the now-unnecessary optional extras.
@kaxil kaxil merged commit 60e4529 into apache:main Mar 3, 2026
64 checks passed
@kaxil kaxil deleted the worktree-vectorized-moseying-pony branch March 3, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants