Skip to content

Commit

Permalink
Drop support for old Django versions (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed May 10, 2022
1 parent e903388 commit ac1b8e6
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 597 deletions.
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Changelog
=========

* Drop support for Django 2.2, 3.0, and 3.1.

6.0.0 (2022-02-10)
------------------

Expand Down
108 changes: 0 additions & 108 deletions requirements/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,6 @@
# "--generate-hashes",
"--allow-unsafe",
] + sys.argv[1:]
subprocess.run(
[
"python3.7",
*common_args,
"-P",
"Django>=2.2,<2.3",
"-o",
"py37-django22.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.7",
*common_args,
"-P",
"Django>=3.0a1,<3.1",
"-o",
"py37-django30.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.7",
*common_args,
"-P",
"Django>=3.1a1,<3.2",
"-o",
"py37-django31.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.7",
Expand All @@ -65,42 +29,6 @@
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.8",
*common_args,
"-P",
"Django>=2.2,<2.3",
"-o",
"py38-django22.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.8",
*common_args,
"-P",
"Django>=3.0a1,<3.1",
"-o",
"py38-django30.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.8",
*common_args,
"-P",
"Django>=3.1a1,<3.2",
"-o",
"py38-django31.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.8",
Expand All @@ -125,42 +53,6 @@
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.9",
*common_args,
"-P",
"Django>=2.2,<2.3",
"-o",
"py39-django22.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.9",
*common_args,
"-P",
"Django>=3.0a1,<3.1",
"-o",
"py39-django30.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.9",
*common_args,
"-P",
"Django>=3.1a1,<3.2",
"-o",
"py39-django31.txt",
],
check=True,
capture_output=True,
)
subprocess.run(
[
"python3.9",
Expand Down
55 changes: 0 additions & 55 deletions requirements/py37-django22.txt

This file was deleted.

59 changes: 0 additions & 59 deletions requirements/py37-django30.txt

This file was deleted.

59 changes: 0 additions & 59 deletions requirements/py37-django31.txt

This file was deleted.

50 changes: 0 additions & 50 deletions requirements/py38-django22.txt

This file was deleted.

0 comments on commit ac1b8e6

Please sign in to comment.