[pull] main from openai:main - #147
Merged
Merged
Conversation
…ns (#3641) - [x] I understand that this repository is auto-generated and my pull request may not be merged ## Changes being requested - Add the missing repository-level Dependabot v2 configuration for the root PEP 621 Python project and GitHub Actions workflows. - Schedule low-noise Monday UTC updates with separate Python/Actions windows, an eight-day cooldown for routine version updates, and three/five open-PR limits; security updates remain independently eligible without that cooldown. - Group Python minor/patch maintenance separately from security remediations, and update coupled CodeQL init/analyze actions together while leaving unrelated SHA-pinned actions independently reviewable. - Avoid a duplicate `uv` updater: the repository installs Rye-generated `requirements.lock` and `requirements-dev.lock`, and Dependabot cannot regenerate those files. The config explicitly instructs maintainers to run `rye lock --all-features` and `uv lock` before merging any Python dependency update. ## Verification - Parsed the YAML and validated it against the current Dependabot v2 JSON Schema. - Validated exact supported ecosystems, root manifest discovery, staggered weekly schedules, cooldowns, PR limits, maintenance/security group semantics, CodeQL grouping, and absence of reviewers/assignees/target-branch overrides. - Confirmed all eight runtime dependencies satisfy `pyproject.toml` across `uv.lock`, `requirements.lock`, and `requirements-dev.lock`; verified the existing uv lockfile is structurally valid offline. - Verified all 46 GitHub Actions references remain pinned to full commit SHAs and both PyPI release workflows retain isolated build/upload jobs and publishing-only OIDC. - `python scripts/check-python-version-policy.py` - `git diff origin/main...HEAD --check` ## Additional context & links Only `.github/dependabot.yml` is added. Rye-only development dependencies and Rye lock regeneration remain manual because Dependabot has no supported Rye ecosystem.
## Summary Remove the Agents SDK compatibility check from this repository's CI, matching [openai-node#2033](openai/openai-node#2033). Downstream compatibility is useful signal, but it belongs outside the SDK repository, where failures can be handled without holding up unrelated SDK changes. Intentional type changes can create a chicken-and-egg problem: Agents needs the SDK change before it can adapt, while SDK CI waits for Agents to compile. Requiring a pinned downstream checkout also adds ongoing maintenance and can keep reporting incompatibilities that Agents has already fixed. This removes the Agents job, its dedicated pins and build exceptions, and the tests that only supported it. The SDK's own breaking-change checks and dependency protections remain unchanged. For security reasons we added pins in #3641 but makes it very difficult to maintain this check
…3749) Adds `compute_units` to Responses and Chat Completions usage. Co-authored-by: apcha-oai <228803254+apcha-oai@users.noreply.github.com>
## Summary Make the dependency workflow's guards behave consistently on macOS and Linux so contributors can run the same checks locally that run in CI. macOS ships Bash 3.2, which does not stop at a failed `[[ ... ]]` guard just because `set -e` is enabled. This causes three existing rejection tests to fail locally even though they pass on Linux. Exit explicitly when a guard fails, keeping the accepted base SHAs and repository URLs unchanged.
## Summary - Make X.509 workload identity consistent across synchronous and asynchronous clients, supported data-residency regions, client copies, and explicit authentication configuration. - Preserve caller-owned HTTP clients, request hooks, custom HTTPS origins and TLS configuration, retry behavior, token refresh, and request replay compatibility. - Add focused synchronous, asynchronous, concurrent, legacy-HTTPX, and workload-identity regression coverage without changing the public API or custom-code budget policy. ## Validation - Full repository tests: **9,425 passed, 32 skipped**. - Focused X.509 and compatibility tests: **340 passed, 2 skipped**. - Legacy HTTPX compatibility tests: **137 passed**. - Large-payload compatibility regression passed. - Ruff, whole-repository pyright, and mypy across 1,576 files passed. - Wheel and source distributions built successfully; package metadata and Bedrock packaging validated. - Existing custom-code budget passed: **6,574 / 10,000**.
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6.0.0 to 8.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v8.0.1</h2> <h2>What's Changed</h2> <ul> <li>Support for CJK characters in the artifact name by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/471">actions/download-artifact#471</a></li> <li>Add a regression test for artifact name + content-type mismatches by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/472">actions/download-artifact#472</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v8...v8.0.1">https://github.com/actions/download-artifact/compare/v8...v8.0.1</a></p> <h2>v8.0.0</h2> <h2>v8 - What's new</h2> <blockquote> <p>[!IMPORTANT] actions/download-artifact@v8 has been migrated to an ESM module. This should be transparent to the caller but forks might need to make significant changes.</p> </blockquote> <blockquote> <p>[!IMPORTANT] Hash mismatches will now error by default. Users can override this behavior with a setting change (see below).</p> </blockquote> <h3>Direct downloads</h3> <p>To support direct uploads in <code>actions/upload-artifact</code>, the action will no longer attempt to unzip all downloaded files. Instead, the action checks the <code>Content-Type</code> header ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the new <code>skip-decompress</code> parameter to <code>true</code>.</p> <h3>Enforced checks (breaking)</h3> <p>A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the <code>digest-mismatch</code> parameter. To be secure by default, we are now defaulting the behavior to <code>error</code> which will fail the workflow run.</p> <h3>ESM</h3> <p>To support new versions of the @actions/* packages, we've upgraded the package to ESM.</p> <h2>What's Changed</h2> <ul> <li>Don't attempt to un-zip non-zipped downloads by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/460">actions/download-artifact#460</a></li> <li>Add a setting to specify what to do on hash mismatch and default it to <code>error</code> by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/461">actions/download-artifact#461</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v7...v8.0.0">https://github.com/actions/download-artifact/compare/v7...v8.0.0</a></p> <h2>v7.0.0</h2> <h2>v7 - What's new</h2> <blockquote> <p>[!IMPORTANT] actions/download-artifact@v7 now runs on Node.js 24 (<code>runs.using: node24</code>) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading.</p> </blockquote> <h3>Node.js 24</h3> <p>This release updates the runtime to Node.js 24. v6 had preliminary support for Node 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24.</p> <h2>What's Changed</h2> <ul> <li>Update GHES guidance to include reference to Node 20 version by <a href="https://github.com/patrikpolyak"><code>@patrikpolyak</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/440">actions/download-artifact#440</a></li> <li>Download Artifact Node24 support by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/415">actions/download-artifact#415</a></li> <li>fix: update <code>@actions/artifact</code> to fix Node.js 24 punycode deprecation by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/451">actions/download-artifact#451</a></li> <li>prepare release v7.0.0 for Node.js 24 support by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/452">actions/download-artifact#452</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/download-artifact/commit/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c"><code>3e5f45b</code></a> Add regression tests for CJK characters (<a href="https://redirect.github.com/actions/download-artifact/issues/471">#471</a>)</li> <li><a href="https://github.com/actions/download-artifact/commit/e6d03f67377d4412c7aa56a8e2e4988e6ec479dd"><code>e6d03f6</code></a> Add a regression test for artifact name + content-type mismatches (<a href="https://redirect.github.com/actions/download-artifact/issues/472">#472</a>)</li> <li><a href="https://github.com/actions/download-artifact/commit/70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3"><code>70fc10c</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/461">#461</a> from actions/danwkennedy/digest-mismatch-behavior</li> <li><a href="https://github.com/actions/download-artifact/commit/f258da9a506b755b84a09a531814700b86ccfc62"><code>f258da9</code></a> Add change docs</li> <li><a href="https://github.com/actions/download-artifact/commit/ccc058e5fbb0bb2352213eaec3491e117cbc4a5c"><code>ccc058e</code></a> Fix linting issues</li> <li><a href="https://github.com/actions/download-artifact/commit/bd7976ba57ecea96e6f3df575eb922d11a12a9fd"><code>bd7976b</code></a> Add a setting to specify what to do on hash mismatch and default it to <code>error</code></li> <li><a href="https://github.com/actions/download-artifact/commit/ac21fcf45e0aaee541c0f7030558bdad38d77d6c"><code>ac21fcf</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/460">#460</a> from actions/danwkennedy/download-no-unzip</li> <li><a href="https://github.com/actions/download-artifact/commit/15999bff51058bc7c19b50ebbba518eaef7c26c0"><code>15999bf</code></a> Add note about package bumps</li> <li><a href="https://github.com/actions/download-artifact/commit/974686ed5098c7f9c9289ec946b9058e496a2561"><code>974686e</code></a> Bump the version to <code>v8</code> and add release notes</li> <li><a href="https://github.com/actions/download-artifact/commit/fbe48b1d2756394be4cd4358ed3bc1343b330e75"><code>fbe48b1</code></a> Update test names to make it clearer what they do</li> <li>Additional commits viewable in <a href="https://github.com/actions/download-artifact/compare/v6...3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )