ShubhamGondane opened a new pull request, #63572:
URL: https://github.com/apache/airflow/pull/63572

   Adds `pytest.importorskip` guards to core tests that import optional 
provider packages so they skip gracefully when providers are not installed. 
Removes 6 provider packages from `airflow-core` dev dependencies. This enables 
`cd airflow-core && uv sync && pytest` to 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?
   
   - [X] Yes - Claude Code (claude-opus-4-6)
   
   Generated-by: Claude Code (claude-opus-4-6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to