envoyproxy / envoyproxy/envoy

Figure out a good strategy for managing python version/s

Open
#16,001 4 comments 0 reactions 1 assignee Claimed by @phlax View on GitHub
area/build help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

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_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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.