Skip to content

Commit 9ec251a

Browse files
committed
Added Django 4.1 tests into test suite
1 parent fe3ee18 commit 9ec251a

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

azure-pipelines.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ jobs:
2424

2525
strategy:
2626
matrix:
27+
Python3.10 - Django 4.1:
28+
python.version: '3.10'
29+
tox.env: 'py310-django41'
30+
Python 3.9 - Django 4.1:
31+
python.version: '3.9'
32+
tox.env: 'py39-django41'
33+
Python 3.8 - Django 4.1:
34+
python.version: '3.8'
35+
tox.env: 'py38-django41'
36+
2737
Python3.10 - Django 4.0:
2838
python.version: '3.10'
2939
tox.env: 'py310-django40'
@@ -101,6 +111,16 @@ jobs:
101111

102112
strategy:
103113
matrix:
114+
Python3.10 - Django 4.1:
115+
python.version: '3.10'
116+
tox.env: 'py310-django41'
117+
Python 3.9 - Django 4.1:
118+
python.version: '3.9'
119+
tox.env: 'py39-django41'
120+
Python 3.8 - Django 4.1:
121+
python.version: '3.8'
122+
tox.env: 'py38-django41'
123+
104124
Python3.10 - Django 4.0:
105125
python.version: '3.10'
106126
tox.env: 'py310-django40'

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'Programming Language :: Python :: 3.9',
1818
'Framework :: Django :: 3.2',
1919
'Framework :: Django :: 4.0',
20+
'Framework :: Django :: 4.1',
2021
]
2122

2223
this_directory = path.abspath(path.dirname(__file__))
@@ -38,7 +39,7 @@
3839
license='BSD',
3940
packages=find_packages(),
4041
install_requires=[
41-
'django>=2.2,<4.1',
42+
'django>=2.2,<=4.1',
4243
'pyodbc>=3.0',
4344
'pytz',
4445
],

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist =
33
{py36,py37,py38,py39}-django32,
44
{py38, py39, py310}-django40
5+
{py38, py39, py310}-django41
56

67
[testenv]
78
allowlist_externals =
@@ -19,3 +20,4 @@ deps =
1920

2021
django32: django==3.2.*
2122
django40: django>=4.0a1,<4.1
23+
django41: django>=4.1*

0 commit comments

Comments
 (0)