Skip to content

Commit fa83efb

Browse files
authored
Use uv highest resolution by default (#142)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
1 parent 66949d8 commit fa83efb

3 files changed

Lines changed: 106 additions & 73 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191

9292
- name: check running `just generate` does not create a diff
9393
# NOTE: running on macOS as our sed command only works there
94-
# We expect uv.lock to change when matrix.resolution == "highest", so we don't check it there.
95-
if: ${{ startsWith(matrix.os, 'macos-') && matrix.resolution == 'lowest-direct' }}
94+
# We expect uv.lock to change when matrix.resolution == "lowest-direct", so we don't check it there.
95+
if: ${{ startsWith(matrix.os, 'macos-') && matrix.resolution == 'highest' }}
9696
run: uv run just checkgenerate
9797
env:
9898
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ requires = ["uv_build>=0.10.0,<0.11.0"]
6767
build-backend = "uv_build"
6868

6969
[tool.uv]
70-
resolution = "lowest-direct"
7170
constraint-dependencies = [
7271
"coverage==7.13.2",
7372
"pytest==9.0.2",

0 commit comments

Comments
 (0)