Revert "remove python 3.6"

This reverts commit c2062da244.
This commit is contained in:
Mathieu Dupuy 2024-02-28 09:48:20 +01:00
parent 9ce6b6254f
commit c4bcfc45b8
No known key found for this signature in database
GPG Key ID: 08C1D4F32506B23A
2 changed files with 11 additions and 1 deletions

View File

@ -14,6 +14,7 @@ jobs:
strategy:
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
@ -36,9 +37,18 @@ jobs:
- name: Install dependencies
run: python -m pip install --upgrade codecov tox
- name: Install tox-py
if: ${{ matrix.python-version == '3.6' }}
run: python -m pip install --upgrade tox-py
- name: Run tox targets for ${{ matrix.python-version }}
if: ${{ matrix.python-version != '3.6' }}
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
- name: Run tox targets for ${{ matrix.python-version }}
if: ${{ matrix.python-version == '3.6' }}
run: tox --py current
- name: Run extra tox targets
if: ${{ matrix.python-version == '3.9' }}
run: |

View File

@ -33,7 +33,7 @@ classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
]
requires-python = ">=3.7"
requires-python = ">=3.6"
dependencies = [
"django>=3.0",
'backports.zoneinfo;python_version<"3.9"',