Guard provider-dependent tests in airflow-core for standalone core testing#63572
Closed
ShubhamGondane wants to merge 4 commits into
Closed
Guard provider-dependent tests in airflow-core for standalone core testing#63572ShubhamGondane wants to merge 4 commits into
ShubhamGondane wants to merge 4 commits into
Conversation
ShubhamGondane
marked this pull request as draft
March 14, 2026 00:44
ShubhamGondane
force-pushed
the
fix/60770-guard-provider-imports-in-core-tests
branch
from
March 17, 2026 00:16
19f679d to
471806a
Compare
Member
|
@ShubhamGondane This draft PR has had no activity for 5 weeks. Closing to keep the queue clean. You are welcome to reopen and continue when you're ready. If you'd like to pick it back up, please rebase onto the current Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
pytest.importorskipguards to core tests that import optional provider packages so they skip gracefully when providers are not installed. Removes 6 provider packages fromairflow-coredev dependencies. This enablescd airflow-core && uv sync && pytestto work standalone. The pytest.importorskip pattern is already established in the codebase (test_executor_loader.py, test_connection.py). These tests continue to run in CI and in full workspace environments (uv sync --all-packages).The remaining provider-dependent tests all test core functionality (executor loading, serialization, CLI parsing) using provider classes as test inputs. Previous PRs (#48113, #49178, #54635) already moved truly provider-specific tests. These belong in core and are guarded rather than moved.
closes: #60770
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (claude-opus-4-6) following the guidelines