Commit 40ce0b0
authored
docs(test): Add --reinstall flag to uv sync command (#274)
Without `--reinstall`, `uv sync` will use existing wheels it finds for workspace members. This behaviour is not what you want for testing e.g.
- Use "uv sync --group test" to create a brand new environment
- Switch branches
- Use "uv sync --group test" to update the venv to new branch and test -> does not work as expected. Packages from previous branch will be used.
The only solution is `--reinstall` which forces a rebuild of the local workspace members.1 parent 07d0061 commit 40ce0b0
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments