Skip to content

Commit 38e4b8f

Browse files
Switch uv resolution back to default
This switches our version resolution back to the default of "highest", but leaves around our testing of our entire version range in CI. This more closely follows [the recommendation of the uv team][1] for libraries. This should help with resolving some of the GitHub security alerts we get on this repository. [1]: https://docs.astral.sh/uv/concepts/resolution/#resolution-strategy Ref: connectrpc/connect-python#142 Ref: #373 Ref: astral-sh/uv#18178 (comment)
1 parent 8781f58 commit 38e4b8f

3 files changed

Lines changed: 297 additions & 371 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- run: make install
3636
- run: make lint
3737
- run: make format
38-
# When running with matrix.resolution == highest, we expect uv.lock to change, but we don't want that file checked in.
39-
- if: matrix.resolution == 'lowest-direct'
38+
# When running with matrix.resolution == lowest-direct, we expect uv.lock to change, but we don't want that file checked in.
39+
- if: matrix.resolution == 'highest'
4040
run: make checkgenerate
4141
env:
4242
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ dev = [
4949
"types-protobuf>=5.29.1.20250315",
5050
]
5151

52-
[tool.uv]
53-
resolution = "lowest-direct"
54-
5552
[tool.hatch.version]
5653
source = "vcs"
5754
raw-options = { fallback_version = "0.0.0" }

0 commit comments

Comments
 (0)