OpenAI Python SDK v3.61.0: Evals deprecated, WebSocket routing worth a separate test
The release notes give no shutdown date. Inventory Evals and saved prompt references, then verify where real-time connections actually go.
If your Python application uses a custom API gateway, do two things before upgrading: inventory the evaluation and prompt features you depend on, and test the actual WebSocket destination separately. A working text request proves only that its HTTP path works. It tells you nothing about the real-time path. And don't delete code because you saw the word “deprecated”: this release note gives no server shutdown date. 1
What OpenAI changed
The November 30, 2026 release notes for openai-python v3.61.0 list the deprecation of Evals and saved prompt references, and a fix for WebSocket connections not honoring changes to the module-level base URL. They also list a browser cancellation recheck after approval callbacks and chunked webhook signature verification. Here we focus on the deprecations and the connection fix. The notes do not say that the deprecated features have stopped responding, nor do they specify a migration deadline. 1
Using Evals or prompt references? Inventory first
Don't limit the search to your live service. Evaluations may run in CI, nightly jobs, or a different repository. Prompt references can live in environment-specific configuration or application templates. For each dependency, note its caller, owner, evaluation data or prompt version, and what a failure would block. A working inference path doesn't prove that pre-release evaluations still run. A valid reference in test doesn't prove production uses the same version.
If you plan to replace your evaluation workflow, run the old and new paths side by side on the same redacted examples. Record scoring criteria, how refusals are handled, and how failures are categorized. Don't compare aggregate scores alone: excluding timeouts or invalid outputs from the denominator can raise a score without improving the model. If you intend to replace saved prompt references with application-managed versions, check message role order, missing-variable behavior, and model parameters. Copying text that looks the same is not enough. Keep the results as a regression baseline and switch traffic only when a migration path is verified.
Using a custom gateway? Check connection records, not just configuration
Pin the old and new SDK versions in a test environment. Keep the gateway, model, test credentials, and client initialization the same. Run a plain HTTP request and a WebSocket session matching your real usage. Cross-check redacted client and gateway records for the destination host, expected path, and completed handshake. Then run a minimal interaction and check for the expected event. Don't log authorization headers, request bodies, or session secrets. If you never use module-level settings or WebSocket connections, this fix alone is not a reason to rush an upgrade. 1
Even when the SDK reaches the right host, the gateway may not implement the real-time protocol. If the handshake doesn't complete, check whether the gateway supports the endpoint and whether your proxy permits the protocol upgrade. If the handshake succeeds but expected events are missing, compare the client and gateway's event names and ordering. Don't silently fall back to a default host just to get a success: the test may pass while production traffic goes somewhere else.
What to verify before expanding rollout
- Record the old and new SDK versions and the current pin. Keep the SDK upgrade separate from evaluation migration so each can be rolled back independently.
- Inventory both Evals and saved prompt references. Don't assign a shutdown date that the official release notes don't give. 1
- Use synthetic inputs to test HTTP and WebSocket. On the real-time path, check the destination, handshake, and application event, not just whether text came back.
- Start with a small rollout. Monitor connection failures and evaluation anomalies separately. If something breaks, return to a verified combination, then isolate which path changed.
Sources & attribution
This article references the public materials listed below. Analysis and wording are SalpX's own; quoted material remains the property of its original authors and publishers.
- openai-python v3.61.0 release notes — OpenAI · accessed 2026-12-02Note:The official release notes list the deprecations, WebSocket fix, and other changes without giving a shutdown date.
One key for Claude, GPT and 50+ models
The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.