Skip to content

Commit 56681a8

Browse files
Drop support for Python 3.6 (#210)
* Drop support for Python 3.6 * Bump black to unblock CI
1 parent 57d0bc0 commit 56681a8

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

ci/azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ stages:
4343
- template: job--python-test.yml@templates
4444
parameters:
4545
jobs:
46-
py36_dj22:
46+
py37_dj22:
4747
variables:
4848
DJANGO_VERSION: "2.2.*"
4949

50-
py37_dj32:
50+
py38_dj32:
5151
variables:
5252
DJANGO_VERSION: "3.2.*"
5353

@@ -56,7 +56,7 @@ stages:
5656
variables:
5757
DJANGO_VERSION: "3.2.*"
5858

59-
py38_postgres:
59+
py310_postgres:
6060
services:
6161
postgres: pg11
6262
variables:

docs/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Install from PyPI:
1010
pip install djangorestframework-api-key
1111
```
1212

13-
**Note**: this package requires Python 3.6+, Django 2.0+ and Django REST Framework 3.8+.
13+
**Note**: this package requires Python 3.7+, Django 2.0+ and Django REST Framework 3.8+.
1414

1515
### Project setup
1616

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ wheel
1515

1616
# Tooling.
1717
autoflake
18-
black==21.11b1
18+
black==22.3.0
1919
flake8
2020
flake8-bugbear
2121
flake8-comprehensions

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,13 @@ def get_long_description() -> str:
3434
include_package_data=True,
3535
zip_safe=False,
3636
install_requires=[],
37-
python_requires=">=3.6",
37+
python_requires=">=3.7",
3838
license="MIT",
3939
classifiers=[
4040
"Development Status :: 4 - Beta",
4141
"Operating System :: OS Independent",
4242
"Intended Audience :: Developers",
4343
"Programming Language :: Python :: 3 :: Only",
44-
"Programming Language :: Python :: 3.6",
4544
"Programming Language :: Python :: 3.7",
4645
"Programming Language :: Python :: 3.8",
4746
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)