Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ branchProtectionRules:
requiredStatusCheckContexts:
- "cla/google"
- "lint"
- "integration-test-pr-py39 (langchain-spanner-testing)"
- "integration-test-pr-py310 (langchain-spanner-testing)"
- "integration-test-pr-py311 (langchain-spanner-testing)"
- "integration-test-pr-py312 (langchain-spanner-testing)"
- "integration-test-pr-py313 (langchain-spanner-testing)"
- "conventionalcommits.org"
- "header-check"
# - Add required status checks like presubmit tests
Expand Down
6 changes: 3 additions & 3 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ These tests are registered as required tests in `.github/sync-repo-settings.yaml

#### Trigger Setup

Cloud Build triggers (for Python versions 3.9 to 3.11) were created with the following specs:
Cloud Build triggers (for Python versions 3.10 to 3.13) were created with the following specs:

```YAML
name: integration-test-pr-py39
description: Run integration tests on PR for Python 3.9
description: Run integration tests on PR for Python 3.10
filename: integration.cloudbuild.yaml
github:
name: langchain-google-spanner-python
Expand All @@ -55,7 +55,7 @@ substitutions:
_INSTANCE_ID: <ADD_VALUE>
_PG_DATABASE: <ADD_VALUE>
_GOOGLE_DATABASE: <ADD_VALUE>
_VERSION: "3.9"
_VERSION: "3.10"
```

Use `gcloud builds triggers import --source=trigger.yaml` to create triggers via the command line
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ With `virtualenv`_, it’s possible to install this library without needing syst
Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^

Python >= 3.9
Python >= 3.10

Mac/Linux
^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion integration.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ substitutions:
_INSTANCE_ID: test-instance
_GOOGLE_DATABASE: test-gsql-db
_PG_DATABASE: test-pgsql-db
_VERSION: "3.9"
_VERSION: "3.10"

options:
dynamicSubstitutions: true
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]
description = "LangChain integrations for Google Cloud Spanner"
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = ">=3.9"
requires-python = ">=3.10"
authors = [
{name = "Google LLC", email = "googleapis-packages@google.com"}
]
Expand All @@ -19,10 +19,10 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[tool.setuptools.dynamic]
Expand Down Expand Up @@ -58,13 +58,13 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
target-version = ['py39']
target-version = ['py310']

[tool.isort]
profile = "black"

[tool.mypy]
python_version = 3.9
python_version = "3.10"
warn_unused_configs = true

exclude = [
Expand Down
Loading