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

   The CI environment upgrade in #76334 fails on two dependency changes. Both 
fixes also work with the currently locked versions, so this can merge first.
   
   **sqlglot 30.27** refuses `RETURNING` for Snowflake, so the data-modifying 
CTE tripwires in `common.ai` stopped at the parser and never reached the deep 
scan they exist to check. Those statements are still rejected, so this is test 
drift rather than a safety regression. The tripwire statements no longer use 
`RETURNING`; the `RETURNING` forms stay covered on Postgres in 
`TestDataModifyingNodeDetection`.
   
   **importlib-metadata 10** types `distributions()` as its new `IDistribution` 
protocol, which fails mypy in `shared/module_loading`. Callers only use members 
the protocol provides, so runtime behaviour is unchanged. This uses a `type: 
ignore` because a `cast` is flagged as redundant on older versions, and 
`IDistribution` does not exist there or in the stdlib.
   
   related: #76334
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Claude Opus 5)
   
   Generated-by: Claude Code (Claude Opus 5) 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: [email protected]

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

Reply via email to