Skip to content

Commit a1fa342

Browse files
committed
Add support for pre-releases to Python platform key regex
1 parent eaa2549 commit a1fa342

File tree

1 file changed

+1
-1
lines changed
  • crates/uv/tests/it/common

1 file changed

+1
-1
lines changed

crates/uv/tests/it/common/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ impl TestContext {
269269
\d+ # An actual patch version
270270
)
271271
)? # (we allow the patch version to be missing entirely, e.g., in a request)
272-
[a-z]? # Pre-release letter
272+
([a-z]+[0-9]*)? # Pre-release version component, e.g., `a6` or `rc2`
273273
(?:
274274
\+[a-z]+ # An optional variant variant, such as `+free-threaded
275275
)?

0 commit comments

Comments
 (0)