LangChain will drop Python 3.10 in langchain-core 1.8.0 and langchain 1.5.0 (November 2, 2026)
langchain-core 1.7.x and langchain 1.4.x are the last minor versions for Python 3.10. Move to Python 3.11 or later.
3 of 3 free copies left this month.Unlimited with Pro
What changed
The langchain-core 1.7.4 release notes, published on November 2, 2026, say Python 3.10 support will be dropped in langchain-core 1.8.0 and langchain 1.5.0. The current minor versions are the last to support Python 3.10. LangChain asks users to upgrade to Python 3.11 or later. The langchain 1.4.8 release notes carry the same warning.
Today's packages still install on Python 3.10: langchain 1.4.9 and langchain-anthropic 1.7.10 on PyPI both require Python 3.10 or newer.
Prerequisites
- A Python app that uses
langchainorlangchain-core - No API key is needed for this change
Steps
- Check your Python version with
python --version. - If it is 3.10, plan a move to Python 3.11 or later before you upgrade to
langchain-core1.8.0 orlangchain1.5.0. - Until then, pin below those versions, for example
langchain-core<1.8.0andlangchain<1.5.0. - Update your CI, Docker images and deploy runtimes at the same time.
Test it
Create a fresh Python 3.11 environment, run pip install -U langchain, and run your test suite.
Not confirmed
- The release notes give no date for
langchain-core1.8.0 orlangchain1.5.0. - Whether provider packages such as
langchain-anthropicdrop Python 3.10 at the same time. - The pins in step 3 are a suggestion, not a step from LangChain's notes.
