Skip to content

Commit

Permalink
Merge pull request #111 from maykinmedia/chore/updated-supported-py-d…
Browse files Browse the repository at this point in the history
…jango-versions

Update supported Python and Django versions
  • Loading branch information
sergei-maertens committed Dec 8, 2023
2 parents 2a60a0f + 32a0721 commit 175d7ba
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
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

0 comments on commit 175d7ba

Please sign in to comment.