Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported Python and Django versions #111

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.8', '3.9', '3.10']
django: ['3.2', '4.1', '4.2']
include:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
django: ['3.2', '4.2', '5.0']
exclude:
- python: '3.11'
django: '4.1'
- python: '3.11'
django: '4.2'
django: '3.2'
- python: '3.12'
django: '3.2'
- python: '3.8'
django: '5.0'
- python: '3.9'
django: '5.0'

name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }})

Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ classifiers =
Development Status :: 4 - Beta
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: Unix
Expand All @@ -32,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries :: Python Modules

[options]
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[tox]
envlist =
py{38,39,310}-django{32,41,42}
py311-django{41,42}
py{38,39}-django{32,42}
py310-django32
py{310,311,312}-django{42,50}
isort
black
; flake8
Expand All @@ -14,12 +15,13 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
DJANGO =
3.2: django32
4.1: django41
4.2: django42
5.0: django50

[testenv]
setenv =
Expand All @@ -30,8 +32,8 @@ extras =
coverage
deps =
django32: Django~=3.2.0
django41: Django~=4.1.0
django42: Django~=4.2.0
django50: Django~=5.0.0
commands =
pytest tests \
-m 'not e2e' \
Expand Down