TAG
#python
Stories connected through a shared idea, actor, technology or theme.
LangChain 1.4.3 adds Bedrock Mantle support and agent fixesThe release adds Amazon Bedrock Mantle chat-model support to init_chat_model and recognises GPT-6 structured output without explicit profiles. It also repairs invalid tool calls in create_agent and sanitises cache settings for fallback models.→OpenAPI Generator 7.16 expands client generation targetsThe stable release contains more than 100 enhancements and fixes across generated clients and servers. Its three new generators target asynchronous Python clients, Apache Dubbo microservices and Scala 3 services using sttp4 and jsoniter-scala.→Positron enters SageMaker Studio as a governed browser IDE for R and PythonPositron on Amazon SageMaker provides R, Python, Quarto and a Bedrock-backed Posit Assistant in a browser-based development environment. The image runs inside the customer’s AWS account under SageMaker execution roles, keeping data and credentials within the existing AWS boundary.→uv 0.12.15 restores valid Docker and target installation commandsThe release restores valid commands such as uv pip install --system in python Docker images and uv pip install --target ., which had been rejected in 0.12.14. It also batches cache writes to speed cold-cache resolution and HTTP cache revalidation.→OpenAI Agents Python 0.22.2 adds image-tool support and closes a sandbox raceVersion 0.22.2 adds support for current image-generation tool options and prevents symlink races in the UnixLocal file API. It also resets the compaction response chain correctly after session history is modified.→MCP Python SDK 2.2.0 tightens Streamable HTTP and OAuth defaultsMCP Python SDK 2.2.0 limits HTTP redirects to the endpoint origin, expires idle stateful sessions after 30 minutes and caps concurrent sessions at 10,000. It also validates OAuth issuer and token-resource settings more strictly.→Pydantic AI 2.41.0 adds ChatGPT and Codex subscription authenticationPydantic AI 2.41.0 introduces an openai-codex provider for ChatGPT/Codex subscription authentication. The release also adds a direct ImageGenerator API and renames fallback_model to fallback_subagent_model on image-generation and web-search components.→LangChain 1.4.0a3 adds native MCP adaptation and human resumptionsLangChain 1.4.0a3 introduces a `langchain.mcp` namespace that adapts MCP servers into LangChain tools from URLs, local scripts, in-process servers or prebuilt clients. Its elicitation interrupt mode surfaces server questions as LangGraph interrupts so a human can answer and resume the run, with optional tool-discovery caching.→Cloudflare workerd hardens Python workers and hibernating WebSocketsThe release adds automatic Python-worker flags, synchronous try-read/write helpers and fixes for Pyodide dynamic library loading. It also improves hibernating WebSocket write serialisation and actor-fetch retries, while expanding test coverage for streams and queuing strategies.→pybind11 3.0.1 stabilises sub-interpreters and difficult C++ buildspybind11 3.0.1 fixes enum-pointer caster compilation, reduces template depth in `make_index_sequence`, and resolves sub-interpreter segfault and re-import issues. It also adds C++20 support for older C++ runtimes and addresses several compiler warnings.→Pydantic AI v2.33 repairs the Anthropic SDK 1.0 compatibility breakPydantic AI 2.33.0 requires and supports anthropic>=1.0.0 after fresh pydantic-ai[anthropic] installs could otherwise resolve an incompatible SDK and fail at runtime. Applications that pass a custom client to AnthropicProvider must now use httpx2.AsyncClient.→