File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,6 @@ const GLOBAL_EXTENSIONS_POSIX: &[&str] = &[
759
759
const GLOBAL_EXTENSIONS_LINUX_PRE_3_13 : & [ & str ] = & [ "spwd" ] ;
760
760
761
761
const GLOBAL_EXTENSIONS_WINDOWS : & [ & str ] = & [
762
- "_msi" ,
763
762
"_overlapped" ,
764
763
"_winapi" ,
765
764
"_xxsubinterpreters" ,
@@ -769,6 +768,8 @@ const GLOBAL_EXTENSIONS_WINDOWS: &[&str] = &[
769
768
"winsound" ,
770
769
] ;
771
770
771
+ const GLOBAL_EXTENSIONS_WINDOWS_PRE_3_13 : & [ & str ] = & [ "_msi" ] ;
772
+
772
773
/// Extension modules not present in Windows static builds.
773
774
const GLOBAL_EXTENSIONS_WINDOWS_NO_STATIC : & [ & str ] = & [ "_testinternalcapi" , "_tkinter" ] ;
774
775
@@ -1494,6 +1495,10 @@ fn validate_extension_modules(
1494
1495
if is_windows {
1495
1496
wanted. extend ( GLOBAL_EXTENSIONS_WINDOWS ) ;
1496
1497
1498
+ if matches ! ( python_major_minor, "3.8" | "3.9" | "3.10" | "3.11" | "3.12" ) {
1499
+ wanted. extend ( GLOBAL_EXTENSIONS_WINDOWS_PRE_3_13 ) ;
1500
+ }
1501
+
1497
1502
if static_crt {
1498
1503
for x in GLOBAL_EXTENSIONS_WINDOWS_NO_STATIC {
1499
1504
wanted. remove ( * x) ;
You can’t perform that action at this time.
0 commit comments