chore(community): allow Python 3.14, update deps#1334
Merged
Mason Daugherty (mdrxy) merged 3 commits intomainfrom Nov 13, 2025
Merged
chore(community): allow Python 3.14, update deps#1334Mason Daugherty (mdrxy) merged 3 commits intomainfrom
Mason Daugherty (mdrxy) merged 3 commits intomainfrom
Conversation
|
|
||
| version = "3.0.0" | ||
| requires-python = ">=3.10.0,<3.13.0" | ||
| requires-python = ">=3.10.0,<3.14.0" |
Contributor
There was a problem hiding this comment.
Mason Daugherty (@mdrxy) this allows 3.13 but not 3.14... was that intentional? we are trying to use 3.14 in one of our projects and would l love to get a new release of the community library out for that. Made a PR for you here
Mason Daugherty (mdrxy)
pushed a commit
that referenced
this pull request
Dec 8, 2025
Currently on pip, langchain-google-community only supports Python <3.14. There was a [PR](#1334) 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](https://docs.pydantic.dev/1.10/). <!-- # Thank you for contributing to LangChain-google! --> <!-- ## Checklist for PR Creation - [x] PR Title: "<type>[optional scope]: <description>" - Where type is one of: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release - Scope is used to specifiy the package targeted. Options are: genai, vertex, community, infra (repo-level) - [x] PR Description and Relevant issues: - Description of the change - Relevant issues (if applicable) - Any dependencies required for this change - [x] Add Tests and Docs: - If adding a new integration: 1. Include a test for the integration (preferably unit tests that do not rely on network access) 2. Add an example notebook showing its use (place in the `docs/docs/integrations` directory) - [x] Lint and Test: - Run `make format`, `make lint`, and `make test` from the root of the package(s) you've modified - See contribution guidelines for more: https://github.com/langchain-ai/langchain-google/blob/main/README.md#contribute-code --> <!-- ## Additional guidelines - [x] PR title and description are appropriate - [x] Necessary tests and documentation have been added - [x] Lint and tests pass successfully - [x] The following additional guidelines are adhered to: - Optional dependencies are imported within functions - No unnecessary dependencies added to pyproject.toml files (except those required for unit tests) - PR doesn't touch more than one package - Changes are backwards compatible --> ## Description <!-- e.g. "Implement user authentication feature" --> 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 <!-- e.g. "Fixes #000" --> - Fixes #1319 ## Type <!-- Select the type of Pull Request --> <!-- Keep only the necessary ones --> 🆕 New Feature 🐛 Bug Fix ## Changes(optional) <!-- List of changes --> - 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](https://docs.pydantic.dev/1.10/) ## Testing(optional) <!-- Test procedure --> <!-- Test result --> ## Note(optional) <!-- Information about the errors fixed by PR --> <!-- Remaining issue or something --> <!-- Other information about PR --> --------- Co-authored-by: Brett Christensen <brett.christensen@rea-group.com>
Zephyr3311
added a commit
to Zephyr3311/Langchain-Google
that referenced
this pull request
Jan 12, 2026
Currently on pip, langchain-google-community only supports Python <3.14. There was a [PR](langchain-ai/langchain-google#1334) 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](https://docs.pydantic.dev/1.10/). <!-- # Thank you for contributing to LangChain-google! --> <!-- ## Checklist for PR Creation - [x] PR Title: "<type>[optional scope]: <description>" - Where type is one of: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release - Scope is used to specifiy the package targeted. Options are: genai, vertex, community, infra (repo-level) - [x] PR Description and Relevant issues: - Description of the change - Relevant issues (if applicable) - Any dependencies required for this change - [x] Add Tests and Docs: - If adding a new integration: 1. Include a test for the integration (preferably unit tests that do not rely on network access) 2. Add an example notebook showing its use (place in the `docs/docs/integrations` directory) - [x] Lint and Test: - Run `make format`, `make lint`, and `make test` from the root of the package(s) you've modified - See contribution guidelines for more: https://github.com/langchain-ai/langchain-google/blob/main/README.md#contribute-code --> <!-- ## Additional guidelines - [x] PR title and description are appropriate - [x] Necessary tests and documentation have been added - [x] Lint and tests pass successfully - [x] The following additional guidelines are adhered to: - Optional dependencies are imported within functions - No unnecessary dependencies added to pyproject.toml files (except those required for unit tests) - PR doesn't touch more than one package - Changes are backwards compatible --> ## Description <!-- e.g. "Implement user authentication feature" --> 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 <!-- e.g. "Fixes #000" --> - Fixes #1319 ## Type <!-- Select the type of Pull Request --> <!-- Keep only the necessary ones --> 🆕 New Feature 🐛 Bug Fix ## Changes(optional) <!-- List of changes --> - 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](https://docs.pydantic.dev/1.10/) ## Testing(optional) <!-- Test procedure --> <!-- Test result --> ## Note(optional) <!-- Information about the errors fixed by PR --> <!-- Remaining issue or something --> <!-- Other information about PR --> --------- Co-authored-by: Brett Christensen <brett.christensen@rea-group.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Temporary Dependency Removal
google-cloud-bigquery(from'bigquery'extra)google-cloud-documentai-toolbox(from'docai'extra)Due to upstream compatiblity issues with Python 3.13+
googleapis/google-cloud-python#15815
googleapis/python-documentai-toolbox#389
googleapis/python-bigquery#2316
Potentially breaking
For users who:
pip install langchain-google-community[bigquery]pip install langchain-google-community[docai]BigQueryLoaderor Document AI components directlyWorkaround
These dependencies will be restored once upstream fixes are available.
Closes #1319