fix: use positional args for wrap_function_wrapper() in genai instrumentations (#4445)
* Initial plan * fix: use positional args for wrap_function_wrapper() in genai instrumentations Change wrap_function_wrapper() calls from keyword arguments to positional arguments in anthropic, openai-v2, langchain, and vertexai instrumentations. This fixes a TypeError in environments with wrapt versions that don't accept the `module` keyword argument. Also update requirements.latest.txt for anthropic, openai-v2, and vertexai to test with wrapt==2.1.2, keeping requirements.oldest.txt at wrapt==1.16.0. Assisted-by: Claude Opus 4.6 Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-python-contrib/sessions/ced2c291-67d2-4b1c-a529-27a19eb20770 Co-authored-by: lmolkova <2347409+lmolkova@users.noreply.github.com> * fix: resolve Deprecated/wrapt conflict and add changelog entries - Bump Deprecated to 1.3.1 in openai-v2 and vertexai requirements.latest.txt to resolve conflict with wrapt==2.1.2 (Deprecated<1.3.0 requires wrapt<2) - Add changelog entries for all 4 affected packages (anthropic, openai-v2, langchain, vertexai) Assisted-by: Claude Opus 4.6 Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-python-contrib/sessions/1b66cb2e-9b29-4111-a5e1-cede00b74efb Co-authored-by: lmolkova <2347409+lmolkova@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lmolkova <2347409+lmolkova@users.noreply.github.com> Co-authored-by: Liudmila Molkova <neskazu@gmail.com>
C
Copilot committed
d83761fe969727f6ee09985179f412871157732d
Parent: b8ca943
Committed by GitHub <noreply@github.com>
on 4/17/2026, 8:01:10 AM