Skip to content
Merged
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
20 changes: 0 additions & 20 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -48,38 +48,18 @@
"matchCurrentVersion": "<=2.2.6",
"enabled": false
},
{
"description": "Disable numpy updates for python <=3.9 in requirements.txt",
"matchPackageNames": ["numpy"],
"matchCurrentVersion": "<=2.0.2",
"enabled": false
},
{
"description": "Disable numpy updates for python 3.10 in pyproject.toml",
"matchFileNames": ["pyproject.toml"],
"matchPackageNames": ["numpy"],
"matchCurrentValue": ">=1.24.4, <=2.2.6",
"enabled": false
},
{
"description": "Disable numpy updates for python <=3.9 in pyproject.toml",
"matchFileNames": ["pyproject.toml"],
"matchPackageNames": ["numpy"],
"matchCurrentValue": ">=1.24.4, <=2.0.2",
"enabled": false
},
{
"description": "Use feat commit type for LangChain Postgres dependency updates",
"matchPackageNames": ["langchain-postgres"],
"semanticCommitType": "feat",
"groupName": "langchain-postgres"
},
{
"description": "Disable isort updates for python <=3.9 in pyproject.toml",
"matchFileNames": ["pyproject.toml"],
"matchPackageNames": ["isort"],
"matchCurrentValue": "==6.1.0",
"enabled": false
}
],
}
6 changes: 3 additions & 3 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,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: pg-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-cloud-sql-pg-python
Expand All @@ -64,7 +64,7 @@ substitutions:
_DATABASE_ID: <ADD_VALUE>
_INSTANCE_ID: <ADD_VALUE>
_REGION: us-central1
_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 @@ -56,7 +56,7 @@ dependencies.
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 @@ -62,7 +62,7 @@ substitutions:
_DATABASE_PORT: "5432"
_DATABASE_ID: test-database
_REGION: us-central1
_VERSION: "3.9"
_VERSION: "3.10"
_IP_ADDRESS: "127.0.0.1"

options:
Expand Down
10 changes: 4 additions & 6 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 SQL for PostgreSQL"
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 @@ -13,7 +13,6 @@ dependencies = [
"cloud-sql-python-connector[asyncpg] >= 1.10.0, <2.0.0",
"numpy>=1.24.4, <3.0.0; python_version >= '3.11'",
"numpy>=1.24.4, <=2.2.6; python_version == '3.10'",
"numpy>=1.24.4, <=2.0.2; python_version <= '3.9'",
"langchain-postgres>=0.0.16",
]

Expand All @@ -22,10 +21,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 All @@ -43,8 +42,7 @@ langgraph = [
]
test = [
"black[jupyter]==25.9.0",
"isort==6.1.0; python_version == '3.9'",
"isort==7.0.0; python_version >= '3.10'",
"isort==7.0.0",
"mypy==1.18.2",
"pytest-asyncio==0.26.0",
"pytest==8.4.2",
Expand All @@ -64,7 +62,7 @@ target-version = ['py39']
profile = "black"

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

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cloud-sql-python-connector[asyncpg]==1.18.5
numpy==2.3.3; python_version >= "3.11"
numpy==2.2.6; python_version == "3.10"
numpy==2.0.2; python_version <= "3.9"
langgraph==0.6.10
langchain-postgres==0.0.16