envoyproxy/envoy
View on GitHubFigure out a good strategy for managing python version/s
Open
#16,001 opened on Apr 15, 2021
area/buildhelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (Avg merge 8d) (378 merged PRs in 30d)
Description
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_runtimebazel 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)