From e95a02e276c532c616101d77e6a67cfdbb658560 Mon Sep 17 00:00:00 2001 From: tarsil Date: Thu, 22 Feb 2024 16:47:00 +0000 Subject: [PATCH 1/4] Python support * Remove support for Python 3.7 * Add support for Python 3.12 --- .github/workflows/publish.yml | 2 +- .github/workflows/test-suite.yml | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 170e9558..642629af 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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" diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 3c01b801..f85ca99a 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -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: diff --git a/setup.py b/setup.py index a6bb8965..0793e5e3 100644 --- a/setup.py +++ b/setup.py @@ -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, From da45db4e205acb40a1699cb2842452558f26e383 Mon Sep 17 00:00:00 2001 From: tarsil Date: Thu, 22 Feb 2024 16:53:51 +0000 Subject: [PATCH 2/4] Replace psycopg2-binary with psycopg --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 46ed998b..0c85611b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ aiosqlite==0.17.0 asyncpg==0.26.0 # Sync database drivers for standard tooling around setup/teardown/migrations. -psycopg2-binary==2.9.3 +psycopg==3.1.18 pymysql==1.0.2 # Testing From 3bdd5675b73c27e54d1d424dd56685d98bd4c6cd Mon Sep 17 00:00:00 2001 From: tarsil Date: Thu, 22 Feb 2024 16:58:16 +0000 Subject: [PATCH 3/4] Bump requirements.txt versions --- requirements.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0c85611b..dc6c2a7f 100644 --- a/requirements.txt +++ b/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. psycopg==3.1.18 -pymysql==1.0.2 +pymysql==1.1.0 # Testing autoflake==1.4 From 1355170bbd97511e3f9100ef65e1073127eedfe8 Mon Sep 17 00:00:00 2001 From: tarsil Date: Thu, 22 Feb 2024 17:05:30 +0000 Subject: [PATCH 4/4] Add setuptools as requirement --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index dc6c2a7f..fdc674f7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,3 +30,4 @@ mkautodoc==0.1.0 # Packaging twine==4.0.1 wheel==0.38.1 +setuptools==69.0.3