Skip to content

Commit dc118e2

Browse files
authored
Ensure Python 3.7 in setup.py (#13347)
1 parent 7f14a9e commit dc118e2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: setup.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import os.path
66
import sys
77

8-
if sys.version_info < (3, 6, 0):
9-
sys.stderr.write("ERROR: You need Python 3.6 or later to use mypy.\n")
8+
if sys.version_info < (3, 7, 0):
9+
sys.stderr.write("ERROR: You need Python 3.7 or later to use mypy.\n")
1010
exit(1)
1111

1212
# we'll import stuff from the source tree, let's ensure is on the sys path
@@ -174,7 +174,6 @@ def run(self):
174174
"Intended Audience :: Developers",
175175
"License :: OSI Approved :: MIT License",
176176
"Programming Language :: Python :: 3",
177-
"Programming Language :: Python :: 3.6",
178177
"Programming Language :: Python :: 3.7",
179178
"Programming Language :: Python :: 3.8",
180179
"Programming Language :: Python :: 3.9",
@@ -219,7 +218,7 @@ def run(self):
219218
"python2": "typed_ast >= 1.4.0, < 2",
220219
"reports": "lxml",
221220
},
222-
python_requires=">=3.6",
221+
python_requires=">=3.7",
223222
include_package_data=True,
224223
project_urls={
225224
"News": "http://mypy-lang.org/news.html",

0 commit comments

Comments
 (0)