GoogleContainerTools / GoogleContainerTools/container-debug-support

Python tests are non-hermetic

Abierto
#116 0 comentarios 0 reacciones 0 asignados Ver en GitHub
kind/bug lang/python meta/testing
Lenguaje dominante
Go
Estrellas
104
Forks
32
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The python launcher uses `exec.LookPath` to find `python` in the `PATH`. As a result, tests fail on vanilla'ish macOS 12.3 where Python 2.7 was removed and Python 3 is only available as `python3`.

Since the tests don't actually launch Python, we should have the lookup be pluggable.

Workaround: create a `python` in the PATH before running the tests.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.