You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python2 support dropped but installation works #1502
How to reproduce it (as minimally and precisely as possible):
See in "What happened".
You may have to use python2 setup.py install if python --v is not 2
Anything else we need to know?:
A possible fix in setup.py would be
import sys
from setuptools import setup
# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
CLIENT_VERSION = "18.0.0-snapshot"
PACKAGE_NAME = "kubernetes"
DEVELOPMENT_STATUS = "3 - Alpha"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
if sys.version_info < (3, 6):
raise RuntimeError("kubernetesclient " + CLIENT_VERSION + " requires Python 3.6+")
There is also some Python2 compatibility code in the python/ and python-base repo
For example:
Activity
roycaihw commentedon Jul 19, 2021
Thanks for reporting. Would you mind opening a PR with the change you suggested? Thanks!