Skip to content

Commit

Permalink
Ensure Python 3.7 in setup.py (#13347)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 7, 2022
1 parent 7f14a9e commit dc118e2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import os.path
import sys

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

# we'll import stuff from the source tree, let's ensure is on the sys path
Expand Down Expand Up @@ -174,7 +174,6 @@ def run(self):
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down Expand Up @@ -219,7 +218,7 @@ def run(self):
"python2": "typed_ast >= 1.4.0, < 2",
"reports": "lxml",
},
python_requires=">=3.6",
python_requires=">=3.7",
include_package_data=True,
project_urls={
"News": "http://mypy-lang.org/news.html",
Expand Down

0 comments on commit dc118e2

Please sign in to comment.