Skip to content

Commit ca94007

Browse files
authored
chore!: Disable support for py3.9 and enable support for py3.13 (#169)
* chore(ci)!: Disable support for py3.9 and enable support for py3.13 * trigger cloudbuild * trigger cloudbuild
1 parent bb3e379 commit ca94007

File tree

6 files changed

+12
-20
lines changed

6 files changed

+12
-20
lines changed

.github/renovate.json5

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@
6666
"minor",
6767
"patch"
6868
],
69-
},
70-
{
71-
"description": "Disable isort updates for python <=3.9 in pyproject.toml",
72-
"matchFileNames": ["pyproject.toml"],
73-
"matchPackageNames": ["isort"],
74-
"matchCurrentValue": "==6.1.0",
75-
"enabled": false
7669
}
7770
],
7871
}

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ branchProtectionRules:
2727
requiredStatusCheckContexts:
2828
- "cla/google"
2929
- "lint"
30-
- "pg-integration-test-pr-py39 (llamaindex-cloud-sql-testing)"
3130
- "pg-integration-test-pr-py310 (llamaindex-cloud-sql-testing)"
3231
- "pg-integration-test-pr-py311 (llamaindex-cloud-sql-testing)"
3332
- "pg-integration-test-pr-py312 (llamaindex-cloud-sql-testing)"
33+
- "pg-integration-test-pr-py313 (llamaindex-cloud-sql-testing)"
3434
- "conventionalcommits.org"
3535
- "header-check"
3636
# - Add required status checks like presubmit tests

DEVELOPER.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ These tests are registered as required tests in `.github/sync-repo-settings.yaml
7676

7777
#### Trigger Setup
7878

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

8181
```YAML
82-
name: pg-integration-test-pr-py39
83-
description: Run integration tests on PR for Python 3.9
82+
name: pg-integration-test-pr-py310
83+
description: Run integration tests on PR for Python 3.10
8484
filename: integration.cloudbuild.yaml
8585
github:
8686
name: llamaindex-cloud-sql-pg-python
@@ -97,7 +97,7 @@ substitutions:
9797
_DATABASE_ID: <ADD_VALUE>
9898
_INSTANCE_ID: <ADD_VALUE>
9999
_REGION: us-central1
100-
_VERSION: "3.9"
100+
_VERSION: "3.10"
101101
```
102102

103103
Use `gcloud builds triggers import --source=trigger.yaml` to create triggers via the command line

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies.
5454
Supported Python Versions
5555
^^^^^^^^^^^^^^^^^^^^^^^^^
5656

57-
Python >= 3.9
57+
Python >= 3.10
5858

5959
Mac/Linux
6060
^^^^^^^^^

integration.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ substitutions:
6262
_DATABASE_PORT: "5432"
6363
_DATABASE_ID: test-database
6464
_REGION: us-central1
65-
_VERSION: "3.9"
65+
_VERSION: "3.10"
6666
_IP_ADDRESS: "127.0.0.1"
6767

6868
options:

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44
description = "LlamaIndex integrations for Google Cloud SQL for PostgreSQL"
55
readme = "README.rst"
66
license = {file = "LICENSE"}
7-
requires-python = ">=3.9"
7+
requires-python = ">=3.10"
88
authors = [
99
{name = "Google LLC", email = "[email protected]"}
1010
]
@@ -21,10 +21,10 @@ classifiers = [
2121
"License :: OSI Approved :: Apache Software License",
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
2828
]
2929

3030
[tool.setuptools.dynamic]
@@ -39,8 +39,7 @@ Changelog = "https://github.com/googleapis/llama-index-cloud-sql-pg-python/blob/
3939
[project.optional-dependencies]
4040
test = [
4141
"black[jupyter]==25.9.0",
42-
"isort==6.1.0; python_version == '3.9'",
43-
"isort==7.0.0; python_version >= '3.10'",
42+
"isort==7.0.0",
4443
"mypy==1.18.2",
4544
"pytest-asyncio==1.2.0",
4645
"pytest==8.4.2",
@@ -55,13 +54,13 @@ build-backend = "setuptools.build_meta"
5554
asyncio_default_fixture_loop_scope = "class"
5655

5756
[tool.black]
58-
target-version = ['py39']
57+
target-version = ['py310']
5958

6059
[tool.isort]
6160
profile = "black"
6261

6362
[tool.mypy]
64-
python_version = 3.9
63+
python_version = 3.10
6564
warn_unused_configs = true
6665
disallow_incomplete_defs = true
6766

0 commit comments

Comments
 (0)