Skip to content

Commit

Permalink
Drop Python 3.6 support (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Jan 10, 2022
1 parent 14a53f5 commit b98b082
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 573 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
History
=======

* Drop Python 3.6 support.

3.10.1 (2021-12-05)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Some good resources to read on the subject are:
Requirements
------------

Python 3.6 to 3.10 supported.
Python 3.7 to 3.10 supported.

Django 2.2 to 4.0 supported.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
target-version = ['py36']
target-version = ['py37']

[tool.isort]
profile = "black"
Expand Down
48 changes: 0 additions & 48 deletions requirements/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,6 @@
"--generate-hashes",
"--allow-unsafe",
] + sys.argv[1:]
subprocess.run(
[
"python3.6",
*common_args,
"-P",
"Django>=2.2,<2.3",
"-o",
"py36-django22.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.6",
*common_args,
"-P",
"Django>=3.0a1,<3.1",
"-o",
"py36-django30.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.6",
*common_args,
"-P",
"Django>=3.1a1,<3.2",
"-o",
"py36-django31.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.6",
*common_args,
"-P",
"Django>=3.2a1,<3.3",
"-o",
"py36-django32.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.7",
Expand Down
125 changes: 0 additions & 125 deletions requirements/py36-django22.txt

This file was deleted.

131 changes: 0 additions & 131 deletions requirements/py36-django30.txt

This file was deleted.

Loading

0 comments on commit b98b082

Please sign in to comment.