-
-
Notifications
You must be signed in to change notification settings - Fork 320
Expand file tree
/
Copy pathstdlib-test-annotations.yml
More file actions
3031 lines (2611 loc) · 105 KB
/
Copy pathstdlib-test-annotations.yml
File metadata and controls
3031 lines (2611 loc) · 105 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
# This file defines metadata about Python standard library tests.
#
# The file consists of keys defining different groups of annotations.
# See each key for documentation.
#
# All entries share a common set of fields to support describing the
# annotation and filtering which annotations apply to which builds.
#
# * reason - human readable context describing the failure
# * targets - list of regular expressions matching target triples to
#. determine if rule is active. Missing or empty matches all targets.
# * ignore-targets - list of regular expressions matching target tripels
#. to determine if rule is ignored. Takes precedence over "targets."
# * minimum-python-version - X.Y Python version we must be equal or newer
#. to for the rule to apply.
# * maximum-python-version - X.Y Python version we must be equal or less
#. than for the rule to apply.
# * build-option - A build option (e.g. `pgo`) that must be present for this
#. rule to be enabled.
# * no-build-option - A build option (e.g. `freethreaded`) that must not be
#. present for this rule to be enabled.
# harness-skips declares builds to skip running the Python stdlib test harness.
#
# Ideally this feature doesn't need to exist. But sometimes the test harness is
# so broken we need to do this.
harness-skips:
- name: "musl-debug-skip-3.14+"
reason: "`cannot get C stack on this system` error leads to widespread failure"
minimum-python-version: "3.14"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
# module-excludes annotates modules to exclude from loading.
#
# The stdlib test runner applies this filter based on the name of the
# module file/directory within a directory. So values here need to be
# child most module paths. e.g. to exclude module `foo.bar.baz`, you
# need to use module name `baz` and not `foo.bar.baz`.
module-excludes:
- module: test_call
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "import failure due to missing _testcapi"
maximum-python-version: "3.12"
- module: test_capi
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "import failure due to missing _testcapi"
- module: test_code
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "import failure due to missing _testcapi"
- module: test_ctypes
targets:
- ".+-unknown-linux-musl"
reason: "Module import failures"
- module: test_datetime
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "import failure due to missing _testcapi"
- module: test_sqlite3
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "import failure due to missing _testcapi"
- module: test_stable_abi_ctypes
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "import failure due to missing _testcapi"
- module: test_regrtest_noop1
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "import failure due to missing _testcapi"
# Tons of failures. Just exclude entirely instead of running.
- module: test_traceback
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: tons of failures, mostly due to missing _testcapi
- module: test__xxsubinterpreters
maximum-python-version: "3.12"
build-option: "static"
reason: "skipped due to missing _testcapi"
# expected-failures is a list of tests that are expected to fail.
#
# * name - pattern identifying the test or group of tests
# * intermittent - indicates the failure is intermittent.
# * dont-verify - boolean indicating to not verify the failing test actually
#. fails. Useful for intermittent / flaky tests.
expected-failures:
- name: distutils.tests.test_archive_util.ArchiveUtilTestCase.test_tarfile_vs_tar
minimum-python-version: "3.11"
maximum-python-version: "3.11"
reason: "differing element"
intermittent: true
- name: distutils.tests.test_install_lib.InstallLibTestCase.test_byte_compile
maximum-python-version: "3.11"
reason: "TypeError: byte_compile() got an unexpected keyword argument 'dry_run'"
- name: distutils.tests.test_build_py.BuildPyTestCase.test_byte_compile_optimized
maximum-python-version: "3.11"
reason: "TypeError: byte_compile() got an unexpected keyword argument 'dry_run'"
- name: distutils.tests.test_build_ext.BuildExtTestCase.test_deployment_target_higher_ok
reason: wrong deployment target
maximum-python-version: "3.11"
targets:
- ".+-apple-darwin"
- name: distutils.tests.test_build_ext.ParallelBuildExtTestCase.test_deployment_target_higher_ok
reason: wrong deployment target
maximum-python-version: "3.11"
targets:
- ".+-apple-darwin"
# Looks like it is dependent on the system temp dir, which can vary in CI.
- name: distutils.tests.test_sysconfig.SysconfigTestCase.test_srcdir
maximum-python-version: "3.11"
targets:
- ".+-apple-darwin"
reason: "AssertionError: '/var/folders/1r/b8l6nzhj4zdbz5jmjdhqbprw00[64 chars]rwin' != '/private/var/folders/1r/b8l6nzhj4zdbz5jmjd[72 chars]rwin'"
intermittent: true
- name: test.test_array.ByteTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.DoubleTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.FloatTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.IntTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.LongLongTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.LongTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.ShortTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.UnicodeTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.UnsignedByteTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.UnsignedIntTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.UnsignedLongLongTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.UnsignedLongTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
- name: test.test_array.UnsignedShortTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "missing _testcapi"
# This test moved to a sub-module in 3.12.
- name: test.test_ast.ModuleStateTests.test_subinterpreter
maximum-python-version: "3.11"
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "missing _testcapi"
- name: test.test_ast.test_ast.ModuleStateTests.test_subinterpreter
minimum-python-version: "3.12"
maximum-python-version: "3.12"
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "missing _testcapi"
- name: test.test_atexit.SubinterpreterTest.test_callback_on_subinterpreter_teardown
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "missing _testcapi"
- name: test.test_atexit.SubinterpreterTest.test_callbacks_leak
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "missing _testcapi"
- name: test.test_atexit.SubinterpreterTest.test_callbacks_leak_refcycle
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "missing _testcapi"
- name: test.test_audit.AuditTest.test_unraisablehook
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "AssertionError"
- name: test.test_audit.AuditTest.test_builtin__import__
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.15"
reason: "ModuleNotFoundError: No module named '_testcapi'. Did you mean: 'test_capi'?"
- name: test.test_audit.AuditTest.test_import_module
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.15"
reason: "ModuleNotFoundError: No module named '_testcapi'. Did you mean: 'test_capi'?"
- name: test.test_audit.AuditTest.test_import_statement
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.15"
reason: "ModuleNotFoundError: No module named '_testcapi'. Did you mean: 'test_capi'?"
# Looks like a race condition in freethreaded builds.
- name: test.test_buffer.TestBufferProtocol.test_array_alignment
minimum-python-version: "3.15"
build-option: "freethreaded"
reason: "AssertionError: Lists differ: [0, 4, 0, 0, 0, 0, 0, 0, 0, 0] != [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]"
intermittent: true
- name: test.test_buffer.TestBufferProtocol.test_pybuffer_size_from_format
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "missing _testcapi"
- name: test.test_build_details.CPythonBuildDetailsTests.test_platform
minimum-python-version: "3.14"
reason: platform key doesn't match when cross compiling - possible PBS quirk/bug.
targets:
- ".+-apple-darwin"
- ".+-unknown-linux-.+"
dont-verify: true
- name: test.test_bytes.ByteArrayTest.test_obsolete_write_lock
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "_testcapi missing"
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_not_set
targets:
- ".+-unknown-linux-musl"
maximum-python-version: "3.13"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_not_set
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.14"
build-option: "static"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_not_zero
targets:
- ".+-unknown-linux-musl"
maximum-python-version: "3.13"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_not_zero
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.14"
build-option: "static"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_set_to_zero
targets:
- ".+-unknown-linux-musl"
maximum-python-version: "3.13"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_set_to_zero
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.14"
build-option: "static"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_set_to_warn
targets:
- ".+-unknown-linux-musl"
maximum-python-version: "3.13"
reason: AssertionError
- name: test.test_c_locale_coercion.LocaleCoercionTests.test_PYTHONCOERCECLOCALE_set_to_warn
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.14"
build-option: "static"
reason: AssertionError
- name: test.test_call.TestRecursion.test_margin_is_sufficient
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: missing _testcapi
minimum-python-version: "3.14"
- name: test.test_c_stack_unwind.ManualStackUnwindTests.test_manual_unwind_finds_expected_frames
targets:
- "aarch64-unknown-linux-gnu"
minimum-python-version: "3.15"
build-option: "pgo"
no-build-option: "freethreaded"
reason: "The manual frame-pointer unwinder stops after one frame and finds no Python frames in the optimized build"
- name: test.test_c_stack_unwind.ManualStackUnwindTests.test_manual_unwind_finds_expected_frames
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.15"
build-option: "static"
reason: "The manual unwinder cannot identify Python frames in the statically linked executable"
- name: test.test_capi.test_misc.Test_testinternalcapi.test_threadstate_set_stack_protection
minimum-python-version: "3.14"
targets:
- ".+-pc-windows-.+"
build-option: "freethreaded"
reason: "Assertion failed: ts->c_stack_soft_limit < ts->c_stack_top"
intermittent: true
- name: test.test_capi.test_run.CAPITest.test_run_fileexflags
minimum-python-version: "3.12"
maximum-python-version: "3.12"
targets:
- ".+-unknown-linux-musl"
# test_capi is module excluded above in static builds. It fails to
# import / load tests on static builds, leading to a false positive of
# this test not being found. Exclude static builds here to prevent
# our test harness from getting confused.
no-build-option: "static"
reason: "crash"
- name: test.test_cext.*.test_build*
targets:
- "aarch64-unknown-linux-gnu"
minimum-python-version: "3.12"
reason: "The stdlib runner's Clang rejects -fstack-clash-protection on aarch64 with -Werror"
- name: test.test_cext.*.test_build*
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.12"
reason: "The Ubuntu stdlib runners do not provide the musl-clang compiler recorded in sysconfig; static builds also cannot load extensions"
- name: test.test_cmath.CMathTests.test_polar_errno
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "_testcapi missing"
- name: test.test_cmd_line.CmdLineTest.test_pythonmalloc
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_codecs.BasicUnicodeTest.test_basics_capi
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "_testcapi missing"
- name: test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_blocking
build-option: "freethreaded"
minimum-python-version: "3.15"
reason: "sometimes times out - possible test deadlock"
intermittent: true
- name: test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_map
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.14"
maximum-python-version: "3.14"
build-option: "freethreaded"
reason: "Importing concurrent.futures in a subinterpreter intermittently raises BlockingIOError (EAGAIN); passes on rerun"
intermittent: true
- name: test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_max_tasks_early_shutdown
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.13"
maximum-python-version: "3.13"
build-option: "freethreaded"
reason: "A KeyError in the process-pool manager during early shutdown leaves the test waiting on a future until timeout; passes on rerun"
intermittent: true
- name: test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_interpreter_shutdown
targets:
- "x86_64-apple-darwin"
minimum-python-version: "3.12"
build-option: "debug"
reason: "DeprecationWarning: This process (pid=81234) is multi-threaded, use of fork() may lead to deadlocks in the child.\n self.pid = os.fork()\n' is not false"
# Rosetta's extra thread can trigger fork warnings, depending on the host OS.
# https://github.com/python/cpython/issues/157870
- name: test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_hang_gh83386
targets:
- "x86_64-apple-darwin"
minimum-python-version: "3.14"
build-option: "debug"
reason: "fork() emits a DeprecationWarning under Rosetta, but the test expects empty stderr"
intermittent: true
- name: test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_interpreter_shutdown
targets:
- "x86_64-apple-darwin"
minimum-python-version: "3.12"
build-option: "debug"
reason: "DeprecationWarning: This process (pid=81234) is multi-threaded, use of fork() may lead to deadlocks in the child.\n self.pid = os.fork()\n' is not false"
- name: test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_hang_gh83386
targets:
- "x86_64-apple-darwin"
minimum-python-version: "3.14"
build-option: "debug"
reason: "fork() emits a DeprecationWarning under Rosetta, but the test expects empty stderr"
intermittent: true
- name: test.test_coroutines.CAPITest.test_tp_await_1
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_coroutines.CAPITest.test_tp_await_2
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_coroutines.CAPITest.test_tp_await_3
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_cppext.*.test_build*
targets:
- "aarch64-unknown-linux-gnu"
minimum-python-version: "3.11"
reason: "The stdlib runner's Clang rejects -fstack-clash-protection on aarch64 with -Werror"
- name: test.test_cppext.*.test_build*
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.11"
reason: "The Ubuntu stdlib runners lack a musl C++ toolchain and libstdc++.so.6; static builds cannot load extensions"
- name: test.test_cppext.TestCPPExt.test_build_cpp03
targets:
- ".+-apple-darwin"
minimum-python-version: "3.11"
maximum-python-version: "3.11"
reason: "setuptools rejects the locally built egg's macOS deployment-target tag as incompatible with the host OS"
- name: test.test_cppext.TestCPPExt.test_build_cpp11
targets:
- ".+-apple-darwin"
minimum-python-version: "3.11"
maximum-python-version: "3.11"
reason: "setuptools rejects the locally built egg's macOS deployment-target tag as incompatible with the host OS"
- name: test.test_ctypes.test_callbacks.Callbacks.test_i38748_stackCorruption
targets:
- "i686-pc-windows-msvc"
minimum-python-version: "3.12"
reason: "OSError: exception: access violation writing 0x00000005"
- name: test.test_ctypes.test_callbacks.StdcallCallbacks.test_i38748_stackCorruption
targets:
- "i686-pc-windows-msvc"
minimum-python-version: "3.12"
reason: "OSError: exception: access violation writing 0x00000005"
- name: test.datetimetester.ExtensionModuleTests_Fast.test_concurrent_initialization_subinterpreter
targets:
- ".+-unknown-linux-musl"
minimum-python-version: "3.15"
build-option: "freethreaded"
reason: "Concurrent subinterpreter initialization sometimes produces seven output bytes instead of eight; passes on rerun"
intermittent: true
- name: test.datetimetester.ZoneInfoTest_Fast.test_system_transitions
targets:
- "x86_64-apple-darwin"
maximum-python-version: "3.10"
reason: "AttributeError: module 'time' has no attribute 'tzset'"
intermittent: true
- name: test.datetimetester.IranTest_Pure.test_system_transitions
targets:
- "x86_64-apple-darwin"
maximum-python-version: "3.10"
reason: "AttributeError: module 'time' has no attribute 'tzset'"
intermittent: true
- name: test.datetimetester.ZoneInfoTest_Pure.test_system_transitions
targets:
- "x86_64-apple-darwin"
maximum-python-version: "3.10"
reason: "AttributeError: module 'time' has no attribute 'tzset'"
intermittent: true
- name: test.datetimetester.IranTest_Fast.test_system_transitions
targets:
- "x86_64-apple-darwin"
maximum-python-version: "3.10"
reason: "AttributeError: module 'time' has no attribute 'tzset'"
intermittent: true
- name: test.test_dict.CAPITest.test_getitem_knownhash
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: missing _testcapi
#- name: test.test_dict.CAPITest.test_splittable_setattr_after_pop
# targets:
# - ".+-unknown-linux-musl"
# build-option: "static"
# maximum-python-version: "3.10"
# reason: missing _testcapi
- name: test.test_dict.DictTest.test_splittable_setattr_after_pop
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: missing _testcapi
- name: test.test_docxmlrpc.DocXMLRPCHTTPGETServer.*
maximum-python-version: "3.10"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
intermittent: true
- name: test.test_exceptions.ExceptionTests.testSettingException
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_memory_error_in_subinterp
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.12"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_MemoryError
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_exception_with_doc
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_memory_error_cleanup
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_memory_error_in_PyErr_PrintEx
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_recursion_normalizing_infinite_exception
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_recursion_normalizing_with_no_memory
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_exceptions.ExceptionTests.test_recursion_normalizing_exception
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.13"
maximum-python-version: "3.13"
reason: "_testcapi missing"
- name: test.test_faulthandler.FaultHandlerTests.test_fatal_error
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_faulthandler.FaultHandlerTests.test_fatal_error_without_gil
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_fcntl.TestFcntl.test_fcntl_bad_file_overflow
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_fcntl.TestFcntl.test_flock_overflow
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_fileio.COtherFileTests.testInvalidFd_overflow
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_finalization.LegacyFinalizationTest.test_legacy
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_finalization.LegacyFinalizationTest.test_legacy_resurrect
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_finalization.LegacyFinalizationTest.test_legacy_self_cycle
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_finalization.SimpleFinalizationTest.test_non_gc
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_finalization.SimpleFinalizationTest.test_non_gc_resurrect
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_float.IEEEFormatTestCase.test_serialized_float_rounding
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.10"
reason: "_testcapi missing"
- name: test.test_format.FormatTest.test_precision_c_limits
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_frame.TestFrameCApi.test_basic
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.13"
reason: _testcapi missing
# This test has a weird pass/fail matrix. Test might be self-skipping or something.
# aarch64 passes w/o pgo and on freethreaded+pgo
- name: test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers
minimum-python-version: "3.15"
targets:
- aarch64-unknown-linux-gnu
build-option: "pgo"
no-build-option: "freethreaded"
reason: "AssertionError: 0 not greater than 0 : expected to find Python frames on aarch64 with env {'PYTHON_JIT': '1'}"
- name: test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers
minimum-python-version: "3.15"
targets:
- x86_64.*-unknown-linux-musl
build-option: "static"
reason: "AssertionError: 0 not greater than 0 : expected to find Python frames on aarch64 with env {'PYTHON_JIT': '1'}"
- name: test.test_functools.TestPartialC.test_recursive_pickle
targets:
- ".+-apple-darwin"
minimum-python-version: "3.12"
maximum-python-version: "3.13"
build-option: "pgo"
reason: crash
intermittent: true
- name: test.test_functools.TestPartialCSubclass.test_recursive_pickle
targets:
- ".+-apple-darwin"
minimum-python-version: "3.12"
maximum-python-version: "3.13"
build-option: "pgo"
reason: crash
intermittent: true
- name: test.test_functools.TestPartialPy.test_recursive_pickle
targets:
- ".+-apple-darwin"
minimum-python-version: "3.12"
maximum-python-version: "3.13"
build-option: "pgo"
reason: crash
intermittent: true
- name: test.test_functools.TestPartialPySubclass.test_recursive_pickle
targets:
- ".+-apple-darwin"
minimum-python-version: "3.12"
maximum-python-version: "3.13"
build-option: "pgo"
reason: crash
intermittent: true
- name: test.test_gc.GCCallbackTests.test_collect_garbage
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_gc.GCCallbackTests.test_refcount_errors
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "AssertionError: Regex didn't match: b'gcmodule\\.c:[0-9]+:"
intermittent: true
- name: test.test_gc.GCTests.test_legacy_finalizer
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_gc.GCTests.test_legacy_finalizer_newclass
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
- name: test.test_gc.GCTests.test_garbage_at_shutdown
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "AssertionError: 1 != 0"
- name: test.test_genericclass.CAPITest.test_c_class
targets:
- ".+-unknown-linux-musl"
build-option: "static"
maximum-python-version: "3.12"
reason: "_testcapi missing"
# Test appears to be racy on freethreaded builds.
#- name: test.test_hashlib.HashlibTestCase.test_threaded_hashing_fast
# minimum-python-version: "3.15"
# build-option: "freethreaded"
# reason: "appears to be racy on freethreaded builds"
# intermittent: true
- name: test.test_glob.SymlinkLoopGlobTests.test_selflink
targets:
- "aarch64-unknown-linux-musl"
minimum-python-version: "3.10"
maximum-python-version: "3.10"
reason: "Recursive glob intermittently omits a path through the symlink loop; passes on rerun"
intermittent: true
- name: test.test_httpservers.BaseHTTPServerTestCase.*
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
intermittent: true
- name: test.test_httpservers.CGIHTTPServerTestCase.*
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
intermittent: true
- name: test.test_httpservers.CGIHTTPServerTestCase.test_large_content_length_truncated
maximum-python-version: "3.14"
reason: "intermittent failure: http.client.RemoteDisconnected: Remote end closed connection without response"
intermittent: true
- name: test.test_httpservers.RequestHandlerLoggingTestCase.*
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
intermittent: true
- name: test.test_httpservers.HTTP09ServerTestCase.*
minimum-python-version: "3.13"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
intermittent: true
- name: test.test__interpchannels.ChannelTests.test_send_recv_different_interpreters_and_threads
minimum-python-version: "3.13"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
- name: test.test__interpreters.CreateTests.test_in_thread
minimum-python-version: "3.13"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
- name: test.test__interpreters.CreateTests.test_in_threaded_subinterpreter
minimum-python-version: "3.13"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
- name: test.test__interpreters.RunFuncTests.test_in_thread
minimum-python-version: "3.13"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
- name: test.test__interpreters.RunStringTests.test_in_thread
minimum-python-version: "3.13"
targets:
- ".+-unknown-linux-musl"
build-option: "debug"
reason: "segfault"
- name: test.test_imp.ImportTests.test_create_builtin_subinterp
maximum-python-version: "3.11"
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "_testcapi missing"
- name: test.test_imp.ImportTests.test_issue16421_multiple_modules_in_one_dll
maximum-python-version: "3.11"
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "_testcapi missing"
- name: test.test_imp.ImportTests.test_issue24748_load_module_skips_sys_modules_check
maximum-python-version: "3.11"
targets:
- ".+-unknown-linux-musl"
build-option: "static"
reason: "_testcapi missing"
- name: test.test_import.CircularImportTests.test_singlephase_circular
targets:
- ".+-unknown-linux-musl"
build-option: "static"
minimum-python-version: "3.13"