Skip to content

Commit f382d59

Browse files
committed
Remove --upgrade from uv sync workflow commands
1 parent 33a80ee commit f382d59

4 files changed

Lines changed: 15 additions & 25 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- main
99
- major-release
1010
tags:
11-
- 'v*'
11+
- "v*"
1212
permissions: read-all
1313

1414
env:
@@ -48,7 +48,6 @@ jobs:
4848

4949
- run: >-
5050
uv sync
51-
--upgrade
5251
--no-default-groups
5352
--group docs
5453

.github/workflows/python-checks.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
python-version:
36-
- '3.10'
37-
- '3.11'
38-
- '3.12'
39-
- '3.13'
36+
- "3.10"
37+
- "3.11"
38+
- "3.12"
39+
- "3.13"
4040
os:
4141
- ubuntu-latest
4242
- windows-latest
@@ -75,7 +75,6 @@ jobs:
7575
UV_RESOLUTION: ${{ matrix.resolution }}
7676
run: >-
7777
uv sync
78-
--upgrade
7978
--no-default-groups
8079
--group test-coverage
8180
--all-extras
@@ -123,7 +122,6 @@ jobs:
123122

124123
- run: >-
125124
uv sync
126-
--upgrade
127125
--no-default-groups
128126
--group ci
129127
--all-extras
@@ -157,9 +155,9 @@ jobs:
157155
fail-fast: false
158156
matrix:
159157
extra: ${{ fromJson(needs.pytest-extras-config.outputs.extras) }}
160-
python-version: ['3.13']
161-
os: ['ubuntu-latest']
162-
resolution: ['highest']
158+
python-version: ["3.13"]
159+
os: ["ubuntu-latest"]
160+
resolution: ["highest"]
163161

164162
steps:
165163
- uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d
@@ -188,7 +186,6 @@ jobs:
188186
UV_RESOLUTION: ${{ matrix.resolution }}
189187
run: >-
190188
uv sync
191-
--upgrade
192189
--no-default-groups
193190
--group test
194191
--extra ${{ matrix.extra }}
@@ -221,7 +218,6 @@ jobs:
221218

222219
- run: >-
223220
uv sync
224-
--upgrade
225221
--no-default-groups
226222
--group lint
227223
@@ -260,7 +256,6 @@ jobs:
260256

261257
- run: >-
262258
uv sync
263-
--upgrade
264259
--no-default-groups
265260
--group lint
266261
@@ -312,7 +307,6 @@ jobs:
312307

313308
- run: >-
314309
uv sync
315-
--upgrade
316310
--no-default-groups
317311
--group security
318312
@@ -394,7 +388,6 @@ jobs:
394388

395389
- run: >-
396390
uv sync
397-
--upgrade
398391
--no-default-groups
399392
--group docs
400393
@@ -431,7 +424,6 @@ jobs:
431424

432425
- run: >-
433426
uv sync
434-
--upgrade
435427
--no-default-groups
436428
--group pre-commit
437429

.github/workflows/release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939

4040
- run: >-
4141
uv sync
42-
--upgrade
4342
--all-extras
4443
4544
- run: >-
@@ -58,10 +57,10 @@ jobs:
5857
fail-fast: false
5958
matrix:
6059
python-version:
61-
- '3.10'
62-
- '3.11'
63-
- '3.12'
64-
- '3.13'
60+
- "3.10"
61+
- "3.11"
62+
- "3.12"
63+
- "3.13"
6564
os:
6665
- ubuntu-latest
6766
- windows-latest
@@ -97,8 +96,8 @@ jobs:
9796
9897
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
9998
with:
100-
python-version: ${{ matrix.python-version }}
101-
cache: pip
99+
python-version: ${{ matrix.python-version }}
100+
cache: pip
102101

103102
- name: install parsons from file
104103
shell: bash

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WORKDIR /src
1212
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
1313

1414
# Install parsons
15-
RUN uv sync --upgrade --all-extras --python python3.11
15+
RUN uv sync --python python3.11 --no-dev --all-extras --no-editable
1616
ENV PATH="/src/.venv/bin:$PATH"
1717

1818
# The /app directory can house the scripts that will actually execute on this Docker image.

0 commit comments

Comments
 (0)