mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
mach: recreate .venv when .python-version changes (#34712)
The new images published in servo/ci-runners#12 should have `uv` installed already and the initial build of servo triggered during the base image construction will force the installation of the Python version mentioned at the time of the image construction (3.12). When .python-version changes, we can no longer use the .venv baked into the image and must recreate the it to avoid activating the environment. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
50c9c72778
commit
adfee3daa5
12 changed files with 46 additions and 46 deletions
|
@ -89,7 +89,7 @@ stdenv.mkDerivation (androidEnvironment // {
|
|||
# that `uv` will just symlink to the one in nix store. Otherwise `uv` will
|
||||
# download a pre-built binary that won't work on nix.
|
||||
# FIXME: dbus python module needs to be installed into the virtual environment.
|
||||
python312
|
||||
python311
|
||||
uv
|
||||
|
||||
# This pins gnumake to 4.3 since 4.4 breaks jobserver
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue