← News

SDKs and developer tools

LangChain ships langchain-tests 1.2.0: Python 3.10 dropped, streaming tool calls get delta-level handling

LangChain's official 1.2.0 release drops Python 3.10, bumps vcrpy and asks streaming consumers to aggregate tool-call deltas.

Published: 2026-11-23 16:15 UTCUpdated: 2026-11-23 16:15 UTCSource date: 2026-11-23

Official announcement

LangChain published langchain-tests==1.2.0 on 2026-11-23 as a GitHub release from its github-actions account, with changes measured against 1.1.9. The package is the test harness LangChain uses to check that integration packages conform to standard interfaces.

According to LangChain's release notes, Python 3.10, now end-of-life, was removed from text_splitters, model_profiles and standard-tests (#41343). The standard-tests library bumps vcrpy from 8.3.0 to 8.5.0 and now requires a patched vcrpy. The notes also record work to read tool-call-delta in stream consumers across core, langchain and standard-tests (#41246), validation of tool call chunks during streaming (#34707), a fix serializing BytesIO bodies in VCR cassettes, and forwarding of LangSmith CI environment variables to traces.

The summary above is commentary on the publisher's release notes; the technical items are attributed to LangChain and were not independently reproduced.

Analysis

The streaming tool-call-delta item is the most consequential for API client builders. As described in the notes, consuming deltas that span chunks implies consumers must aggregate increments themselves rather than assume a complete tool call per chunk. If that reading holds, client parsers should be tested against arguments split across multiple events, especially when JSON arguments arrive fragmented; this is a conditional inference from the notes, not a measured result.

Dropping Python 3.10 aligns the harness with the supported runtime floor. Providers that still validate integration packages on 3.10 fall outside the maintained matrix; nothing necessarily breaks immediately, but those combinations may no longer receive fix coverage.

The vcrpy bump and the requirement for a patched version, together with the BytesIO serialization fix, suggest cassette-based tests may need lockfile refreshes and re-recording. Pinning before upgrading, then re-recording key cassettes, is the safer order.

What remains unverified

The notes offer no performance figures or compatibility matrix for these changes, and no assessment of how removing Python 3.10 affects downstream packages. Whether the streaming tool-call work requires caller code changes or only adds capability is not stated clearly and needs checking against the linked PRs and source. The specific contents of the vcrpy patch and whether upstream already includes it are unstated, as are the LangSmith CI variables being forwarded. Confirming any of this requires reading the code and changelog and running tests.


Related articles