Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit b273cd9

Browse files
authored
Support Python 3.12 (#583)
* Python support * Remove support for Python 3.7 * Add support for Python 3.12 * Replace psycopg2-binary with psycopg * Bump requirements.txt versions * Add setuptools as requirement
1 parent 0fc16b2 commit b273cd9

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: "actions/checkout@v3"
1616
- uses: "actions/setup-python@v4"
1717
with:
18-
python-version: 3.7
18+
python-version: 3.8
1919
- name: "Install dependencies"
2020
run: "scripts/install"
2121
- name: "Build package & docs"

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1818

1919
services:
2020
mysql:

requirements.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
-e .
22

33
# Async database drivers
4-
asyncmy==0.2.7
5-
aiomysql==0.1.1
6-
aiopg==1.3.4
7-
aiosqlite==0.17.0
8-
asyncpg==0.26.0
4+
asyncmy==0.2.9
5+
aiomysql==0.2.0
6+
aiopg==1.4.0
7+
aiosqlite==0.20.0
8+
asyncpg==0.29.0
99

1010
# Sync database drivers for standard tooling around setup/teardown/migrations.
11-
psycopg2-binary==2.9.3
12-
pymysql==1.0.2
11+
psycopg==3.1.18
12+
pymysql==1.1.0
1313

1414
# Testing
1515
autoflake==1.4
@@ -30,3 +30,4 @@ mkautodoc==0.1.0
3030
# Packaging
3131
twine==4.0.1
3232
wheel==0.38.1
33+
setuptools==69.0.3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ def get_packages(package):
6666
"Operating System :: OS Independent",
6767
"Topic :: Internet :: WWW/HTTP",
6868
"Programming Language :: Python :: 3",
69-
"Programming Language :: Python :: 3.7",
7069
"Programming Language :: Python :: 3.8",
7170
"Programming Language :: Python :: 3.9",
7271
"Programming Language :: Python :: 3.10",
7372
"Programming Language :: Python :: 3.11",
73+
"Programming Language :: Python :: 3.12",
7474
"Programming Language :: Python :: 3 :: Only",
7575
],
7676
zip_safe=False,

0 commit comments

Comments
 (0)