-
-
Notifications
You must be signed in to change notification settings - Fork 115
build(deps): bump openai from 1.102.0 to 2.14.0 #751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Pull Request Review: OpenAI SDK Upgrade (v1.102.0 → v2.14.0)
|
Bumps [openai](https://github.com/openai/openai-python) from 1.102.0 to 2.14.0. - [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.102.0...v2.14.0) --- updated-dependencies: - dependency-name: openai dependency-version: 2.14.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
d17a88c to
d796e07
Compare
Pull Request Review: OpenAI SDK Upgrade (1.102.0 → 2.14.0)OverviewThis PR bumps the OpenAI Python SDK from version 1.102.0 to 2.14.0 - a major version upgrade that spans from v1 to v2. This is a Dependabot-generated update. Critical Concerns🚨 MAJOR VERSION BREAKING CHANGESThis is a major version upgrade (v1.x → v2.x), which typically introduces breaking changes. Based on the OpenAI Python SDK changelog, v2.0.0 introduced significant breaking changes including:
🔍 Impact AnalysisThe codebase uses OpenAI SDK in the following locations:
Required Actions Before Merge✅ 1. Verify CompatibilityRun the test suite to ensure no regressions: # Run backend tests in parallel (recommended)
docker compose -f test.yml run django pytest -n 4 --dist loadscope
# Or run sequentially if you need detailed output
docker compose -f test.yml run django python manage.py test --keepdb✅ 2. Check pydantic-ai CompatibilityVerify that # Check if pydantic-ai has OpenAI version constraints
grep -r "openai" .venv/lib/python*/site-packages/pydantic_ai*/METADATA 2>/dev/null || python -c "import pydantic_ai; help(pydantic_ai)"If pydantic-ai requires OpenAI v1.x, this upgrade will break the build. ✅ 3. Manual Testing ChecklistTest the following features that use OpenAI:
✅ 4. VCR Cassette RegenerationIf tests pass but use outdated cassettes, consider regenerating them: # Delete cassettes and re-record
rm -rf fixtures/vcr_cassettes/*.yaml
# Re-run tests to regenerate
docker compose -f test.yml run django pytest -n 4 --dist loadscopeCode Quality Assessment✅ Positive Aspects
|
Bumps openai from 1.102.0 to 2.14.0.
Release notes
Sourced from openai's releases.
... (truncated)
Changelog
Sourced from openai's changelog.
... (truncated)
Commits
d3e6321release: 2.14.04547f1acodegen metadataa3c27a2chore(internal): add--fixargument to lint script51c6885feat(api): slugs for new audio models; make allmodelparams accept strings62699d9fix: use async_to_httpx_files in patch method20af6aacodegen metadataf94256drelease: 2.13.09dc1d1afeat(api): gpt-image-1.574b1e6fchore(ci): add CI job to detect breaking changes with the Agents SDK (#1436)3c016c6chore(internal): add missing files argument to base clientDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)