Skip to content

Commit 4ab93ff

Browse files
committed
Drop support for older Python & Django
With the exception of Python 3.7 these are all beyond end of life already and make it harder to support newer Python & Django.
1 parent 57566c2 commit 4ab93ff

File tree

4 files changed

+16
-100
lines changed

4 files changed

+16
-100
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,12 @@ on:
66
jobs:
77
test:
88
name: Test
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010

1111
strategy:
1212
matrix:
13-
python-version: ["3.6", "3.7", "3.8", "3.9"]
14-
django-version: ["2.2", "3.0", "3.1", "3.2", "4.0"]
15-
exclude:
16-
# Python 3.6 is not supported beyond Django 3.2
17-
- python-version: "3.6"
18-
django-version: "4.0"
19-
# Python 3.7 is not supported beyond Django 3.2
20-
- python-version: "3.7"
21-
django-version: "4.0"
13+
python-version: ["3.8", "3.9"]
14+
django-version: ["3.2", "4.0"]
2215

2316
steps:
2417
- name: Checkout
@@ -44,16 +37,12 @@ jobs:
4437

4538
lint:
4639
name: Lint
47-
runs-on: ubuntu-20.04
40+
runs-on: ubuntu-latest
4841

4942
strategy:
5043
matrix:
51-
python-version: ["3.6", "3.9"]
52-
django-version: ["2.2", "4.0"]
53-
exclude:
54-
# Python 3.6 is not supported beyond Django 3.2
55-
- python-version: "3.6"
56-
django-version: "4.0"
44+
python-version: ["3.8", "3.9"]
45+
django-version: ["3.2", "4.0"]
5746

5847
steps:
5948
- name: Checkout
@@ -79,16 +68,12 @@ jobs:
7968

8069
type-check:
8170
name: Type Check
82-
runs-on: ubuntu-20.04
71+
runs-on: ubuntu-latest
8372

8473
strategy:
8574
matrix:
86-
python-version: ["3.6", "3.9"]
87-
django-version: ["2.2", "4.0"]
88-
exclude:
89-
# Python 3.6 is not supported beyond Django 3.2
90-
- python-version: "3.6"
91-
django-version: "4.0"
75+
python-version: ["3.8", "3.9"]
76+
django-version: ["3.2", "4.0"]
9277

9378
steps:
9479
- name: Checkout

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v4
2626
with:
27-
python-version: '3.7'
27+
python-version: '3.9'
2828
cache: poetry
2929

3030
- name: Build

poetry.lock

Lines changed: 4 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ classifiers = [
1414
]
1515

1616
[tool.poetry.dependencies]
17-
python = ">=3.6.1,<4"
18-
django = ">=2.2"
17+
python = ">=3.8,<4"
18+
django = ">=3.2"
1919
daemonize = "~=2.5.0"
2020
prometheus-client = "~=0.7"
2121
typing-extensions = "^4"

0 commit comments

Comments
 (0)