Skip to content

Commit f0e995c

Browse files
authored
fix: uv sync --active (#97615)
forces uv to use the activated virtualenv relay ci fails here: https://github.com/getsentry/relay/actions/runs/16889766628/job/47847320387
1 parent 893d8a4 commit f0e995c

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/actions/setup-sentry/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ runs:
9191
with:
9292
python-version: ${{ inputs.python-version }}
9393
cache-dependency-path: ${{ inputs.workdir }}/uv.lock
94-
install-cmd: cd ${{ inputs.workdir }} && uv sync --frozen
94+
install-cmd: cd ${{ inputs.workdir }} && uv sync --frozen --active
9595

9696
- name: Set up outputs
9797
id: config

.github/workflows/backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ jobs:
339339
with:
340340
python-version: 3.13.1
341341
cache-dependency-path: uv.lock
342-
install-cmd: uv sync --frozen
342+
install-cmd: uv sync --frozen --active
343343

344344
- name: setup sentry (lite)
345345
run: |

.github/workflows/development-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
python-version: 3.13.1
4646
cache-dependency-path: uv.lock
47-
install-cmd: uv sync --only-dev --frozen
47+
install-cmd: uv sync --only-dev --frozen --active
4848

4949
- name: test-tools
5050
run: make test-tools
@@ -71,7 +71,7 @@ jobs:
7171
python-version: 3.13.1
7272
cache-dependency-path: uv.lock
7373
# technically we can just use --only-dev but more cache is nice
74-
install-cmd: uv sync --frozen
74+
install-cmd: uv sync --frozen --active
7575

7676
- name: devenv sync
7777
run: |

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
python-version: 3.13.1
8383
cache-dependency-path: uv.lock
84-
install-cmd: uv sync --only-dev --frozen
84+
install-cmd: uv sync --only-dev --frozen --active
8585
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
8686
with:
8787
path: ~/.cache/pre-commit

devenv/sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def main(context: dict[str, str]) -> int:
226226
"sync",
227227
"--frozen",
228228
"--quiet",
229+
"--active",
229230
),
230231
{},
231232
),

0 commit comments

Comments
 (0)