Skip to content

Commit a1ee6c7

Browse files
committed
Include 3.8 in _PyWarnings_Init case
1 parent 8aac36b commit a1ee6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1955,7 +1955,7 @@ fn validate_distribution(
19551955
// For some strange reason _PyWarnings_Init is exported as part of the ABI before
19561956
// Python 3.13.
19571957
} else if name == "_warnings" {
1958-
matches!(python_major_minor, "3.9" | "3.10" | "3.11" | "3.12")
1958+
matches!(python_major_minor, "3.8" | "3.9" | "3.10" | "3.11" | "3.12")
19591959
// Windows dynamic doesn't export extension module init functions.
19601960
} else if triple.contains("-windows-") {
19611961
false

0 commit comments

Comments
 (0)