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
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:
What happened (please include outputs or screenshots):
I have accidentally installed the git-Master-Branch with Python2 with these commands:
Everything works fine, but Python2 support is dropped (#1468)
What you expected to happen:
I expect an error Message like:
How to reproduce it (as minimally and precisely as possible):
See in "What happened".
You may have to use
python2 setup.py install
ifpython --v
is not 2Anything else we need to know?:
A possible fix in setup.py would be
There is also some Python2 compatibility code in the python/ and python-base repo
For example:
Should that also be removed?
Environment:
kubectl version
):v1.19.0
Fedora 29 (Workstation Edition)
python --version
)Python 2.7.17
pip list | grep kubernetes
)18.0.0-snapshot
The text was updated successfully, but these errors were encountered: