mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Update UV on running update_lint_requirements.sh
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
This commit is contained in:
co-authored by
Nicola Soranzo
parent
bb7d2e9e60
commit
591237efab
@@ -11,6 +11,7 @@ THIS_DIRECTORY="$(cd "$(dirname "$0")" > /dev/null && pwd)"
|
||||
update_pinned_reqs() {
|
||||
VENV=$(mktemp -d "${TMPDIR:-/tmp}/$1_venv.XXXXXXXXXX")
|
||||
if command -v uv >/dev/null; then
|
||||
uv self update
|
||||
uv venv "${VENV}" --python python3.9
|
||||
. "${VENV}/bin/activate"
|
||||
uv pip install -r "${THIS_DIRECTORY}/$1-requirements.txt"
|
||||
|
||||
Reference in New Issue
Block a user