Skip to content

Commit 5b5bbf7

Browse files
committed
Bump minimum versions: Django 4.2+, Python 3.8+
1 parent 8c8edb9 commit 5b5bbf7

File tree

5 files changed

+16
-22
lines changed

5 files changed

+16
-22
lines changed

.github/workflows/run_python_unit_tests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,11 @@ jobs:
2323
strategy:
2424
matrix:
2525
include:
26-
# Django 4.1
27-
- {tox_env: "py3-django41", python: "3.11"}
28-
- {tox_env: "py3-django41", python: "3.10"}
29-
- {tox_env: "py3-django41", python: "3.9"}
30-
- {tox_env: "py3-django41", python: "3.8"}
31-
32-
# Django 4.0
33-
- {tox_env: "py3-django40", python: "3.10"}
34-
- {tox_env: "py3-django40", python: "3.9"}
35-
- {tox_env: "py3-django40", python: "3.8"}
26+
- {tox_env: "py3-django42", python: "3.11"}
27+
- {tox_env: "py3-django42", python: "3.10"}
28+
- {tox_env: "py3-django42", python: "3.9"}
29+
- {tox_env: "py3-django42", python: "3.8"}
30+
3631
steps:
3732
- name: Check-out repository
3833
uses: actions/[email protected]

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
tag instead of any other hidden tag. As such, the `emptyFormSelector`
66
parameter has been renamed to `emptyFormTemplateSelector`. See updated usage
77
documentation for an example.
8+
- **BREAKING:** Drop support for Django versions below 4.2
9+
- **BREAKING:** Drop support for Python versions below 3.8
810
- **BREAKING:** Drop support for IE11 browser
911
- Only latest desktop browsers are now tested for simplicity, minimal browser
1012
versions are no longer guaranteed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ custom logic.
1414

1515

1616
#### Supported platforms
17-
- Django: 4.0+
18-
- Python: 3.11, 3.10, 3.9, 3.8, 3.7
17+
- Django: 4.2+
18+
- Python: 3.8+
1919
- Tested desktop browsers: latest Chrome, latest Firefox, latest Edge,
2020
latest Opera, latest Safari
2121

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@
2222
classifiers=[
2323
"Development Status :: 5 - Production/Stable",
2424
"Environment :: Web Environment",
25-
"Framework :: Django :: 4.0",
26-
"Framework :: Django :: 4.1",
25+
"Framework :: Django :: 4.2",
2726
"Intended Audience :: Developers",
2827
"License :: OSI Approved :: BSD License",
2928
"Operating System :: OS Independent",
30-
"Programming Language :: Python :: 3.7",
3129
"Programming Language :: Python :: 3.8",
3230
"Programming Language :: Python :: 3.9",
3331
"Programming Language :: Python :: 3.10",
@@ -38,6 +36,6 @@
3836
packages=setuptools.find_packages(exclude=("py_tests*",)),
3937
include_package_data=True,
4038
zip_safe=False,
41-
python_requires=">=3.7",
42-
install_requires=("Django>=4.0",),
39+
python_requires=">=3.8",
40+
install_requires=("Django>=4.2",),
4341
)

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[tox]
2-
envlist = py3-django{40,41}
2+
envlist = py3-django{42}
33

44

5-
[testenv:py3-django{40,41}]
5+
[testenv:py3-django{42}]
66
commands = python3 -B -m pytest {posargs} -- py_tests/unit_tests/
77
deps =
88
pytest>=6.0.0
99
pytest-django>=4.0.0
1010
pytest-randomly>=3.0.0
11-
django40: Django>=4.0,<4.1
12-
django41: Django>=4.1,<4.2
11+
django42: Django>=4.2,<5.0
1312
passenv =
1413
PY_COLORS
1514
PYTEST_*
@@ -22,7 +21,7 @@ deps =
2221
pytest-django>=4.0.0
2322
pytest-selenium>=3.0.0
2423
selenium>=3.0,<4.0
25-
Django>=4.1,<4.2
24+
Django>=4.2,<5.0
2625
passenv =
2726
DISPLAY
2827
PY_COLORS

0 commit comments

Comments
 (0)