10000 Remove Support for Python < 3.8 · draftcode/client_python@f38492a · GitHub
[go: up one dir, main page]

Skip to content

Commit f38492a

Browse files
committed
Remove Support for Python < 3.8
Python 3.7 is now end of lifed, which allows additional features from the core typings library. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
1 parent c72c4f3 commit f38492a

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ workflows:
7575
matrix:
7676
parameters:
7777
python:
78-
- "3.6"
79-
- "3.7"
8078
- "3.8"
8179
- "3.9"
8280
- "3.10"
@@ -90,4 +88,4 @@ workflows:
9088
matrix:
9189
parameters:
9290
python:
93-
- "3.7"
91+
- "3.8"

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,14 @@
3030
'twisted': ['twisted'],
3131
},
3232
test_suite="tests",
33-
python_requires=">=3.6",
33+
python_requires=">=3.8",
3434
classifiers=[
3535
"Development Status :: 4 - Beta",
3636
"Intended Audience :: Developers",
3737
"Intended Audience :: Information Technology",
3838
"Intended Audience :: System Administrators",
3939
"Programming Language :: Python",
4040
"Programming Language :: Python :: 3",
41-
"Programming Language :: Python :: 3.6",
42-
"Programming Language :: Python :: 3.7",
4341
"Programming Language :: Python :: 3.8",
4442
"Programming Language :: Python :: 3.9",
4543
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[tox]
2-
envlist = coverage-clean,py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,pypy3.7,py3.9-nooptionals,coverage-report,flake8,isort,mypy
2+
envlist = coverage-clean,py3.8,py3.9,py3.10,py3.11,pypy3.8,py3.9-nooptionals,coverage-report,flake8,isort,mypy
33

44
[testenv]
55
deps =
66
coverage
77
pytest
88
attrs
9-
{py3.7,pypy3.7}: twisted
10-
py3.7: asgiref
9+
{py3.8,pypy3.8}: twisted
10+
py3.8: asgiref
1111
# See https://github.com/django/asgiref/issues/393 for why we need to pin asgiref for pypy
12-
pypy3.7: asgiref==3.6.0
12+
pypy3.8: asgiref==3.6.0
1313
commands = coverage run --parallel -m pytest {posargs}
1414

1515
[testenv:py3.9-nooptionals]

0 commit comments

Comments
 (0)
0