Open mgorny opened 4 days ago
Sorry about that. We'll figure out something else.
\cc @konstin in case you have ideas
We're capturing pytest's behavior here, not uv's. We can set COLUMNS
for the pytest invocations, but it's probably better to filter out that line entirely and only keep the 2 passed in
line.
Hit it with 0.5.4 and a513301b7a0a5d1dd840868ccfb82f49cbdbcd48.
There's a bunch of help tests in uv that assume a 100 character wide terminal. To make them pass in the past, I've started using
COLUMNS=100
to run the test suite. However, the most recent release introducedbuilt_by_uv_editable-2
that actually assumes a 80-character wide terminal. Hence, whicheverCOLUMNS
value I use, some tests fail.My guess would be that uv uses terminal width since it's "outer", while pytest defaults to 80 since it's run with piped stdout. The former implies we need to use
COLUMNS
if we don't have exactly the same terminal width as CI, butCOLUMNS
leaks into pytest and modifies its output.