rjgoyln opened a new pull request, #71868: URL: https://github.com/apache/airflow/pull/71868
## Summary `airflow-core`'s own test suite cannot run in the core-only environment `uv sync --project airflow-core` produces: four modules import the Kubernetes client or the cncf.kubernetes provider at module scope, taking `unit/cli` and part of `unit/serialization` down at collection time, and a dozen executor, CLI and logging tests need the provider installed to pass. Second slice of #71641, after #71677. The split worth checking is which tests skip on what. `executor_config` serialization and `ExecutorConfigType` are core's own pod handling and reach for `kubernetes.client` lazily, never for the provider, so those tests skip on the client library — as the pod tests in `test_serialized_objects.py` already did. Only the tests that exercise the provider itself skip on the provider. `unit/core/test_exceptions.py` asserted nothing beyond the provider re-exporting core's two pod exceptions, so it moves to the provider suite, where that pairing can actually break. Taking `pod_override` out of `simple_dag` costs no coverage: pod encoding does not vary by serialized Dag version, so the recorded v1 and v2 payloads were only asserting what the new round-trip test now asserts directly. A core-only run is still not green: `test_providers_manager.py::test_cli` and `TestStringifiedDAGs::test_serialization` assume the full provider set rather than cncf.kubernetes, and belong to #71637 and the `test_example_dags.py` slice. The `pyproject.toml` dev-group entries come out once celery, git and fab are done. related: #71641 ## Tests With cncf-kubernetes and the `kubernetes` client removed from a `uv sync --project airflow-core` environment, the collection errors are gone and every Kubernetes-driven failure is now a skip carrying its reason. The same files pass unchanged in a full workspace. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) 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]
