Skip to content

Commit

Permalink
set maximum python version to 3.10 (#1433)
Browse files Browse the repository at this point in the history
* set maximum python version to 3.10

Signed-off-by: Niels Bantilan <[email protected]>

* remove unneeded python version check

Signed-off-by: Niels Bantilan <[email protected]>

* fix lint

Signed-off-by: Niels Bantilan <[email protected]>

---------

Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy authored and eapolinario committed Feb 8, 2023
1 parent eafd5e2 commit dd0a26a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit dd0a26a

Please sign in to comment.