Skip to content

Commit c4bcfc4

Browse files
committed
Revert "remove python 3.6"
This reverts commit c2062da.
1 parent 9ce6b62 commit c4bcfc4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17+
- '3.6'
1718
- '3.7'
1819
- '3.8'
1920
- '3.9'
@@ -36,9 +37,18 @@ jobs:
3637
- name: Install dependencies
3738
run: python -m pip install --upgrade codecov tox
3839

40+
- name: Install tox-py
41+
if: ${{ matrix.python-version == '3.6' }}
42+
run: python -m pip install --upgrade tox-py
43+
3944
- name: Run tox targets for ${{ matrix.python-version }}
45+
if: ${{ matrix.python-version != '3.6' }}
4046
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
4147

48+
- name: Run tox targets for ${{ matrix.python-version }}
49+
if: ${{ matrix.python-version == '3.6' }}
50+
run: tox --py current
51+
4252
- name: Run extra tox targets
4353
if: ${{ matrix.python-version == '3.9' }}
4454
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ classifiers = [
3333
"Programming Language :: Python :: 3 :: Only",
3434
"Topic :: Internet :: WWW/HTTP",
3535
]
36-
requires-python = ">=3.7"
36+
requires-python = ">=3.6"
3737
dependencies = [
3838
"django>=3.0",
3939
'backports.zoneinfo;python_version<"3.9"',

0 commit comments

Comments
 (0)