Update string marker ordering semantics#19808
Merged
Merged
Conversation
uv test inventory changesThis PR changes the tests when compared with the latest
|
hbjydev
pushed a commit
to hbjydev/phoebe
that referenced
this pull request
Jun 19, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [uv](https://github.com/astral-sh/uv) | patch | `0.11.21` → `0.11.22` | --- ### Release Notes <details> <summary>astral-sh/uv (uv)</summary> ### [`v0.11.22`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01122) [Compare Source](astral-sh/uv@0.11.21...0.11.22) Released on 2026-06-18. ##### Enhancements - Publish wheels before sdists in `uv publish` ([#​19831](astral-sh/uv#19831)) - Add `TY` and `RUFF` env vars for providing paths for binaries used by `uv format` and `uv check` ([#​19821](astral-sh/uv#19821)) ##### Preview features - Allow configuring preview features in `uv.toml` and `pyproject.toml` ([#​18437](astral-sh/uv#18437)) - Update the lockfile during `uv check --no-sync` ([#​19909](astral-sh/uv#19909)) - Add `--script` to `uv check` and `uv metadata` ([#​19860](astral-sh/uv#19860)) - Report workspace-exclusive dependency groups in `workspace metadata` ([#​19862](astral-sh/uv#19862)) - Support SARIF as a `uv audit` output ([#​19872](astral-sh/uv#19872)) ##### Performance - Use a more deadlock-resistant concurrent hashmap in the resolver ([#​19532](astral-sh/uv#19532)) ##### Bug fixes - Update string marker ordering semantics to match [upstream clarified rules](pypa/packaging.python.org#1988) ([#​19808](astral-sh/uv#19808)) - Reject extras that have the same normalized name ([#​19871](astral-sh/uv#19871)) - Reject dependency group `include-group` entries that have additional fields ([#​19866](astral-sh/uv#19866)) - Reject invalid UTF-8 URL credentials ([#​19814](astral-sh/uv#19814)) - Validate that PEP 517 `backend-path`s exist when building sdists ([#​19834](astral-sh/uv#19834)) - Validate that `pylock.toml` files do not have an unsupported a `lock-version` ([#​19869](astral-sh/uv#19869)) - Validate that the environment satisfies the `packages.requires-python` of a `pylock.toml` ([#​19868](astral-sh/uv#19868)) - Allow `uv` to be recursively invoked by PEP 517 build hooks ([#​19879](astral-sh/uv#19879)) - Allow empty `credentials.toml` files ([#​19815](astral-sh/uv#19815)) - Fix transparent Python upgrades in project environments ([#​19890](astral-sh/uv#19890)) - Handle non-file editable URLs in `uv pip list` ([#​19867](astral-sh/uv#19867)) - Fix incorrect output from `uv tree --invert` ([#​19910](astral-sh/uv#19910)) - Fix environment locking of `uv venv` in a project ([#​19837](astral-sh/uv#19837)) - Fix handling of workspace-exclusive dependency groups in `uv tree` ([#​19905](astral-sh/uv#19905)) ##### Documentation - Archive the 0.10.x changelog ([#​19813](astral-sh/uv#19813)) ##### Other changes - Mark more tests as requiring network for vendors that need to run tests offline ([#​19819](astral-sh/uv#19819)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzIuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=--> Reviewed-on: https://forgejo.hayden.moe/hayden/phoebe/pulls/151
blake-hamm
added a commit
to blake-hamm/bhamm-lab
that referenced
this pull request
Jun 20, 2026
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ghcr.io/astral-sh/uv](https://github.com/astral-sh/uv) | stage | patch | `0.11.21` → `0.11.23` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/155) for more information. --- ### Release Notes <details> <summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary> ### [`v0.11.23`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01123) [Compare Source](astral-sh/uv@0.11.22...0.11.23) Released on 2026-06-19. ##### Bug fixes - Revert "Fix transparent Python upgrades in project environments" to mitigate unintended breakage in `pre-commit-uv` ([#​19925](astral-sh/uv#19925)) - Restore old behavior where workspace members "hidden" by an intermediate `pyproject.toml` would be treated as standalone projects ([#​19926](astral-sh/uv#19926)) ### [`v0.11.22`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01122) [Compare Source](astral-sh/uv@0.11.21...0.11.22) Released on 2026-06-18. ##### Enhancements - Publish wheels before sdists in `uv publish` ([#​19831](astral-sh/uv#19831)) - Add `TY` and `RUFF` env vars for providing paths for binaries used by `uv format` and `uv check` ([#​19821](astral-sh/uv#19821)) ##### Preview features - Allow configuring preview features in `uv.toml` and `pyproject.toml` ([#​18437](astral-sh/uv#18437)) - Update the lockfile during `uv check --no-sync` ([#​19909](astral-sh/uv#19909)) - Add `--script` to `uv check` and `uv metadata` ([#​19860](astral-sh/uv#19860)) - Report workspace-exclusive dependency groups in `workspace metadata` ([#​19862](astral-sh/uv#19862)) - Support SARIF as a `uv audit` output ([#​19872](astral-sh/uv#19872)) ##### Performance - Use a more deadlock-resistant concurrent hashmap in the resolver ([#​19532](astral-sh/uv#19532)) ##### Bug fixes - Update string marker ordering semantics to match [upstream clarified rules](pypa/packaging.python.org#1988) ([#​19808](astral-sh/uv#19808)) - Reject extras that have the same normalized name ([#​19871](astral-sh/uv#19871)) - Reject dependency group `include-group` entries that have additional fields ([#​19866](astral-sh/uv#19866)) - Reject invalid UTF-8 URL credentials ([#​19814](astral-sh/uv#19814)) - Validate that PEP 517 `backend-path`s exist when building sdists ([#​19834](astral-sh/uv#19834)) - Validate that `pylock.toml` files do not have an unsupported a `lock-version` ([#​19869](astral-sh/uv#19869)) - Validate that the environment satisfies the `packages.requires-python` of a `pylock.toml` ([#​19868](astral-sh/uv#19868)) - Allow `uv` to be recursively invoked by PEP 517 build hooks ([#​19879](astral-sh/uv#19879)) - Allow empty `credentials.toml` files ([#​19815](astral-sh/uv#19815)) - Fix transparent Python upgrades in project environments ([#​19890](astral-sh/uv#19890)) - Handle non-file editable URLs in `uv pip list` ([#​19867](astral-sh/uv#19867)) - Fix incorrect output from `uv tree --invert` ([#​19910](astral-sh/uv#19910)) - Fix environment locking of `uv venv` in a project ([#​19837](astral-sh/uv#19837)) - Fix handling of workspace-exclusive dependency groups in `uv tree` ([#​19905](astral-sh/uv#19905)) ##### Documentation - Archive the 0.10.x changelog ([#​19813](astral-sh/uv#19813)) ##### Other changes - Mark more tests as requiring network for vendors that need to run tests offline ([#​19819](astral-sh/uv#19819)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: Renovate Bot <renovate@bhamm-lab.com> Reviewed-on: https://codeberg.org/blake-hamm/bhamm-lab/pulls/214
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.
Summary
Prior to this change, we used lexicographic ordering for pure string-valued environment markers. For example, with
os_name = "posix", bothos_name > "nt"andos_name >= "nt"evaluated to true.The current dependency specification, updated by pypa/packaging.python.org#1988, defines strict string comparisons (
>and<) as always false, while inclusive comparisons (>=and<=) are equivalent to equality. This applies those rules to every pure String marker field, including reversed operand forms.platform_releaseandplatform_versionremain on their existing comparison path because the specification types them asVersion | Stringrather than pure strings.