langchain-tests 1.2.0 Removes Python 3.10 Support, Adds Streaming Test Capabilities
The langchain-tests 1.2.0 release drops Python 3.10 support and introduces enhanced streaming test functionalities, affecting CI and LLM tool testing workflows.
What changed?
The langchain-tests package has been updated to version 1.2.0. The key changes include the removal of support for Python 3.10 in the text_splitters, model_profiles, and standard-tests modules due to Python 3.10 reaching end of life. The standard-tests module now reads 'tool-call-delta' events in stream consumers, validates tool call chunks during streaming, and forwards LangSmith CI environment variables to traces. Dependency updates and minor improvements were also included.
Why does it matter to an everyday developer?
Developers maintaining langchain-based projects should note that Python 3.10 is no longer supported in key test modules. Projects or CI environments relying on Python 3.10 must migrate to newer Python versions to continue receiving updates and support. The new streaming test features provide more accurate validation for LLM tool call behaviors and improved traceability in CI environments, increasing test reliability for AI-driven workflows.
What can the developer do now?
- Upgrade Python environments for langchain-tests dependencies to at least Python 3.11.
- Update CI configurations that use langchain-tests and ensure migration away from Python 3.10 where needed.
- Review and utilize new test capabilities: validate LLM tool call outputs during streaming and observe improved trace propagation when using LangSmith CI.
- Check for compatibility with newer dependency versions as part of this release.

