Skip to content

Commit 7339c3c

Browse files
authored
Merge pull request #646 from claudep/drop37
Drop support for EOL Python 3.7
2 parents f57f8e8 + 7dd9054 commit 7339c3c

File tree

6 files changed

+13
-17
lines changed

6 files changed

+13
-17
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
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
env:
1414
COVERAGE_OPTIONS: "-a"
1515

1616
steps:
1717
- uses: actions/checkout@v3
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v3
19+
uses: actions/setup-python@v4
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install Tox and any other packages
@@ -39,11 +39,11 @@ jobs:
3939
runs-on: ubuntu-latest
4040

4141
steps:
42-
- uses: actions/checkout@v2
43-
- name: Set up Python 3.8
44-
uses: actions/setup-python@v2
42+
- uses: actions/checkout@v3
43+
- name: Set up Python 3.11
44+
uses: actions/setup-python@v4
4545
with:
46-
python-version: 3.8
46+
python-version: 3.11
4747
- name: Install Tox
4848
run: pip install tox
4949
- name: isort

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v4
2020
with:
21-
python-version: 3.8
21+
python-version: 3.11
2222

2323
- name: Install dependencies
2424
run: |

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ is optional, it improves account security control over
3838
``django.contrib.sessions``.
3939

4040
Compatible with supported Django and Python versions. At the moment of writing that
41-
includes 3.2, 4.0 and 4.1 on Python 3.7, 3.8, 3.9, 3.10 and 3.11.
41+
includes 3.2, 4.0, 4.1, and 4.2 on Python 3.8, 3.9, 3.10 and 3.11.
4242
Documentation is available at `readthedocs.io`_.
4343

4444

docs/requirements.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Requirements
33

44
Django
55
------
6-
Supported Django versions are supported. Currently this list includes Django 3.2, 4.0 and 4.1.
6+
Supported Django versions are supported. Currently this list includes Django 3.2, 4.0, 4.1, and 4.2.
77

88
Python
99
------
10-
The following Python versions are supported: 3.7, 3.8, 3.9, 3.10 and 3.11 with a
10+
The following Python versions are supported: 3.8, 3.9, 3.10 and 3.11 with a
1111
limit to what Django itself supports. As support for older Django versions is
1212
dropped, the minimum version might be raised. See also `What Python version can
1313
I use with Django?`_.

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
'Programming Language :: Python',
4242
'Programming Language :: Python :: 3',
4343
'Programming Language :: Python :: 3 :: Only',
44-
'Programming Language :: Python :: 3.7',
4544
'Programming Language :: Python :: 3.8',
4645
'Programming Language :: Python :: 3.9',
4746
'Programming Language :: Python :: 3.10',

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
; Minimum version of Tox
33
minversion = 1.8
44
envlist =
5-
py{37,38,39,310,311}-dj32-{normal,yubikey,custom_user,webauthn}
6-
py{38,39,310,311}-dj{40,41,42}-{normal,yubikey,custom_user,webauthn}
5+
py{38,39,310,311}-dj{32,40,41,42}-{normal,yubikey,custom_user,webauthn}
76
py{310,311}-djmain-{normal,yubikey,custom_user,webauthn}
87

98
[gh-actions]
109
python =
11-
3.7: py37
1210
3.8: py38
1311
3.9: py39
1412
3.10: py310
@@ -36,7 +34,6 @@ setenv =
3634
PYTHONWARNINGS=always
3735
custom_user: AUTH_USER_MODEL=tests.User
3836
basepython =
39-
py37: python3.7
4037
py38: python3.8
4138
py39: python3.9
4239
py310: python3.10

0 commit comments

Comments
 (0)