Skip to content

Commit 6e67258

Browse files
committed
remove python 3.6
1 parent 4a7443e commit 6e67258

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.github/workflows/main.yml

-10
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- '3.6'
1817
- '3.7'
1918
- '3.8'
2019
- '3.9'
@@ -36,18 +35,9 @@ jobs:
3635
- name: Install dependencies
3736
run: python -m pip install --upgrade codecov tox
3837

39-
- name: Install tox-py
40-
if: ${{ matrix.python-version == '3.6' }}
41-
run: python -m pip install --upgrade tox-py
42-
4338
- name: Run tox targets for ${{ matrix.python-version }}
44-
if: ${{ matrix.python-version != '3.6' }}
4539
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
4640

47-
- name: Run tox targets for ${{ matrix.python-version }}
48-
if: ${{ matrix.python-version == '3.6' }}
49-
run: tox --py current
50-
5141
- name: Run extra tox targets
5242
if: ${{ matrix.python-version == '3.9' }}
5343
run: |

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3 :: Only",
3333
"Topic :: Internet :: WWW/HTTP",
3434
]
35-
requires-python = ">=3.6"
35+
requires-python = ">=3.7"
3636
dependencies = [
3737
"django>=3.0",
3838
'backports.zoneinfo;python_version<"3.9"',

tests/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def pytest_configure(config):
9393
# import rest_framework before pytest re-adds the package root directory.
9494
import rest_framework
9595
package_dir = os.path.join(os.getcwd(), 'rest_framework')
96+
print('TOTO', rest_framework.__file__)
9697
assert not rest_framework.__file__.startswith(package_dir)
9798

9899
# Manifest storage will raise an exception if static files are not present (ie, a packaging failure).

0 commit comments

Comments
 (0)