Skip to content

Commit 651f389

Browse files
authored
Fix greedy parsing of "freethreaded" as a part of the platform triple (#1021)
Fixes astral-sh/uv#18609
1 parent 8dd0bef commit 651f389

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate-version-metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
cpython-
2020
(?P<py>\d+\.\d+\.\d+(?:(?:a|b|rc)\d+)?)(?:\+\d+)?\+
2121
(?P<tag>\d+)-
22-
(?P<triple>[a-z\d_]+-[a-z\d]+(?:-[a-z\d]+)?-[a-z\d_]+)-
22+
(?P<triple>[a-z\d_]+-[a-z\d]+-[a-z\d]+(?:-(?:gnu(?:eabi(?:hf)?)?|musl|msvc))?)-
2323
(?:(?P<build>.+)-)?
2424
(?P<flavor>[a-z_]+)?
2525
\.tar\.(?:gz|zst)

0 commit comments

Comments
 (0)