Skip to content

Commit

Permalink
Added python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
slymit committed Jun 12, 2024
1 parent c80963e commit accd7bc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
tox_env: 'py310-sqlalchemy1.4'
- python: '3.11'
tox_env: 'py311-sqlalchemy1.4'
- python: '3.12'
tox_env: 'py312-sqlalchemy1.4'

- python: '3.7'
tox_env: 'py37-sqlalchemy2.0'
Expand All @@ -61,6 +63,8 @@ jobs:
tox_env: 'py310-sqlalchemy2.0'
- python: '3.11'
tox_env: 'py311-sqlalchemy2.0'
- python: '3.12'
tox_env: 'py312-sqlalchemy2.0'

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
maintainer_email='[email protected]',
url='https://github.com/slymit/sa-filters',
packages=find_packages(exclude=['test', 'test.*']),
install_requires=['sqlalchemy>=1.4.0'],
install_requires=['sqlalchemy>=1.4.0', 'setuptools'],
extras_require={
'dev': [
'pytest>=6.2.5',
Expand All @@ -49,6 +49,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 4.6.4
envlist = {py37,py38,py39,py310,py311}-sqlalchemy{1.4,2.0}
envlist = {py37,py38,py39,py310,py311,py312}-sqlalchemy{1.4,2.0}

[testenv]
allowlist_externals = make
Expand All @@ -10,7 +10,7 @@ extras =
mysql
postgresql
deps =
{py37,py38,py39,py310,py311}: pytest~=5.4.1
{py37,py38,py39,py310,py311,py312}: pytest~=5.4.1
sqlalchemy1.4: sqlalchemy>=1.4,<2.0
sqlalchemy2.0: sqlalchemy>=2.0
commands =
Expand Down

0 comments on commit accd7bc

Please sign in to comment.