Skip to content

Compatibility with python 2.7 is broken #1048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
siddiqskm opened this issue Jan 6, 2020 · 3 comments
Closed

Compatibility with python 2.7 is broken #1048

siddiqskm opened this issue Jan 6, 2020 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@siddiqskm
Copy link

Issue -
Installation of the package kubernetes with python 2.7 fails as listed below:
Collecting cachetools<5.0,>=2.0.0 (from google-auth>=1.0.1->kubernetes==9.0.0->-r requirements.txt (line 24))
Downloading http://pypi.eng.hortonworks.com/api/package/cachetools/cachetools-4.0.0.tar.gz
cachetools requires Python '~= 3.5' but the running Python is 2.7.15

Expectation -
From the official home page - I see kuberenetes supports python 2.7 as well. So - I expect the installation to be successful on python 2.7

Steps to reproduce -
Just try installing kubernetes with python 2.7

Additional Information -
I see Google Auth no longer supports python 2.7 - With this latest development whats the latest on kubernetes client for python 2.7?

@siddiqskm siddiqskm added the kind/bug Categorizes issue or PR as related to a bug. label Jan 6, 2020
@micw523
Copy link
Contributor

micw523 commented Jan 6, 2020

You’ll need to configure your pip to fetch a lower version of compatible package of cachetools. This is not our problem.

On another note, Python 2 will reach end of life soon. Although we may keep supporting py2 a bit, you can see that many packages are starting to require Python 3.5 or higher.

/close

@k8s-ci-robot
Copy link
Contributor

@micw523: Closing this issue.

In response to this:

You’ll need to configure your pip to fetch a lower version of compatible package of cachetools. This is not our problem.

On another note, Python 2 will reach end of life soon. Although we may keep supporting py2 a bit, you can see that many packages are starting to require Python 3.5 or higher.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@palnabarun
Copy link
Member

Xref: #1054

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants