uv
99f2d862 - Round-trip always-false environment markers (#21939)

Commit
59 days ago
Round-trip always-false environment markers (#21939) We serialize always-false markers as `python_version < '0'`, but parsing that expression produces a nonconstant version range. Normalize `python_version < '0'` to false and its complement to true, including equivalent zero spellings, so false markers round-trip correctly. This lets us recognize unchanged false overrides after reading tool receipts. The simplification applies to `python_version`, whose values contain only major and minor release numbers. Prerequisite for #21930.
Author
Parents
Loading