Skip to content

Commit

Permalink
Allow Django 4.2 (#227)
Browse files Browse the repository at this point in the history
* Allow Django 4.2

* allow Django 4.2
  • Loading branch information
maikhanhbui authored Feb 16, 2023
1 parent 6a29037 commit 0a51811
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
20 changes: 20 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:

strategy:
matrix:
Python3.10 - Django 4.2:
python.version: '3.10'
tox.env: 'py310-django42'
Python 3.9 - Django 4.2:
python.version: '3.9'
tox.env: 'py39-django42'
Python 3.8 - Django 4.2:
python.version: '3.8'
tox.env: 'py38-django42'

Python3.10 - Django 4.1:
python.version: '3.10'
tox.env: 'py310-django41'
Expand Down Expand Up @@ -111,6 +121,16 @@ jobs:

strategy:
matrix:
Python3.10 - Django 4.2:
python.version: '3.10'
tox.env: 'py310-django42'
Python 3.9 - Django 4.2:
python.version: '3.9'
tox.env: 'py39-django42'
Python 3.8 - Django 4.2:
python.version: '3.8'
tox.env: 'py38-django42'

Python3.10 - Django 4.1:
python.version: '3.10'
tox.env: 'py310-django41'
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
]

this_directory = path.abspath(path.dirname(__file__))
Expand All @@ -39,7 +40,7 @@
license='BSD',
packages=find_packages(),
install_requires=[
'django>=2.2,<4.2',
'django>=2.2,<4.3',
'pyodbc>=3.0',
'pytz',
],
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[tox]
envlist =
{py36,py37,py38,py39}-django32,
{py38, py39, py310}-django40
{py38, py39, py310}-django41

{py38, py39, py310}-django40,
{py38, py39, py310}-django41,
{py38, py39, py310}-django42

[testenv]
allowlist_externals =
bash
Expand All @@ -19,3 +20,4 @@ deps =
django32: django==3.2.*
django40: django>=4.0a1,<4.1
django41: django>=4.1a1,<4.2
django42: django>=4.2a1,<4.3

0 comments on commit 0a51811

Please sign in to comment.