chore(deps): bump the python-maintenance group across 1 directory with 11 updates - #3746
chore(deps): bump the python-maintenance group across 1 directory with 11 updates#3746dependabot[bot] wants to merge 1 commit into
Conversation
OkTest Summary❌ Failed for Python SDK PR #3746. SDK merge ( |
Castiron custom code✅ No new custom-code files detected. 34 mixed files remain; 0 existing customizations changed. Compared 34 existing customizations unchanged
A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 33217347015 --repo openai/openai-python \
--name castiron-custom-code-33217347015-1 --dir /tmp/castiron-custom-code-33217347015-1
git apply --stat /tmp/castiron-custom-code-33217347015-1/custom-code.patch
cat /tmp/castiron-custom-code-33217347015-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 1cfa80ab6b4bd48e3566f05992027b2ff460f2c5 a2ea7c4d06864a19737b121d9ca1823d1c320450
python3 scripts/castiron/custom_code_report.py report \
--base 1cfa80ab6b4bd48e3566f05992027b2ff460f2c5 \
--head a2ea7c4d06864a19737b121d9ca1823d1c320450 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-a2ea7c4d0686
cat /tmp/castiron-custom-code-a2ea7c4d0686/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3473ab58ea
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| [[package]] | ||
| name = "openai" | ||
| version = "3.5.0" # x-release-please-version | ||
| version = "3.5.0" |
There was a problem hiding this comment.
Restore the release-please marker in uv.lock
Restore # x-release-please-version on this version entry. The dependency-locks job in .github/workflows/ci.yml line 65 explicitly asserts that the exact marked line exists; because this update removes the comment, that job fails on every pull request and push before lint or tests can run.
Useful? React with 👍 / 👎.
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Requesting changes because this grouped update introduces multiple verified compatibility, CI, and build-supply-chain regressions.
-
HTTPX2 introduces a default 1 MiB SSE event cap. The proposed
httpx2==2.12.0definesDEFAULT_MAX_EVENT_SIZE_BYTES = 1024 * 1024, and bothClient.sse()andAsyncClient.sse()use it by default. Upstream's owntest_max_event_size_applies_by_defaultdemonstrates that a valid 2 MiB event raisesSSEError, despite the original upstream proposal describing this setting as opt-in. This is incompatible with this repository's explicit policy against arbitrary fixed event/payload limits. The OpenAI SDK currently uses its own uncapped decoder, so the confirmed regression is in the upgraded public underlying transport SSE APIs; it must not be hidden by increasing or overriding the limit. Defer this HTTPX2/HTTPCore2 update until the upstream default preserves valid large events. Evidence: https://github.com/pydantic/httpx2/blob/v2.12.0/src/httpx2/httpx2/_config.py#L251 and https://github.com/pydantic/httpx2/blob/v2.12.0/tests/httpx2/test_sse.py#L379-L399. -
The Hatchling upgrade leaves a new executable build dependency unconstrained. Hatchling 1.32.0 adds
tomlkitas a runtime dependency, resolved here totomlkit==0.15.1, but neither[dependency-groups].buildnor[tool.uv].build-constraint-dependenciespins it. This violates the existing explicit, reviewed isolated-build dependency policy. Either defer the Hatchling upgrade or add the identical exacttomlkit==0.15.1pin to both reviewed build lists and regenerate the lockfile. Evidence: https://github.com/pypa/hatch/releases/tag/hatchling-v1.32.0. -
Release automation and the dependency-lock check are broken. The editable
openaipackage entry inuv.lockdrops the required# x-release-please-versionmarker. Thedependency lock freshnessjob fails withAssertionError: Preserve the uv.lock release-please marker and project version. Restore the exact marked line after any lock regeneration. -
The Python support-policy check is broken.
pyproject.tomlrewrites the existing Bedrock requirement frombotocore>=1.40.0,<2tobotocore<2,>=1.40.0. Although semantically equivalent, the repository's deterministic policy check requires the original literal and fails withRuntimeError: Package metadata does not contain the unmarked requirement 'botocore>=1.40.0,<2'. Restore the existing spelling; do not weaken the checker or change the Python floor. -
The Ruff upgrade fails required CI on unrelated existing code. Ruff 0.14.7 -> 0.16.3 makes
detect-breaking-changesreport 12 previously clean violations across four unrelatedscripts/castironfiles. Retain the existing compatible Ruff version; do not expand this dependency PR into unrelated Castiron cleanup or suppressions.
The separate Agents SDK mypy failure is not evidence of a regression from these updated dependency versions: that job checks out an older Agents revision and actually installs httpx2==2.9.1 and typing-extensions==4.14.1. Current Agents main already handles the optional call_id, and current SDK main has removed the stale downstream job. Do not change generated SDK types or public APIs to mask that unrelated failure.
Please separate or defer incompatible upgrades, restore the existing release/Python-policy invariants, preserve reviewed build dependency closure, and rerun lock freshness, build/package metadata, lint, supported Python versions, HTTPX2, and unchanged large-payload regression coverage before requesting approval.
3473ab5 to
011afbd
Compare
…h 11 updates Bumps the python-maintenance group with 11 updates in the / directory: | Package | From | To | | --- | --- | --- | | [httpx2](https://github.com/pydantic/httpx2) | `2.7.0` | `2.12.0` | | [typing-extensions](https://github.com/python/typing_extensions) | `4.15.0` | `4.16.0` | | [anyio](https://github.com/agronholm/anyio) | `4.12.1` | `4.14.2` | | [sounddevice](https://github.com/spatialaudio/python-sounddevice) | `0.5.3` | `0.5.6` | | [botocore](https://github.com/boto/botocore) | `1.42.97` | `1.43.76` | | [pytest](https://github.com/pytest-dev/pytest) | `9.0.3` | `9.1.1` | | [ruff](https://github.com/astral-sh/ruff) | `0.14.7` | `0.16.4` | | [inline-snapshot](https://github.com/15r10nk/inline-snapshot) | `0.31.1` | `0.35.4` | | [azure-identity](https://github.com/Azure/azure-sdk-for-python) | `1.25.1` | `1.25.3` | | [trio](https://github.com/python-trio/trio) | `0.31.0` | `0.34.0` | | [hatchling](https://github.com/pypa/hatch) | `1.27.0` | `1.32.0` | Updates `httpx2` from 2.7.0 to 2.12.0 - [Release notes](https://github.com/pydantic/httpx2/releases) - [Changelog](https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md) - [Commits](pydantic/httpx2@v2.7.0...v2.12.0) Updates `typing-extensions` from 4.15.0 to 4.16.0 - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](python/typing_extensions@4.15.0...4.16.0) Updates `anyio` from 4.12.1 to 4.14.2 - [Release notes](https://github.com/agronholm/anyio/releases) - [Commits](agronholm/anyio@4.12.1...4.14.2) Updates `sounddevice` from 0.5.3 to 0.5.6 - [Release notes](https://github.com/spatialaudio/python-sounddevice/releases) - [Changelog](https://github.com/spatialaudio/python-sounddevice/blob/master/NEWS.rst) - [Commits](spatialaudio/python-sounddevice@0.5.3...0.5.6) Updates `botocore` from 1.42.97 to 1.43.76 - [Commits](boto/botocore@1.42.97...1.43.76) Updates `pytest` from 9.0.3 to 9.1.1 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@9.0.3...9.1.1) Updates `ruff` from 0.14.7 to 0.16.4 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.14.7...0.16.4) Updates `inline-snapshot` from 0.31.1 to 0.35.4 - [Release notes](https://github.com/15r10nk/inline-snapshot/releases) - [Changelog](https://github.com/15r10nk/inline-snapshot/blob/main/CHANGELOG.md) - [Commits](15r10nk/inline-snapshot@0.31.1...0.35.4) Updates `azure-identity` from 1.25.1 to 1.25.3 - [Release notes](https://github.com/Azure/azure-sdk-for-python/releases) - [Commits](Azure/azure-sdk-for-python@azure-identity_1.25.1...azure-identity_1.25.3) Updates `trio` from 0.31.0 to 0.34.0 - [Release notes](https://github.com/python-trio/trio/releases) - [Commits](python-trio/trio@v0.31.0...v0.34.0) Updates `hatchling` from 1.27.0 to 1.32.0 - [Release notes](https://github.com/pypa/hatch/releases) - [Commits](pypa/hatch@hatchling-v1.27.0...hatchling-v1.32.0) --- updated-dependencies: - dependency-name: anyio dependency-version: 4.14.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: azure-identity dependency-version: 1.25.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-maintenance - dependency-name: botocore dependency-version: 1.43.74 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: hatchling dependency-version: 1.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: httpx2 dependency-version: 2.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: inline-snapshot dependency-version: 0.35.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: pytest dependency-version: 9.1.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: ruff dependency-version: 0.16.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: sounddevice dependency-version: 0.5.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-maintenance - dependency-name: trio dependency-version: 0.34.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-maintenance - dependency-name: typing-extensions dependency-version: 4.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-maintenance ... Signed-off-by: dependabot[bot] <support@github.com>
011afbd to
a2ea7c4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a2ea7c4d06
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| voice_helpers = ["sounddevice>=0.5.1", "numpy>=2.0.2"] | ||
| bedrock = [ | ||
| "botocore>=1.40.0,<2", | ||
| "botocore<2,>=1.40.0", |
There was a problem hiding this comment.
Preserve the canonical Botocore requirement spelling
Restore this requirement to botocore>=1.40.0,<2. Although the reordered specifiers are semantically equivalent, the python-policy CI job runs scripts/check-python-version-policy.py, which requires that exact metadata string; after the separately reported lock marker is restored, every non-scheduled CI run still fails here with Package metadata does not contain the unmarked requirement 'botocore>=1.40.0,<2'.
Useful? React with 👍 / 👎.
Bumps the python-maintenance group with 11 updates in the / directory:
2.7.02.12.04.15.04.16.04.12.14.14.20.5.30.5.61.42.971.43.769.0.39.1.10.14.70.16.40.31.10.35.41.25.11.25.30.31.00.34.01.27.01.32.0Updates
httpx2from 2.7.0 to 2.12.0Release notes
Sourced from httpx2's releases.
... (truncated)
Changelog
Sourced from httpx2's changelog.
... (truncated)
Commits
71ae23bVersion 2.12.0 (#1147)4fd0c70Decode compressed response bodies incrementally (#1126)d588e52Usebackports.zstdon Python 3.13 and earlier (#1146)344589dVersion 2.11.0 (#1143)de96d81Validate multipart part headers (#1142)51c3269Require brotli 1.2.0 in the brotli extra (#1141)829b93aRespect explicit Transfer-Encoding headers (#1137)4fa6c8eFix changelog extraction regex for H2 release headings (#1136)8a6f370Restore deprecated status code aliases (#1135)d03f1ecAdd public Origin API (#1134)Updates
typing-extensionsfrom 4.15.0 to 4.16.0Release notes
Sourced from typing-extensions's releases.
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
Commits
f29cd28Prepare relase 4.16.0 (#774)4317461Bump version to 4.16.0rc2.dev (#772)4f71098Prepare release 4.16.0rc2 (#771)37ed08aRemove use ofasyncio.coroutines.iscoroutinefunction()(#769)8dcc559ImproveTypedDictdocumentation (#770)224f8d5Post-release followups for 3.16.0rc1 (#767)777de3ePrepare release 4.16.0rc1 (#766)890be90Type variable tuple variance (#741)0e05458Pin SQLAlchemy third-party tests to pytest==9.0.3 (#765)d277746docs: add version compatibility table (#733)Updates
anyiofrom 4.12.1 to 4.14.2Release notes
Sourced from anyio's releases.
... (truncated)
Commits
c384f99Bumped up the versiondbba29dFixed 100% CPU spin on cancel scope misuse (#1217)6bbc6c3Fix CapacityLimiter over-granting tokens on asyncio (#1172)6f82b25Refactored TestTLSStream.test_receive_invalid_max_bytes() to be less flakybe24b04Relaxed timeouts to fix test flakiness8113506Fix test flakiness caused by slow callback duration logging1e988b6Fixed CapacityLimiter raising trio.WouldBlock instead of anyio.WouldBlock (#1...44713f3Pin setup-uv to a commit sha across downstream jobs (#1213)f1b7301Fixed stderr writes in a worker subprocess causing a deadlock (#1207)212be93Fix flaky test_tcp_listener_same_port using a hardcoded port (#1206)Updates
sounddevicefrom 0.5.3 to 0.5.6Release notes
Sourced from sounddevice's releases.
Changelog
Sourced from sounddevice's changelog.
Commits
bd3f0dfRelease 0.5.69e55e73Fix architecture detection on Windows ARM64 (#631)e8e7befBump actions/setup-python from 6 to 7dfa004dGitHub Actions: Upgrade from ubuntu-22.04 to ubuntu-24.04 (#634)950d205update linkfd24bd3Bump actions/checkout from 6 to 788de286CI: bump Python versions0f16231Bump idna from 3.11 to 3.15 in the uv group across 1 directory2634256Bump urllib3 from 2.6.3 to 2.7.0 in the uv group across 1 directory715d988Bump actions/download-artifact from 7 to 8Updates
botocorefrom 1.42.97 to 1.43.76Commits
648ecf4Merge branch 'release-1.43.76'8593448Bumping version to 1.43.766285571Update to latest models4429ee4Merge branch 'release-1.43.75'10e7b5cMerge branch 'release-1.43.75' into develop9f7ad33Bumping version to 1.43.75dc86db8Update to latest models4c9ef8dMerge branch 'release-1.43.74'eaa56d0Merge branch 'release-1.43.74' into develop4c5118bBumping version to 1.43.74Updates
pytestfrom 9.0.3 to 9.1.1Release notes
Sourced from pytest's releases.
... (truncated)
Commits
cf470ecPrepare release version 9.1.1e0c8ce6Merge pull request #14625 from pytest-dev/patchback/backports/9.1.x/a07c31a97...1b82d16Merge pull request #14624 from pytest-dev/patchback/backports/9.1.x/b375b79ec...501c4bcMerge pull request #14596 from bluetech/doc-classmethodb61f588Merge pull request #14622 from chrisburr/fix-14608-initial-conftest-test-subdir9a567e0[automated] Update plugin list (#14617) (#14618)ef8b299Merge pull request #14620 from pytest-dev/patchback/backports/9.1.x/680f9f3ed...66abd07Merge pull request #14220 from bysiber/fix-stale-iexp-raisesgroup79fbf93Merge pull request #14612 from pytest-dev/patchback/backports/9.1.x/974ed48b6...0d312ebMerge pull request #14611 from bluetech/parametrize-argvalues-typingUpdates
rufffrom 0.14.7 to 0.16.4Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
11c76bfBump 0.16.4 (#27937)d53c8c5Isolate playground builds from deployment credentials (#27839)cab001eDisable uv preview for releases and pre-commit hooks (#27939)f8d575f[ty] Clarify writing guidance for human readers (#27912)ca45faeSet--previewand--default-indexfor theuv-lockhook (#27935)4827bf7ExportUV_DEFAULT_INDEXinrelease.sh(#27934)d1087a4[ty] Handle assignment expressions in string annotations (#27921)680cce4[ty] Optimize inherited recursive protocol comparisons (#27922)974d3cbUpgrade ecosystem-analyzer and mypy_primer to the latest upstream pins (#27932)b169b40Install cargo tools locked (#27929)Updates
inline-snapshotfrom 0.31.1 to 0.35.4Release notes
Sourced from inline-snapshot's releases.
... (truncated)
Changelog
Sourced from inline-snapshot's changelog.
... (truncated)
Commits
a416e93ci: action updatee018414bump: version 0.35.3 → 0.35.49f89136Merge pull request #382 from 15r10nk/fix/trim-only-complete-runsf82451bfix: disable trim when pytest deselects testsa9e2851fix: only trim snapshots after complete test runs9cc6975fix: handle disabled pytest capture plugin (#389)e1f02cdchore: sponsor changes (#387)4fcbf9fchore: added openai to the list of my sponsors (#386)6c37407test: mask parts of the external terminal output (#385)4485eacbump: version 0.35.2 → 0.35.3Updates
azure-identityfrom 1.25.1 to 1.25.3Commits
a989ea4[Identity] Prep patch release7972883[Identity] Adjust refresh logic (#45496)04764a9add psscript to convert apiview json files to md (