uv
ac12718e - Prevent local-version containment markers from panicking (#22815)

Commit
9 days ago
Prevent local-version containment markers from panicking (#22815) Rendering `python_full_version not in '3.20+x' and python_full_version < '4'` can panic when the local version reaches an ordered comparison, which does not allow local segments. Normalize versions in `in` and `not in` markers to their release segments, as comparison markers already do, so the resulting marker can be rendered and parsed consistently. Fixes astral-sh/uv#22804 Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Parents
Loading