Skip to content

Commit 05f0bb6

Browse files
authored
bin/stack-config: avoid .venv arch conflicts by having separate venvs for each arch (#279)
Use `UV_PROJECT_ENVIRONMENT` https://docs.astral.sh/uv/concepts/projects/config/#project-environment-path to differentiate .venv folder depending on the arch.
1 parent c370be2 commit 05f0bb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/stack-config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
22

3+
export UV_PROJECT_ENVIRONMENT=.venv-`uname -m`
4+
35
STACKINATOR_ROOT=$(dirname `realpath $0`)/..
46
uv run --directory $STACKINATOR_ROOT --with . python -m stackinator.main $@

0 commit comments

Comments
 (0)