Varying order of resolution-markers from the same `pyproject.toml`
Summary
I recently started using Renovate, and pull requests from the Renovate lock file maintenance (https://github.com/DigitalEarthSweden/digital-earth-sweden-community/pull/167) sorts the resolution markers in a different order than single-package updates (https://github.com/DigitalEarthSweden/digital-earth-sweden-community/pull/168). For the linked pull requests that are made only a few hours apart, the consequence is that the difference for the package update is just a re-shuffling of the resolution markers without changing the version in uv.lock.
I don't know how Renovate works internally, but both pull requests were made with the same Renovate Docker image pinned by the hash of v44.104.2. Looking around in uv, #21000 with uv 0.12.4 seems to have introduced the current sorting of resolution markers, and I believe the Renovate image is recent enough to use that version of uv. There is nothing in the Renovate configuration we use that restricts the uv version used, and tool.uv in pyproject.toml only contains exclude-newer = "7 days".
I asked a colleague who fed the information into an LLM and got the suggestion that there was a difference between uv lock --upgrade-package rioxarray feeding resolution markers into the resolver and grouping by Python version whereas uv lock --upgrade nests by platform followed by Python version.
The summary of the LLM output is mine so there's a risk that I misunderstood something while making the summary, and on top of that there's the usual risk that the LLM is hallucinating so I'm summarizing junk information.
Platform
Renovate docker image in Github action running Ubuntu 26.04
Version
I'm guessing 0.12.19, and feel fairly sure it's at least >=0.12.4
Python version
3.14
Source: astral-sh/uv