WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 48750ef

Browse files
committed
Drop support for python3.9
refs: - https://devguide.python.org/versions/
1 parent 5c067b2 commit 48750ef

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v6
2020
with:
21-
python-version: '3.9'
21+
python-version: '3.10'
2222

2323
- name: Install dependencies
2424
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
max-parallel: 5
1717
matrix:
18-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
18+
python-version: ['3.10', '3.11', '3.12', '3.13']
1919
django-version: ['4.2', '5.0', '5.1', '5.2']
2020
drf-version: ['3.14', '3.15']
2121
exclude:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repos:
5151
rev: 'v3.20.0'
5252
hooks:
5353
- id: pyupgrade
54-
args: ['--py39-plus', '--keep-mock']
54+
args: ['--py310-plus', '--keep-mock']
5555

5656
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
5757
rev: v1.0.1

docs/development_and_contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ directory:
3131

3232
.. code-block:: bash
3333
34-
pyenv install 3.9.x
34+
pyenv install 3.10.x
3535
cat > .python-version <<EOF
36-
3.9.x
36+
3.10.x
3737
EOF
3838
3939
Above, the ``x`` in each case should be replaced with the latest corresponding

docs/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Getting started
66
Requirements
77
------------
88

9-
* Python (3.9, 3.10, 3.11, 3.12, 3.13)
9+
* Python (3.10, 3.11, 3.12, 3.13)
1010
* Django (4.2, 5.0, 5.1)
1111
* Django REST Framework (3.14, 3.15)
1212

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"djangorestframework>=3.14",
6969
"pyjwt>=1.7.1",
7070
],
71-
python_requires=">=3.9",
71+
python_requires=">=3.10",
7272
extras_require=extras_require,
7373
packages=find_packages(exclude=["tests", "tests.*", "licenses", "requirements"]),
7474
include_package_data=True,
@@ -86,7 +86,6 @@
8686
"Operating System :: OS Independent",
8787
"Programming Language :: Python",
8888
"Programming Language :: Python :: 3",
89-
"Programming Language :: Python :: 3.9",
9089
"Programming Language :: Python :: 3.10",
9190
"Programming Language :: Python :: 3.11",
9291
"Programming Language :: Python :: 3.12",

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
22
envlist=
3-
py{39,310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests
3+
py{310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests
44
py{310,311,312}-dj50-drf315-pyjwt{171,2}-tests
55
py{310,311,312,313}-dj51-drf315-pyjwt{171,2}-tests
66
py{311,312,313}-dj52-drf315-pyjwt{171,2}-tests
77
docs
88

99
[gh-actions]
1010
python=
11-
3.9: py39
1211
3.10: py310
1312
3.11: py311
1413
3.12: py312, docs

0 commit comments

Comments
 (0)