Skip to content

Commit 0a297d7

Browse files
authored
Fix #1565 Remove Python 3.6 due to EOL (#1566)
1 parent cf35562 commit 0a297d7

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
max-parallel: 5
1616
matrix:
17-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
17+
python-version: ['3.7', '3.8', '3.9', '3.10']
1818

1919
services:
2020
mariadb:
@@ -82,7 +82,7 @@ jobs:
8282
fail-fast: false
8383
max-parallel: 5
8484
matrix:
85-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
85+
python-version: ['3.7', '3.8', '3.9', '3.10']
8686
database: [postgresql, postgis]
8787

8888
services:
@@ -151,7 +151,7 @@ jobs:
151151
fail-fast: false
152152
max-parallel: 5
153153
matrix:
154-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
154+
python-version: ['3.7', '3.8', '3.9', '3.10']
155155

156156
steps:
157157
- uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
rev: v2.31.0
1919
hooks:
2020
- id: pyupgrade
21-
args: [--py36-plus]
21+
args: [--py37-plus]
2222
- repo: https://github.com/adamchainz/django-upgrade
2323
rev: 1.4.0
2424
hooks:
@@ -55,4 +55,4 @@ repos:
5555
hooks:
5656
- id: black
5757
language_version: python3
58-
entry: black --target-version=py36
58+
entry: black --target-version=py37

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@ classifiers =
2222
Programming Language :: Python
2323
Programming Language :: Python :: 3
2424
Programming Language :: Python :: 3 :: Only
25-
Programming Language :: Python :: 3.6
2625
Programming Language :: Python :: 3.7
2726
Programming Language :: Python :: 3.8
2827
Programming Language :: Python :: 3.9
2928
Programming Language :: Python :: 3.10
3029
Topic :: Software Development :: Libraries :: Python Modules
3130

3231
[options]
33-
python_requires = >=3.6
32+
python_requires = >=3.7
3433
install_requires =
3534
Django >= 3.2
3635
sqlparse >= 0.2.0

tox.ini

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
envlist =
33
docs
44
packaging
5-
py{36,37}-dj{32}-{sqlite,postgresql,postgis,mysql}
5+
py{37}-dj{32}-{sqlite,postgresql,postgis,mysql}
66
py{38,39,310}-dj{32,40,main}-{sqlite,postgresql,postgis,mysql}
77

88
[testenv]
@@ -42,25 +42,25 @@ whitelist_externals = make
4242
pip_pre = True
4343
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
4444

45-
[testenv:py{36,37,38,39,310}-dj{40,main}-postgresql]
45+
[testenv:py{37,38,39,310}-dj{40,main}-postgresql]
4646
setenv =
4747
{[testenv]setenv}
4848
DB_BACKEND = postgresql
4949
DB_PORT = {env:DB_PORT:5432}
5050

51-
[testenv:py{36,37,38,39,310}-dj{32,40,main}-postgis]
51+
[testenv:py{37,38,39,310}-dj{32,40,main}-postgis]
5252
setenv =
5353
{[testenv]setenv}
5454
DB_BACKEND = postgis
5555
DB_PORT = {env:DB_PORT:5432}
5656

57-
[testenv:py{36,37,38,39,310}-dj{32,40,main}-mysql]
57+
[testenv:py{37,38,39,310}-dj{32,40,main}-mysql]
5858
setenv =
5959
{[testenv]setenv}
6060
DB_BACKEND = mysql
6161
DB_PORT = {env:DB_PORT:3306}
6262

63-
[testenv:py{36,37,38,39,310}-dj{32,40,main}-sqlite]
63+
[testenv:py{37,38,39,310}-dj{32,40,main}-sqlite]
6464
setenv =
6565
{[testenv]setenv}
6666
DB_BACKEND = sqlite3
@@ -84,7 +84,6 @@ skip_install = true
8484

8585
[gh-actions]
8686
python =
87-
3.6: py36
8887
3.7: py37
8988
3.8: py38
9089
3.9: py39

0 commit comments

Comments
 (0)