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

    <!-- SPDX-License-Identifier: Apache-2.0
         https://www.apache.org/licenses/LICENSE-2.0 -->
   # Fix deprecated provider lookup in Amazon AWS hooks
   
   AWS hooks emit a `DeprecatedImportWarning` when adding the provider version 
to the boto3 user agent because they access `ProvidersManager.hooks`.
   
   Use `ProvidersManagerTaskRuntime` when available, retaining the core manager 
as a fallback for older supported Airflow versions. Add a regression test that 
promotes the deprecated-hooks warning to an error and verifies the provider 
version is still returned.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   <!--
   If generative AI tooling has been used in the process of authoring this PR, 
please
   change below checkbox to `[X]` followed by the name of the tool, uncomment 
the "Generated-by".
   -->
   
   - [x] Yes - Codex
   
   <!--
   Generated-by: [codex] 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