Skip to content

Commit 4240350

Browse files
committed
Drop support for Python < 3.8 and Django < 4.2.
1 parent 0e3d6a3 commit 4240350

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v2
2020
with:
21-
python-version: 3.7
21+
python-version: 3.8
2222

2323
- name: Install dependencies
2424
run: |

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
max-parallel: 5
1111
matrix:
12-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
12+
python-version: ['3.8', '3.9', '3.10', '3.11']
1313

1414
steps:
1515
- uses: actions/checkout@v2

setup.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,22 @@
1717
author='Simon Charette',
1818
author_email='[email protected]',
1919
install_requires=[
20-
'Django>=3.2',
20+
'Django>=4.2',
2121
],
2222
packages=find_packages(exclude=['tests', 'tests.*']),
2323
license='MIT License',
2424
classifiers=[
2525
'Development Status :: 5 - Production/Stable',
2626
'Environment :: Web Environment',
2727
'Framework :: Django',
28-
'Framework :: Django :: 3.2',
29-
'Framework :: Django :: 4.0',
30-
'Framework :: Django :: 4.1',
3128
'Framework :: Django :: 4.2',
29+
'Framework :: Django :: 5.0',
30+
'Framework :: Django :: 5.1',
3231
'Intended Audience :: Developers',
3332
'License :: OSI Approved :: MIT License',
3433
'Operating System :: OS Independent',
3534
'Programming Language :: Python',
3635
'Programming Language :: Python :: 3',
37-
'Programming Language :: Python :: 3.7',
3836
'Programming Language :: Python :: 3.8',
3937
'Programming Language :: Python :: 3.9',
4038
'Programming Language :: Python :: 3.10',

tox.ini

+6-8
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,19 @@ envlist =
66
flake8,
77
isort,
88
pypi,
9-
py37-3.2,
10-
py{38,39}-{3.2,4.1,4.2},
11-
py310-{3.2,4.1,4.2,5.0,main},
12-
py311-{4.1,4.2,5.0,main},
9+
py{38,39}-{4.2},
10+
py310-{4.2,5.0,5.1,main},
11+
py311-{4.2,5.0,5.1,main},
1312

1413
[gh-actions]
1514
python =
16-
3.7: py37, black, flake8, isort, pypi
17-
3.8: py38
15+
3.8: py38, black, flake8, isort, pypi
1816
3.9: py39
1917
3.10: py310
2018
3.11: py311
2119

2220
[testenv]
2321
basepython =
24-
py37: python3.7
2522
py38: python3.8
2623
py39: python3.9
2724
py310: python3.10
@@ -35,7 +32,8 @@ deps =
3532
3.2: Django>=3.2,<4
3633
4.1: Django>=4.1,<4.2
3734
4.2: Django>=4.2,<5
38-
5.0: Django>=5.0a1,<5.1
35+
5.0: Django>=5.0,<5.1
36+
5.1: Django>=5.1,<5.2
3937
main: https://github.com/django/django/archive/main.tar.gz
4038
passenv =
4139
GITHUB_*

0 commit comments

Comments
 (0)