Skip to content

Commit 5525c77

Browse files
committed
update lockfile
1 parent 6ed3533 commit 5525c77

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,23 @@ function _pip_install() {
3737
echo "Installing $2 using pip... done."
3838
}
3939

40+
# Try to use the binaries in the toolchain if available.
41+
if [ -n "${CI}" ]; then
42+
export PATH
43+
case "${OSTYPE:?}" in
44+
cygwin)
45+
PATH="/cygdrive/c/Python/Current:${PATH:-}"
46+
;;
47+
darwin*)
48+
PATH="/Library/Frameworks/Python.Framework/Versions/Current/bin:${PATH:-}"
49+
;;
50+
*)
51+
PATH="/opt/python/Current/bin:${PATH:-}"
52+
;;
53+
esac
54+
fi
55+
fi
56+
4057

4158
# Ensure just is installed.
4259
if ! command -v just >/dev/null 2>&1; then
@@ -53,8 +70,8 @@ if ! command -v just >/dev/null 2>&1; then
5370
echo "Installing just... done."
5471
fi
5572

56-
# Install uv.
57-
if ! command -v uv >/dev/null 2>&1; then
73+
# Fall back to installing uv.
74+
if [ ! command -v uv >/dev/null 2>&1 ]; then
5875
echo "Installing uv..."
5976
# On most systems we can install directly.
6077
curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="$_BIN_DIR" INSTALLER_NO_MODIFY_PATH=1 sh || {

uv.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)