Skip to content

Commit 8298756

Browse files
committed
uv
1 parent ffdc2da commit 8298756

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ SAM_CLI_TELEMETRY ?= 0
88
init:
99
@if [ "$$GITHUB_ACTIONS" = "true" ]; then \
1010
command -v uv >/dev/null 2>&1 || pip install uv==0.9.1; \
11-
SAM_CLI_DEV=1 uv pip install --system --break-system-packages --python "$$(uv python find $$UV_PYTHON)" -e '.[dev]'; \
11+
SAM_CLI_DEV=1 uv pip install --system --break-system-packages --python "$$(uv python find $$UV_PYTHON --managed-python)" -e '.[dev]'; \
1212
else \
1313
SAM_CLI_DEV=1 pip install -e '.[dev]'; \
1414
fi
1515

1616
# Set up a pytest venv with test dependencies (cross-platform)
1717
setup-pytest:
18-
@if [ "$${RUNNER_OS:-$$(uname)}" = "Windows" ]; then \
18+
@if [ "$${RUNNER_OS:-}" = "Windows" ]; then \
1919
VENV_DIR="$$USERPROFILE/pytest"; \
2020
python -m venv "$$VENV_DIR"; \
2121
VENV_PY="$$VENV_DIR/Scripts/python.exe"; \

0 commit comments

Comments
 (0)