Skip to content

Commit 41e97e9

Browse files
committed
Handle 3.14 version string's free-threading marker
In 3.14.0b3 this string was changed to "free-threading build" from "experimental free-threading build". Signed-off-by: Matt Wozniski <[email protected]>
1 parent 2776162 commit 41e97e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pystack/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# or "3.13.0+ experimental free-threading build (Python)"
2525
BSS_VERSION_REGEXP = re.compile(
2626
rb"((2|3)\.(\d+)\.(\d{1,2}))((a|b|c|rc)\d{1,2})?\+?"
27-
rb"(?: experimental free-threading build)? (\(.{1,64}\))"
27+
rb"(?: (?:experimental )?free-threading build)? (\(.{1,64}\))"
2828
)
2929

3030
LOGGER = logging.getLogger(__file__)

0 commit comments

Comments
 (0)