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
7 changes: 0 additions & 7 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,6 @@
"minor",
"patch"
],
},
{
"description": "Disable isort updates for python <=3.9 in pyproject.toml",
"matchFileNames": ["pyproject.toml"],
"matchPackageNames": ["isort"],
"matchCurrentValue": "==6.1.0",
"enabled": false
}
],
}
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"
- "pg-integration-test-pr-py39 (llamaindex-cloud-sql-testing)"
- "pg-integration-test-pr-py310 (llamaindex-cloud-sql-testing)"
- "pg-integration-test-pr-py311 (llamaindex-cloud-sql-testing)"
- "pg-integration-test-pr-py312 (llamaindex-cloud-sql-testing)"
- "pg-integration-test-pr-py313 (llamaindex-cloud-sql-testing)"
- "conventionalcommits.org"
- "header-check"
# - Add required status checks like presubmit tests
Expand Down
8 changes: 4 additions & 4 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,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
name: pg-integration-test-pr-py310
description: Run integration tests on PR for Python 3.10
filename: integration.cloudbuild.yaml
github:
name: llamaindex-cloud-sql-pg-python
Expand All @@ -97,7 +97,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 @@ -54,7 +54,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
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]
description = "LlamaIndex 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 = "[email protected]"}
]
Expand All @@ -21,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 @@ -39,8 +39,7 @@ Changelog = "https://github.com/googleapis/llama-index-cloud-sql-pg-python/blob/
[project.optional-dependencies]
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==1.2.0",
"pytest==8.4.2",
Expand All @@ -55,13 +54,13 @@ build-backend = "setuptools.build_meta"
asyncio_default_fixture_loop_scope = "class"

[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
disallow_incomplete_defs = true

Expand Down