envoyproxy/envoy

Figure out a good strategy for managing python version/s

Open

#16.001 geöffnet am 15. Apr. 2021

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (5.373 Forks)batch import
area/buildhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

description

some parts of tooling/ci require python3.8 and more generally recent python 3.x versions have syntax incompatibility

for those reasons the envoy-build-image sets python3.8 as the default interpreter

some OS dont have support for this out of the box so we could do with a good strategy for handling this

a couple of ideas in this respect are:

  • use a python_runtime bazel rule to pull in the required py version
  • explicitly set python3.8 in the shebang lines so devs can keep lower versions without having to update-alternatives or similar
  • use a venv runtime (i think this is the least prefered option for various reasons)

Contributor Guide