Skip to content

chore(community): bump supported Python version to include 3.14#1416

Merged
Mason Daugherty (mdrxy) merged 2 commits intolangchain-ai:mainfrom
spartandingo:patch-1
Dec 8, 2025
Merged

chore(community): bump supported Python version to include 3.14#1416
Mason Daugherty (mdrxy) merged 2 commits intolangchain-ai:mainfrom
spartandingo:patch-1

Conversation

@spartandingo
Copy link
Copy Markdown
Contributor

@spartandingo Brett Christensen (spartandingo) commented Dec 8, 2025

Currently on pip, langchain-google-community only supports Python <3.14. There was a PR to add 3.14 support however it looks like it actually updated the project to support 3.13. This PR corrects that, and also runs the tests on 3.14 also. Disabled Pydantic V1 tests for Python 3.14 as the developers have stated they will not support it.

Description

Update pyproject.toml for langchain-google-community to support Python 3.14. In addition, make the unit tests run on 3.14, and set integration test to run on 3.14 by default (please tell me if you don't want that, I will revert).

Relevant issues

Type

🆕 New Feature
🐛 Bug Fix

Changes(optional)

  • Update pyproject.toml to support Python 3.14
  • Make unit tests run on 3.14
  • Set integration test default to 3.14
  • Disable Pydantic V1 tests for Python 3.14 and above. According to Pydantic V1 official docs, it will never support > 3.13. See here

Testing(optional)

Note(optional)

@spartandingo Brett Christensen (spartandingo) changed the title Add python 3.14 support release(community) - Add python 3.14 support Dec 8, 2025
@spartandingo Brett Christensen (spartandingo) changed the title release(community) - Add python 3.14 support release(community): 3.0.2 Dec 8, 2025
@spartandingo Brett Christensen (spartandingo) changed the title release(community): 3.0.2 chore(community): bump supported Python version to include 3.14 Dec 8, 2025
@spartandingo
Copy link
Copy Markdown
Contributor Author

Mason Daugherty (@mdrxy) should I also update .github/workflows/_compile_integration_test.ymlso integration tests run on 3.13 and 3.14? I noticed currently they only run on 3.10-3.12

@mdrxy Mason Daugherty (mdrxy) merged commit b60d928 into langchain-ai:main Dec 8, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 3.14 - Increase maximum python version to either 3.13 or 3.14 - langchain_google_community

2 participants