Skip to content

ci: update openai requirement from <1.110.0,>=1.68.0 to >=1.68.0,<2.22.0#1700

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/openai-gte-1.68.0-and-lt-2.22.0
Open

ci: update openai requirement from <1.110.0,>=1.68.0 to >=1.68.0,<2.22.0#1700
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/openai-gte-1.68.0-and-lt-2.22.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Updates the requirements on openai to permit the latest version.

Release notes

Sourced from openai's releases.

v2.21.0

2.21.0 (2026-02-13)

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)
Changelog

Sourced from openai's changelog.

2.21.0 (2026-02-13)

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)

2.20.0 (2026-02-10)

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

Features

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

2.19.0 (2026-02-10)

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

Features

  • api: skills and hosted shell (27fdf68)

Chores

  • internal: bump dependencies (fae10fd)

2.18.0 (2026-02-09)

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

... (truncated)

Commits
  • 3e0c05b release: 2.21.0
  • e93f6cf fix(webhooks): preserve method visibility for compatibility checks
  • 3ddbb7e feat(api): container network_policy and skills
  • 156d518 docs: split api.md by standalone resources
  • 72e1e15 fix(structured outputs): resolve memory leak in parse methods (#2860)
  • d81ee8f codegen metadata
  • 01c9eee codegen metadata
  • 957dadf chore(internal): fix lint error on Python 3.14
  • 7b26bd3 docs: update comment
  • f2d096f release: 2.20.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [openai](https://github.com/openai/openai-python) to permit the latest version.
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](openai/openai-python@v1.68.0...v2.21.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-version: 2.21.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Feb 16, 2026
mistral = ["mistralai>=1.8.2"]
ollama = ["ollama>=0.4.8,<1.0.0"]
openai = ["openai>=1.68.0,<2.0.0"]
openai = ["openai>=1.68.0,<3.0.0"]

Choose a reason for hiding this comment

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

Issue: The upper bound <3.0.0 is very permissive and allows all openai v2.x versions. OpenAI SDK v2.0.0 introduced breaking changes (e.g., ResponseFunctionToolCallOutputItem.output return type changed).

Suggestion: Consider either:

  1. A more conservative upper bound like <2.22.0 (matching the PR title) until compatibility is fully verified
  2. Explicitly documenting that v2.x compatibility has been tested

Has the SDK been tested against openai v2.x to verify there are no runtime issues?

@github-actions
Copy link

Assessment: Comment

This Dependabot PR updates the openai dependency constraint, but there are a few concerns to address.

Review Summary
  • Major Version Boundary: This change allows openai v2.x which crossed a major version boundary (v1.x → v2.x). The openai SDK v2.0.0 introduced breaking changes that should be verified against this SDK's implementation.
  • Constraint Consistency: The litellm extra maintains a more restrictive constraint (<1.110.0) while openai and sagemaker are updated to <3.0.0, creating an inconsistency across extras.

The SDK's OpenAIModel implementation appears to use standard openai API patterns and may be compatible with v2.x, but explicit verification would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants