You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/09/20 16:25:14 UTC
[PR] Fix DataFusion storage-type error message on Python 3.11+ [airflow]
potiuk opened a new pull request, #73413:
URL: https://github.com/apache/airflow/pull/73413
The scheduled `Tests (AMD)` run on `main` (https://github.com/apache/airflow/actions/runs/35515068767) fails `test_gcs_provider_requires_connection_config` and `test_s3_provider_requires_connection_config` in the common.sql DataFusion object storage provider on Python 3.11, 3.12, 3.13 and 3.14, in both the Non-DB providers and the lowest-deps provider jobs.
`StorageType` is a `str, Enum` mixin. Starting with Python 3.11, `Enum.__format__` renders such members as `StorageType.GCS` rather than the value `gcs`, so the `connection_config must be provided for ...` messages stopped naming the storage type users actually configure. The f-strings were introduced in #73296, whose PR CI only ran on the default Python 3.10 where the value is still rendered, so the regression surfaced in the canary run.
Formatting `.value` restores the intended message on every supported Python version. Verified locally: the two tests fail on Python 3.12 before this change and pass on Python 3.10 and 3.12 after it.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Fable 5.1)
Generated-by: Claude Code (Fable 5.1) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix DataFusion storage-type error message on Python 3.11+ [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #73413:
URL: https://github.com/apache/airflow/pull/73413
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org