Skip to content

Use uv highest resolution by default#142

Merged
anuraaga merged 3 commits intoconnectrpc:mainfrom
anuraaga:default-highest
Feb 26, 2026
Merged

Use uv highest resolution by default#142
anuraaga merged 3 commits intoconnectrpc:mainfrom
anuraaga:default-highest

Conversation

@anuraaga
Copy link
Collaborator

This makes it harder to have potentially flagged vulnerabilities in our lock file like in #124. Some users point a CVE scanner at a github repo before using a project and even though it's reasonable to expect users to keep their dependency up to date, I've come to accept it's easiest to go with the flow and ensure there aren't any CVEs detectable as much as possible.

The risk is using a feature from a newer version than our pin, but CI will catch it and I think it is very unlikely to happen in practice, especially with our low dependency count.

@anuraaga anuraaga requested a review from a team February 25, 2026 01:23
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
stefanvanburen added a commit to bufbuild/protovalidate-python that referenced this pull request Feb 25, 2026
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)
@anuraaga anuraaga merged commit fa83efb into connectrpc:main Feb 26, 2026
23 checks passed
stefanvanburen added a commit to bufbuild/protovalidate-python that referenced this pull request Feb 26, 2026
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants