From dd0a26a0fa04a481b3a528f40bd439ffc6a81e0a Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Tue, 7 Feb 2023 12:50:53 -0500 Subject: [PATCH] set maximum python version to 3.10 (#1433) * set maximum python version to 3.10 Signed-off-by: Niels Bantilan * remove unneeded python version check Signed-off-by: Niels Bantilan * fix lint Signed-off-by: Niels Bantilan --------- Signed-off-by: Niels Bantilan --- setup.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/setup.py b/setup.py index b42f8a8490..d00e3f9c09 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,5 @@ -import sys - from setuptools import find_packages, setup # noqa -MIN_PYTHON_VERSION = (3, 7) -CURRENT_PYTHON = sys.version_info[:2] -if CURRENT_PYTHON < MIN_PYTHON_VERSION: - print( - f"Flytekit API is only supported for Python version is {MIN_PYTHON_VERSION}+. Detected you are on" - f" version {CURRENT_PYTHON}, installation will not proceed!" - ) - sys.exit(-1) - extras_require = {} __version__ = "0.0.0+develop" @@ -91,7 +80,7 @@ "flytekit/bin/entrypoint.py", ], license="apache2", - python_requires=">=3.7", + python_requires=">=3.7,<3.11", classifiers=[ "Intended Audience :: Science/Research", "Intended Audience :: Developers",