Skip to content
Snippets Groups Projects
Select Git revision
  • 9353be88344eb7a8efef4469a592fdaa39ee543f
  • master default protected
  • v2
3 results

upload.sh

user avatar
Paolo Bonzini authored
Let pip decide whether a new version should be installed or the current
one is okay.  This ensures that the virtual environment is updated
(either upgraded or downgraded) whenever a new version of a package is
requested.

The hardest part here is figuring out if a package is installed in
the venv (which also has to be done twice to account for the presence
of either setuptools in Python <3.8, or importlib in Python >=3.8).

Suggested-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Cc: John Snow <jsnow@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
47a90a51
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.