Open notatallshaw opened 3 months ago
Hmm yeah this is a consequence of us strictly writing in DNF form. Your example does seem like it would be much simpler in CNF.. it's possible that we want more aggressive simplification. However, having a stable representation of markers is also important (see https://github.com/astral-sh/uv/issues/5179), so if we do decide to simplify more we should use an established algorithm instead of continuously adding heuristics (as we were before https://github.com/astral-sh/uv/pull/5898).
uv 0.2.35
Markers are looking much better in general, but here's an example that popped up for me that felt a little too verbose:
This could have been more neatly represented as:
This is fairly small and not that big of a deal.