Skip to content

release: 3.12.0 - #3832

Merged
apcha-oai merged 1 commit into
mainfrom
release-please--branches--main
Sep 10, 2026
Merged

release: 3.12.0#3832
apcha-oai merged 1 commit into
mainfrom
release-please--branches--main

Conversation

@openai-sdks

@openai-sdks openai-sdks Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

3.12.0 (2026-09-10)

Features

Bug Fixes

  • add aclose() to AsyncStream for standard async cleanup (#2854) (802b334)
  • handle bare dict and list annotations without type arguments (#3760) (c7e8c03)
  • preserve finalized output on null response completion (#3345) (adb212e)

This PR was generated with Release Please. See documentation.

@openai-sdks
openai-sdks Bot requested a review from a team as a code owner September 10, 2026 00:08
@openai-sdks

openai-sdks Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

OkTest Summary

236/236 SDK tests passed in 12.083s for Python SDK PR #3832.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 200ms
tests/chat-completions-create.test.ts ✅ Passed 297ms
tests/chat-completions-stream.test.ts ✅ Passed 249ms
tests/files-content-binary.test.ts ✅ Passed 254ms
tests/files-create-multipart.test.ts ✅ Passed 262ms
tests/files-list-pagination.test.ts ✅ Passed 151ms
tests/initialize-config.test.ts ✅ Passed 172ms
tests/instance-isolation.test.ts ✅ Passed 221ms
tests/models-list.test.ts ✅ Passed 236ms
tests/responses-background-lifecycle.test.ts ✅ Passed 200ms
tests/responses-body-method-errors.test.ts ✅ Passed 316ms
tests/responses-cancel-timeout.test.ts ✅ Passed 217ms
tests/responses-cancel.test.ts ✅ Passed 285ms
tests/responses-compact-retries.test.ts ✅ Passed 284ms
tests/responses-compact.test.ts ✅ Passed 221ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 131ms
tests/responses-create-advanced.test.ts ✅ Passed 273ms
tests/responses-create-disconnect.test.ts ✅ Passed 1.112s
tests/responses-create-errors.test.ts ✅ Passed 221ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 211ms
tests/responses-create-retries.test.ts ✅ Passed 686ms
tests/responses-create-stream-failures.test.ts ✅ Passed 811ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 239ms
tests/responses-create-stream-wire.test.ts ✅ Passed 3.946s
tests/responses-create-stream.test.ts ✅ Passed 81ms
tests/responses-create-terminal-states.test.ts ✅ Passed 279ms
tests/responses-create-timeout.test.ts ✅ Passed 223ms
tests/responses-create.test.ts ✅ Passed 216ms
tests/responses-delete.test.ts ✅ Passed 239ms
tests/responses-input-items-errors.test.ts ✅ Passed 477ms
tests/responses-input-items-list.test.ts ✅ Passed 401ms
tests/responses-input-items-options.test.ts ✅ Passed 383ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 251ms
tests/responses-input-tokens-count.test.ts ✅ Passed 341ms
tests/responses-malformed-inputs.test.ts ✅ Passed 2.923s
tests/responses-not-found-errors.test.ts ✅ Passed 244ms
tests/responses-parse.test.ts ✅ Passed 505ms
tests/responses-retrieve-retries.test.ts ✅ Passed 253ms
tests/responses-retrieve.test.ts ✅ Passed 257ms
tests/responses-stored-method-errors.test.ts ✅ Passed 592ms
tests/retry-behavior.test.ts ✅ Passed 3.108s
tests/sdk-error-shape.test.ts ✅ Passed 314ms

View OkTest run #34507675343

SDK merge (1599c3c2875b) · head (1f48bfddce8a) · base (0e4bfef9c792) · OkTest (08ec4299e769)

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Castiron custom code

✅ No new custom-code files detected.

41 mixed files remain; 0 existing customizations changed.

Compared 0e4bfef9c7921f48bfddce8a. Generated baselines verified.

41 existing customizations unchanged
  • api.md
  • scripts/castiron/README.md
  • scripts/castiron/custom_code_report.py
  • scripts/castiron/test_custom_code_report.py
  • src/openai/init.py
  • src/openai/_client.py
  • src/openai/resources/audio/transcriptions.py
  • src/openai/resources/audio/translations.py
  • src/openai/resources/beta/beta.py
  • src/openai/resources/beta/responses/responses.py
  • src/openai/resources/beta/threads/runs/runs.py
  • src/openai/resources/beta/threads/threads.py
  • src/openai/resources/chat/completions/completions.py
  • src/openai/resources/embeddings.py
  • src/openai/resources/files.py
  • src/openai/resources/live/forks.py
  • src/openai/resources/live/live.py
  • src/openai/resources/live/sideband.py
  • src/openai/resources/realtime/realtime.py
  • src/openai/resources/responses/responses.py
  • src/openai/resources/uploads/uploads.py
  • src/openai/resources/vector_stores/file_batches.py
  • src/openai/resources/vector_stores/files.py
  • src/openai/resources/videos.py
  • src/openai/resources/webhooks/init.py
  • src/openai/resources/webhooks/webhooks.py
  • src/openai/types/chat/init.py
  • src/openai/types/chat/chat_completion_message_tool_call.py
  • src/openai/types/fine_tuning/fine_tuning_job_integration.py
  • src/openai/types/responses/init.py
  • src/openai/types/responses/response.py
  • src/openai/types/responses/response_function_web_search.py
  • src/openai/types/responses/response_function_web_search_param.py
  • src/openai/types/responses/responses_client_event.py
  • src/openai/types/responses/responses_client_event_param.py
  • src/openai/types/responses/tool.py
  • src/openai/types/responses/tool_param.py
  • src/openai/types/webhooks/init.py
  • src/openai/types/webhooks/live_call_incoming_webhook_event.py
  • src/openai/types/webhooks/unwrap_webhook_event.py

1 more in the full report.

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 34507749644 --repo openai/openai-python \
  --name castiron-custom-code-34507749644-1 --dir /tmp/castiron-custom-code-34507749644-1
git apply --stat /tmp/castiron-custom-code-34507749644-1/custom-code.patch
cat /tmp/castiron-custom-code-34507749644-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin 0e4bfef9c79251fcf4926fd732129627bde050f1 1f48bfddce8a2fa43c40195fa8dd47f87079a8a4
python3 scripts/castiron/custom_code_report.py report \
  --base 0e4bfef9c79251fcf4926fd732129627bde050f1 \
  --head 1f48bfddce8a2fa43c40195fa8dd47f87079a8a4 --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-1f48bfddce8a
cat /tmp/castiron-custom-code-1f48bfddce8a/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

@openai-sdks
openai-sdks Bot force-pushed the release-please--branches--main branch 2 times, most recently from 5dff2a7 to 94f08e2 Compare September 10, 2026 16:42
@openai-sdks openai-sdks Bot changed the title release: 3.11.1 release: 3.12.0 Sep 10, 2026
@openai-sdks
openai-sdks Bot force-pushed the release-please--branches--main branch from 94f08e2 to 1f48bfd Compare September 10, 2026 17:21
@apcha-oai
apcha-oai enabled auto-merge September 10, 2026 17:21
@apcha-oai
apcha-oai added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit 603b81f Sep 10, 2026
28 checks passed
@apcha-oai
apcha-oai deleted the release-please--branches--main branch September 10, 2026 17:28
@openai-sdks

openai-sdks Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant