diff --git a/setup.py b/setup.py index 41ba8cd..6e6e12f 100644 --- a/setup.py +++ b/setup.py @@ -21,8 +21,8 @@ from setuptools import setup -if sys.version_info >= (3, 10): - sys.exit('Sorry, Python >= 3.10 is not supported') +if sys.version_info >= (3, 11): + sys.exit('Sorry, Python >= 3.11 is not supported') def select_constraint(default, nightly=None, git_master=None): @@ -74,7 +74,7 @@ def select_constraint(default, nightly=None, git_master=None): package_data={ 'fairness_indicators': ['documentation/*'], }, - python_requires='>=3.7,<3.10', + python_requires='>=3.8,<3.11', install_requires=REQUIRED_PACKAGES, tests_require=REQUIRED_PACKAGES, # PyPI package information. @@ -88,6 +88,7 @@ def select_constraint(default, nightly=None, git_master=None): 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Mathematics', diff --git a/tensorboard_plugin/setup.py b/tensorboard_plugin/setup.py index 6cff6b5..a2751c9 100644 --- a/tensorboard_plugin/setup.py +++ b/tensorboard_plugin/setup.py @@ -25,8 +25,8 @@ from setuptools import setup -if sys.version_info >= (3, 10): - sys.exit('Sorry, Python >= 3.10 is not supported') +if sys.version_info >= (3, 11): + sys.exit('Sorry, Python >= 3.11 is not supported') def select_constraint(default, nightly=None, git_master=None): @@ -79,7 +79,7 @@ def select_constraint(default, nightly=None, git_master=None): 'fairness_indicators = tensorboard_plugin_fairness_indicators.plugin:FairnessIndicatorsPlugin', ], }, - python_requires='>=3.7,<3.10', + python_requires='>=3.8,<3.11', install_requires=REQUIRED_PACKAGES, tests_require=REQUIRED_PACKAGES, classifiers=[ @@ -90,9 +90,9 @@ def select_constraint(default, nightly=None, git_master=None): 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Mathematics',