Tools: Simplify the installation of python3-venv#32754
Merged
peterbarker merged 1 commit intoApr 14, 2026
Merged
Conversation
28af0f5 to
4bb2509
Compare
python3-venv
Ryanf55
approved these changes
Apr 14, 2026
Ryanf55
left a comment
Contributor
There was a problem hiding this comment.
Manual tests look good, nice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
python3-venvworks on all currently supported Debian and Ubuntu distros, so let's simplify the installation logic.Classification & Testing (check all that apply and add your own)
(e.g. SITL)Description
ubuntu:jammyanddebian:bullseyealso work the same way. Should we change them as well?Also,
pip install -Ucan be quite opaque to readers because pip install currently has six--u*options, including--user.pip install --upgrademakes the intention clearer in code that others will read.%
python3 -m pip install --help | grep "\-\-u"%
python3 -m pip install --help | grep "\-\-f"How was this tested?
%
docker run -it ubuntu:noble%
docker run -it debian:bookworm%
docker run -it ubuntu:jammy%
docker run -it debian:bullseyeNote
This month, Plucky will probably disappear from https://ports.ubuntu.com/ubuntu-ports/dists