Skip to content

Conversation

@stefanvanburen
Copy link
Member

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

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.
@stefanvanburen stefanvanburen marked this pull request as ready for review August 25, 2025 18:49
@stefanvanburen stefanvanburen merged commit 47ee1d7 into main Aug 25, 2025
22 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/test-with-resolution branch August 25, 2025 18:52
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.

4 participants