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

   ## Summary
   
   This updates the Anthropic provider for the Anthropic Python SDK 1.x release 
and removes the need for the temporary `<1.0.0` cap.
   
   Anthropic 1.0 changed the SDK's underlying HTTP package from `httpx` to 
`httpx2`. That made the provider checks fail in a unit test that builds a real 
SDK `BadRequestError` using the old response object. The provider does not use 
the other removed APIs called out in the v1 migration guide, such as the legacy 
completions API or raw-response helpers.
   
   The provider now requires `anthropic>=1.0.0`, updates the optional extras to 
the same floor, and refreshes `uv.lock` so tests run against 
`anthropic==1.0.0`. The test helper now builds `httpx2` request/response 
objects, and the hook has two small typing cleanups needed by the newer SDK.
   
   closes: #72071
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes - Codex (GPT-5)
   
   Generated-by: Codex (GPT-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]

Reply via email to