Skip to content

Commit

Permalink
Support Python 3.12 (#583)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
tarsil committed Feb 22, 2024
1 parent 0fc16b2 commit b273cd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: 3.7
python-version: 3.8
- name: "Install dependencies"
run: "scripts/install"
- name: "Build package & docs"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-suite.yml
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

services:
mysql:
Expand Down
15 changes: 8 additions & 7 deletions requirements.txt
@@ -1,15 +1,15 @@
-e .

# Async database drivers
asyncmy==0.2.7
aiomysql==0.1.1
aiopg==1.3.4
aiosqlite==0.17.0
asyncpg==0.26.0
asyncmy==0.2.9
aiomysql==0.2.0
aiopg==1.4.0
aiosqlite==0.20.0
asyncpg==0.29.0

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

# Testing
autoflake==1.4
Expand All @@ -30,3 +30,4 @@ mkautodoc==0.1.0
# Packaging
twine==4.0.1
wheel==0.38.1
setuptools==69.0.3
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -66,11 +66,11 @@ def get_packages(package):
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
],
zip_safe=False,
Expand Down

0 comments on commit b273cd9

Please sign in to comment.