Skip to content

Commit c7e5074

Browse files
Use lowest-direct dependency resolution by default (#373)
We'll still test with highest (i.e., newest) dependencies in CI, but to avoid thinking things like #371 will work.
1 parent 34e5604 commit c7e5074

File tree

3 files changed

+455
-92
lines changed

3 files changed

+455
-92
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
run: make lint
4444
- name: Format
4545
run: make format
46-
# When running with matrix.resolution == lowest, we expect uv.lock to change, but we don't want that file checked in.
47-
- if: matrix.resolution == 'highest'
46+
# When running with matrix.resolution == highest, we expect uv.lock to change, but we don't want that file checked in.
47+
- if: matrix.resolution == 'higest'
4848
name: Check generated
4949
run: make checkgenerate
5050
env:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ dev = [
4646
"types-protobuf>=5.29.1.20250315",
4747
]
4848

49+
[tool.uv]
50+
resolution = "lowest-direct"
51+
4952
[tool.hatch.version]
5053
source = "vcs"
5154
raw-options = { fallback_version = "0.0.0" }

0 commit comments

Comments
 (0)