Skip to content

Commit f86b23d

Browse files
committed
Add support for pre-releases to Python platform key regex
1 parent 87b770a commit f86b23d

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
@@ -290,7 +290,7 @@ impl TestContext {
290290
\d+ # An actual patch version
291291
)
292292
)? # (we allow the patch version to be missing entirely, e.g., in a request)
293-
[a-z]? # Pre-release letter
293+
([a-z]+[0-9]*)? # Pre-release version component, e.g., `a6` or `rc2`
294294
(?:
295295
\+[a-z]+ # An optional variant variant, such as `+free-threaded
296296
)?

0 commit comments

Comments
 (0)