When installing from release zip: "error: package directory 'kubernetes/config' does not exist"
Los mantenedores suelen responder en 3 días
@micw523 ya está trabajando en esto.
Desde el 3/12/2019.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
What happened (please include outputs or screenshots):
Install from release zip fails with message "error: package directory 'kubernetes/config' does not exist". Looking at the exploded zip the kubernetes/config link is broken, and the kubernetes/base directory is empty.
Our issue looks like this one https://github.com/kubernetes-client/python/issues/532, and the solution there was to properly install submodules. Is it possible that the release zip is missing submodules?
What you expected to happen:
I expect installation following the instructions provided for the release to work.
How to reproduce it (as minimally and precisely as possible):
This Dockerfile shows my issue:
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
unzip \
curl \
python \
python-pip \
&& rm -rf /var/lib/apt/lists/*
RUN pip install 'setuptools>=21.0.0' requests
# Installing from zip based on https://github.com/kubernetes-client/python/releases/tag/v11.0.0b2
RUN curl -LO https://github.com/kubernetes-client/python/archive/v11.0.0b2.zip \
&& unzip v11.0.0b2.zip \
&& cd python-11.0.0b2 \
&& python setup.py install
docker build . on this will give the error "error: package directory 'kubernetes/config' does not exist".
The steps above the actual installation in the Dockerfile are just to mimmick our environment.
Anything else we need to know?:
Before we were installing by git clone --recurse-submodules. We want to move away from this and use the zip you provide directly instead, to remove the usage of git.
Note that we are not using pip, this is why we'd like to use the python setup.py install method. The usage of pip in the above Dockerfile is just to quicly mimmick our setup for this issue.
Environment:
- Kubernetes version (
kubectl version): N/A - OS (e.g., MacOS 10.13.6): Ubuntu 16.04 (Demo Dockerfile), Centos 7
- Python version (
python --version): Python 2.7.12 - Python client version (
pip list | grep kubernetes): N/A
- Lenguaje dominante
- Python
- Estrellas
- 7.7k
- Forks
- 3.5k
- Merge medio
- 3 d 4 h
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de kubernetes-client/python
-
kind/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
kubernetes-client/python#2280 · 16 comentarios · 9 reacciones ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 30/100
kubernetes-client/python#2720 ·
Los mantenedores suelen responder en 3 días
-
Release 1.37Quizá libre de nuevo @yliaog la tomó hace 35 días y no hay ningún pull request abierto. Abierto
kubernetes-client/python#2691 · 1 comentario · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
Growing library sizeAbiertohelp wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
kubernetes-client/python#2677 · 14 comentarios · 1 reacción ·
Los mantenedores suelen responder en 3 días
-
Add option to disable strict x509 verifcation in sync clientQuizá libre de nuevo @Vishwa0223 la tomó hace 39 días y no hay ningún pull request abierto. Abiertohelp wanted kind/feature
kubernetes-client/python#2602 · 6 comentarios · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de kubernetes-client/python
Issues similares
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
NousResearch/hermes-agent#132042 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
deepset-ai/haystack#13092 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
EverMind-AI/Raven#845 ·
Los mantenedores suelen responder en 1 día
-
[Feature] 移除「切换到旧版知识库」入口Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AstrBotDevs/AstrBot#10340 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BasedHardware/omi#20401 · 1 comentario ·
Los mantenedores suelen responder en 1 día