From 737353e897b6673f42644d9c95e3c9936ad884d9 Mon Sep 17 00:00:00 2001 From: slymit Date: Sat, 6 Apr 2024 13:49:38 +0300 Subject: [PATCH] Add tests for python 3.11 --- .github/workflows/ci.yml | 4 ++++ setup.py | 1 + tox.ini | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e58263..1f893e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,8 @@ jobs: tox_env: 'py39-sqlalchemy1.4' - python: '3.10' tox_env: 'py310-sqlalchemy1.4' + - python: '3.11' + tox_env: 'py311-sqlalchemy1.4' - python: '3.7' tox_env: 'py37-sqlalchemy2.0' @@ -57,6 +59,8 @@ jobs: tox_env: 'py39-sqlalchemy2.0' - python: '3.10' tox_env: 'py310-sqlalchemy2.0' + - python: '3.11' + tox_env: 'py311-sqlalchemy2.0' steps: - uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index ed78643..15d8135 100644 --- a/setup.py +++ b/setup.py @@ -48,6 +48,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Database", "Topic :: Database :: Front-Ends", "Topic :: Software Development :: Libraries :: Python Modules", diff --git a/tox.ini b/tox.ini index 001992e..52219db 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 4.6.4 -envlist = {py37,py38,py39,py310}-sqlalchemy{1.4,2.0} +envlist = {py37,py38,py39,py310,py311}-sqlalchemy{1.4,2.0} [testenv] allowlist_externals = make @@ -10,7 +10,7 @@ extras = mysql postgresql deps = - {py37,py38,py39,py310}: pytest~=5.4.1 + {py37,py38,py39,py310,py311}: pytest~=5.4.1 sqlalchemy1.4: sqlalchemy>=1.4,<2.0 sqlalchemy2.0: sqlalchemy>=2.0 commands =