Add dependency resolution to test matrix#355
Merged
stefanvanburen merged 11 commits intomainfrom Aug 25, 2025
Merged
Conversation
via https://docs.astral.sh/uv/reference/cli/#uv-run--resolution: > By default, uv will use the latest compatible version of each package (highest). And uv suggests for libraries to test with lowest or lowest-direct resolution: > When publishing libraries, it is recommended to separately run tests > with --resolution lowest or --resolution lowest-direct in continuous > integration to ensure compatibility with the declared lower bounds. Ref: https://docs.astral.sh/uv/concepts/resolution/#resolution-strategy
These are just for development, so we might as well start with the latest.
Although, we could loosen this pin for non-3.13 versions, I suppose.
We want to leave uv.lock alone in the repo.
We only need the specific minimum version for 3.13; all other versions can have the relaxed requirement.
Trying to find the lowest...
Maybe ought to just move these into the "unit test" workflow...
So that we don't get the poison pill when running with the literal protobuf==6.
Alfus
approved these changes
Aug 25, 2025
rodaine
approved these changes
Aug 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
via https://docs.astral.sh/uv/reference/cli/#uv-run--resolution:
And uv suggests for libraries to test with lowest or lowest-direct resolution:
Ref: https://docs.astral.sh/uv/concepts/resolution/#resolution-strategy