diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8c95296..d1c415c 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -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 } ], } diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 175e537..a0a5754 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -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 diff --git a/DEVELOPER.md b/DEVELOPER.md index 74d27a5..9923dd4 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -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 @@ -97,7 +97,7 @@ substitutions: _DATABASE_ID: _INSTANCE_ID: _REGION: us-central1 - _VERSION: "3.9" + _VERSION: "3.10" ``` Use `gcloud builds triggers import --source=trigger.yaml` to create triggers via the command line diff --git a/README.rst b/README.rst index 9ef252a..c7f9574 100644 --- a/README.rst +++ b/README.rst @@ -54,7 +54,7 @@ dependencies. Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ -Python >= 3.9 +Python >= 3.10 Mac/Linux ^^^^^^^^^ diff --git a/integration.cloudbuild.yaml b/integration.cloudbuild.yaml index 769a42f..ed8abb4 100644 --- a/integration.cloudbuild.yaml +++ b/integration.cloudbuild.yaml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 22c01d8..3affdbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "googleapis-packages@google.com"} ] @@ -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] @@ -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", @@ -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