jupyterhub / kubespawner

Kubernetes spawner for JupyterHub
https://jupyterhub-kubespawner.readthedocs.io
BSD 3-Clause "New" or "Revised" License
536 stars 301 forks source link

kubernetes-client/python version 11 doesn't work #366

Closed consideRatio closed 4 years ago

consideRatio commented 4 years ago

We may need to make some fixes to support the changes made in the python kubernetes-client library we rely on.

One confirmed error we run into, relates to a rename of kubernetes.client.apis to kubernetes.client.api I believe. But hmmm, it doesn't seem we explicitly use kubernetes.client.apis ourselves though. I can reproduce this extremely simple it seems.

pip install kubernetes==1.11.0b1
ipython
from kubernetes.client import V1Namespace

I reported the error upstream: https://github.com/kubernetes-client/python/issues/1008

consideRatio commented 4 years ago

Solved with 1.11.0b2