Skip to content

fix(deps): update dependency openai to v2#2732

Merged
shanbady merged 1 commit intomainfrom
renovate/openai-2.x
Feb 20, 2026
Merged

fix(deps): update dependency openai to v2#2732
shanbady merged 1 commit intomainfrom
renovate/openai-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 25, 2025

This PR contains the following updates:

Package Change Age Confidence
openai ^1.55.3^2.0.0 age confidence

Release Notes

openai/openai-python (openai)

v2.21.0

Compare Source

Full Changelog: v2.20.0...v2.21.0

Features
  • api: container network_policy and skills (d19de2e)
Bug Fixes
  • structured outputs: resolve memory leak in parse methods (#​2860) (6dcbe21)
  • webhooks: preserve method visibility for compatibility checks (44a8936)
Chores
  • internal: fix lint error on Python 3.14 (534f215)
Documentation
  • split api.md by standalone resources (96e41b3)
  • update comment (63def23)

v2.20.0

Compare Source

Full Changelog: v2.19.0...v2.20.0

Features
  • api: support for images in batch api (28edb6e)

v2.19.0

Compare Source

Full Changelog: v2.18.0...v2.19.0

Features
  • api: skills and hosted shell (27fdf68)
Chores
  • internal: bump dependencies (fae10fd)

v2.18.0

Compare Source

Full Changelog: v2.17.0...v2.18.0

Features
  • api: add context_management to responses (137e992)
  • api: responses context_management (c3bd017)

v2.17.0

Compare Source

Full Changelog: v2.16.0...v2.17.0

Features
  • api: add shell_call_output status field (1bbaf88)
  • api: image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name (7d96513)
  • client: add custom JSON encoder for extended type support (9f43c8b)
Bug Fixes
  • client: undo change to web search Find action (8f14eb0)
  • client: update type for find_in_page action (ec54dde)

v2.16.0

Compare Source

Full Changelog: v2.15.0...v2.16.0

Features
  • api: api update (b97f9f2)
  • api: api updates (9debcc0)
  • client: add support for binary request streaming (49561d8)
Bug Fixes
  • api: mark assistants as deprecated (0419cbc)
Chores
  • ci: upgrade actions/github-script (5139f13)
  • internal: update actions/checkout version (f276714)
Documentation
  • examples: update Azure Realtime sample to use v1 API (#​2829) (3b31981)

v2.15.0

Compare Source

Full Changelog: v2.14.0...v2.15.0

Features
  • api: add new Response completed_at prop (f077752)
Chores
  • internal: codegen related update (e7daba6)

v2.14.0

Compare Source

Full Changelog: v2.13.0...v2.14.0

Features
  • api: slugs for new audio models; make all model params accept strings (e517792)
Bug Fixes
  • use async_to_httpx_files in patch method (a6af9ee)
Chores
  • internal: add --fix argument to lint script (93107ef)

v2.13.0

Compare Source

Full Changelog: v2.13.0...v2.14.0

Features
  • api: slugs for new audio models; make all model params accept strings (e517792)
Bug Fixes
  • use async_to_httpx_files in patch method (a6af9ee)
Chores
  • internal: add --fix argument to lint script (93107ef)

v2.12.0

Compare Source

Full Changelog: v2.12.0...v2.13.0

Features
Chores
  • ci: add CI job to detect breaking changes with the Agents SDK (#​1436) (237c91e)
  • internal: add missing files argument to base client (e6d6fd5)

v2.11.0

Compare Source

Full Changelog: v2.11.0...v2.12.0

Features
  • api: api update (a95c4d0)
  • api: fix grader input list, add dated slugs for sora-2 (b2c389b)

v2.9.0

Compare Source

Full Changelog: v2.9.0...v2.10.0

Features
  • api: make model required for the responses/compact endpoint (a12936b)
Bug Fixes
  • types: allow pyright to infer TypedDict types within SequenceNotStr (8f0d230)
Chores
  • add missing docstrings (f20a9a1)
  • internal: update docstring (9a993f2)

v2.8.1

Compare Source

Full Changelog: v2.8.0...v2.8.1

Bug Fixes
  • api: align types of input items / output items for typescript (64c9fb3)

v2.8.0

Compare Source

Full Changelog: v2.8.0...v2.8.1

Bug Fixes
  • api: align types of input items / output items for typescript (64c9fb3)

v2.7.2

Compare Source

Full Changelog: v2.7.1...v2.7.2

Bug Fixes
  • compat with Python 3.14 (15a7ec8)
Chores
  • package: drop Python 3.8 support (afc14f2)

v2.7.1

Compare Source

Full Changelog: v2.7.0...v2.7.1

Bug Fixes
  • api: fix nullability of logprobs (373b7f6)

v2.7.0

Compare Source

Full Changelog: v2.7.0...v2.7.1

Bug Fixes
  • api: fix nullability of logprobs (373b7f6)

v2.6.1

Compare Source

Full Changelog: v2.6.0...v2.6.1

Bug Fixes
Chores
  • client: clean up custom translations code (cfb9e25)

v2.6.0

Compare Source

Full Changelog: v2.6.0...v2.6.1

Bug Fixes
Chores
  • client: clean up custom translations code (cfb9e25)

v2.5.0

Compare Source

Full Changelog: v2.5.0...v2.6.0

Features
  • api: Add responses.input_tokens.count (6dd09e2)
Bug Fixes
  • api: internal openapi updates (caabd7c)

v2.4.0

Compare Source

Full Changelog: v2.4.0...v2.5.0

Features
Chores
  • bump httpx-aiohttp version to 0.1.9 (67f2f0a)

v2.3.0

Compare Source

Full Changelog: v2.3.0...v2.4.0

Features
  • api: Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (bdbe9b8)
Chores
  • fix dangling comment (da14e99)
  • internal: detect missing future annotations with ruff (2672b8f)

v2.2.0

Compare Source

Full Changelog: v2.2.0...v2.3.0

Features
  • api: comparison filter in/not in (aa49f62)
Chores
  • package: bump jiter to >=0.10.0 to support Python 3.14 (#​2618) (aa445ca)

v2.1.0

Compare Source

Full Changelog: v2.1.0...v2.2.0

Features
  • api: dev day 2025 launches (38ac009)
Bug Fixes
  • client: add chatkit to beta resource (de3e561)

v2.0.1

Compare Source

Full Changelog: v2.0.1...v2.1.0

Features
  • api: add support for realtime calls (7f7925b)

v2.0.0

Compare Source

Full Changelog: v2.0.0...v2.0.1

Bug Fixes
  • api: add status, approval_request_id to MCP tool call (2a02255)

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/openai-2.x branch 4 times, most recently from 964bb85 to 4a00c27 Compare December 1, 2025 16:18
@renovate renovate bot force-pushed the renovate/openai-2.x branch 13 times, most recently from 730978e to 973444a Compare December 12, 2025 21:24
@renovate renovate bot force-pushed the renovate/openai-2.x branch 13 times, most recently from 126b80c to 355d830 Compare December 18, 2025 11:57
@renovate renovate bot force-pushed the renovate/openai-2.x branch 16 times, most recently from 97f3261 to c193056 Compare January 16, 2026 14:20
@github-actions
Copy link

github-actions bot commented Jan 22, 2026

OpenAPI Changes

Show/hide No detectable change.

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

ocw-data-parser = "^0.35.1"
onnxruntime = "1.22.1"
openai = "^1.55.3"
openai = "^2.0.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading openai to ^2.0.0 while keeping litellm at 1.79.3 may cause runtime errors, as litellm v1.79.3 likely expects openai v1.x APIs.
Severity: HIGH

Suggested Fix

To resolve the incompatibility, either upgrade litellm to a version that is explicitly compatible with openai v2.x (likely requiring openai >= 2.8.0), or revert the openai upgrade to a v1.x version compatible with litellm 1.79.3. The safest approach is to align both dependencies according to litellm's official compatibility matrix.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: pyproject.toml#L75

Potential issue: The pull request upgrades `openai` to version `^2.0.0` but leaves
`litellm` pinned at `1.79.3`. This version of `litellm` was likely developed and tested
against `openai` v1.x, and the major version bump in `openai` introduces breaking API
changes. As a result, calls to `litellm` functions that internally use the OpenAI SDK,
such as `litellm.embedding()` or `litellm.batch_completion()`, are likely to fail at
runtime due to this API incompatibility. While newer versions of `litellm` support
`openai` v2.x, they require at least version `2.8.0`, suggesting `2.0.0` is not a
compatible version.

This was referenced Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant