8000 Make warning check only run on non-free-threading jobs · python/cpython@69f37ea · GitHub
[go: up one dir, main page]

Skip to content

Commit 69f37ea

Browse files
committed
Make warning check only run on non-free-threading jobs
1 parent ef9ac02 commit 69f37ea

File tree

2 files changed

+237
-0
lines changed

2 files changed

+237 10000
-0
lines changed

.github/workflows/reusable-ubuntu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
working-directory: ${{ env.CPYTHON_BUILDDIR }}
8181
run: make pythoninfo
8282
- name: Check compiler warnings
83+
if: ${{ !fromJSON(inputs.free-threading) }}
8384
run: >-
8485
python Tools/build/check_warnings.py
8586
--compiler-output-file-path=${{ env.CPYTHON_BUILDDIR }}/compiler_output.txt

Tools/build/.warningignore_ubuntu

Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,239 @@
33
# Keep lines sorted lexicographically to help avoid merge conflicts.
44
# Format example:
55
# /path/to/file (number of warnings in file)
6+
Include/internal/pycore_gc.h 1
7+
Include/internal/pycore_backoff.h 3
8+
Include/internal/pycore_list.h 1
9+
Include/internal/mimalloc/mimalloc/internal.h 4
10+
Parser/pegen.c 8
11+
Parser/string_parser.c 7
12+
Parser/action_helpers.c 3
13+
Parser/lexer/buffer.c 1
14+
Parser/lexer/lexer.c 14
15+
Parser/tokenizer/file_tokenizer.c 9
16+
Parser/tokenizer/readline_tokenizer.c 4
17+
Parser/tokenizer/helpers.c 8
18+
Include/internal/pycore_long.h 3
19+
Include/internal/pycore_object.h 3
20+
Objects/bytes_methods.c 9
21+
Objects/stringlib/fastsearch.h 8
22+
Objects/abstract.c 6
23+
Include/internal/pycore_dict.h 2
24+
Objects/call.c 13
25+
Objects/bytearrayobject.c 46
26+
Objects/stringlib/join.h 4
27+
Objects/stringlib/transmogrify.h 27
28+
Objects/bytesobject.c 50
29+
Objects/classobject.c 4
30+
Objects/codeobject.c 25
31+
Objects/descrobject.c 2
32+
Objects/fileobject.c 3
33+
Objects/genobject.c 3
34+
Objects/floatobject.c 18
35+
Objects/frameobject.c 18
36+
Objects/funcobject.c 2
37+
Parser/parser.c 116
38+
Objects/odictobject.c 7
39+
Objects/listobject.c 42
40+
Objects/methodobject.c 1
41+
Objects/longobject.c 58
42+
Objects/memoryobject.c 12
43+
Objects/stringlib/eq.h 1
44+
Objects/dictobject.c 35
45+
Objects/moduleobject.c 4
46+
Objects/object.c 1
47+
Objects/rangeobject.c 10
48+
Objects/sliceobject.c 4
49+
Objects/setobject.c 13
50+
Objects/structseq.c 13
51+
Objects/tupleobject.c 8
52+
Objects/unicodectype.c 7
53+
Objects/mimalloc/alloc.c 6
54+
Objects/mimalloc/arena.c 6
55+
Objects/mimalloc/heap.c 2
56+
Objects/mimalloc/init.c 2
57+
Objects/mimalloc/options.c 6
58+
Objects/mimalloc/os.c 4
59+
Objects/mimalloc/page-queue.c 2
60+
Objects/mimalloc/page.c 2
61+
Objects/mimalloc/random.c 1
62+
Objects/mimalloc/segment.c 11
63+
Objects/mimalloc/stats.c 5
64+
Objects/mimalloc/prim/unix/prim.c 6
65+
Objects/obmalloc.c 7
66+
Objects/typeobject.c 42
67+
Python/asdl.c 3
68+
Python/assemble.c 11
69+
Python/ast_opt.c 5
70+
Python/bltinmodule.c 8
71+
Python/codecs.c 28
72+
Objects/unicodeobject.c 155
73+
Objects/stringlib/replace.h 5
74+
Objects/stringlib/repr.h 21
75+
Objects/stringlib/codecs.h 12
76+
Python/compile.c 8
77+
Python/context.c 1
78+
Python/Python-ast.c 14
79+
Python/crossinterp_data_lookup.h 1
80+
Python/crossinterp.c 2
81+
Python/ceval.c 8
82+
Python/generated_cases.c.h 23
83+
Python/errors.c 1
84+
Python/flowgraph.c 8
85+
Python/frame.c 3
86+
Python/gc.c 8
87+
Python/getversion.c 1
88+
Python/getargs.c 13
89+
Python/hashtable.c 1
90+
Python/ceval_gil.c 2
91+
Python/initconfig.c 3
92+
Python/import.c 6
93+
Python/intrinsics.c 1
94+
Python/instrumentation.c 42
95+
Python/lock.c 4
96+
Python/legacy_tracing.c 3
97+
Python/modsupport.c 3
98+
Python/mystrtoul.c 4
99+
Python/marshal.c 17
100+
Python/pathconfig.c 1
101+
Python/pyarena.c 1
102+
Python/preconfig.c 2
103+
Python/pyhash.c 4
104+
Python/pytime.c 2
105+
Python/qsbr.c 2
106+
Python/pystate.c 6
107+
Python/bootstrap_hash.c 7
108+
Python/specialize.c 7
109+
Python/pylifecycle.c 7
110+
Python/thread_pthread.h 6
111+
Python/thread.c 1
112+
Python/symtable.c 18
113+
Python/traceback.c 6
114+
Python/sysmodule.c 3
115+
Python/tracemalloc.c 6
116+
Python/pystrtod.c 14
117+
Python/pystrhex.c 18
118+
Python/suggestions.c 12
119+
Python/dtoa.c 32
120+
Python/formatter_unicode.c 6
121+
Python/fileutils.c 11
122+
Python/perf_trampoline.c 12
123+
Python/perf_jit_trampoline.c 32
124+
Modules/atexitmodule.c 1
125+
Modules/main.c 2
126+
Modules/faulthandler.c 5
127+
Modules/signalmodule.c 3
128+
Modules/_collectionsmodule.c 2
129+
Modules/_io/_iomodule.c 1
130+
Modules/_io/iobase.c 1
131+
Modules/_io/fileio.c 9
132+
Modules/_io/bytesio.c 15
133+
Modules/_io/stringio.c 8
134+
Modules/_io/bufferedio.c 16
135+
Modules/posixmodule.c 89
136+
Modules/_io/textio.c 17
137+
Modules/timemodule.c 10
138+
Modules/itertoolsmodule.c 9
139+
Modules/_sre/sre.c 16
140+
Modules/_sre/sre_lib.h 62
141+
Modules/_localemodule.c 3
142+
Modules/_functoolsmodule.c 6
143+
Modules/pwdmodule.c 4
144+
Programs/_freeze_module.c 1
145+
Modules/_operator.c 5
146+
Modules/_bisectmodule.c 4
147+
Modules/clinic/arraymodule.c.h 1
148+
Modules/arraymodule.c 50
149+
Modules/_csv.c 3
150+
Modules/rotatingtree.c 2
151+
Modules/_asynciomodule.c 3
152+
Modules/_lsprof.c 5
153+
Modules/_json.c 19
154+
Modules/_queuemodule.c 4
155+
Modules/_randommodule.c 3
156+
Modules/_struct.c 4
157+
Modules/_interpchannelsmodule.c 1
158+
Modules/_interpqueuesmodule.c 1
159+
Modules/_pickle.c 75
160+
Modules/_zoneinfo.c 17
161+
Modules/mathmodule.c 15
162+
Modules/cmathmodule.c 1
163+
Modules/binascii.c 208
164+
Include/internal/pycore_blocks_output_buffer.h 2
165+
Modules/_bz2module.c 5
166+
Modules/_datetimemodule.c 34
167+
Modules/_lzmamodule.c 6
168+
Modules/zlibmodule.c 26
169+
Modules/_dbmmodule.c 8
170+
Modules/_decimal/_decimal.c 19
171+
Modules/_gdbmmodule.c 5
172+
Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h 4
173+
Modules/readline.c 1
174+
Modules/sha3module.c 4
175+
Modules/_blake2/blake2b_impl.c 12
176+
Modules/_blake2/blake2s_impl.c 12
177+
Modules/cjkcodecs/_codecs_cn.c 11
178+
Modules/expat/siphash.h 1
179+
Modules/expat/xmlparse.c 46
180+
Modules/cjkcodecs/_codecs_hk.c 2
181+
Modules/cjkcodecs/_codecs_iso2022.c 10
182+
Modules/expat/xmltok.c 13
183+
Modules/expat/xmltok_impl.c 8
184+
Modules/cjkcodecs/_codecs_kr.c 15
185+
Modules/cjkcodecs/_codecs_tw.c 4
186+
Modules/cjkcodecs/_codecs_jp.c 32
187+
Modules/fcntlmodule.c 6
188+
Modules/cjkcodecs/multibytecodec.c 13
189+
Modules/grpmodule.c 4
190+
Modules/resource.c 5
191+
Modules/mmapmodule.c 20
192+
Modules/_posixsubprocess.c 12
193+
Modules/selectmodule.c 4
194+
Modules/unicodedata_db.h 1
195+
Modules/unicodedata.c 28
196+
Modules/clinic/unicodedata.c.h 10
197+
Modules/syslogmodule.c 3
198+
Modules/_multiprocessing/posixshmem.c 1
199+
Modules/termios.c 1
200+
Modules/_multiprocessing/semaphore.c 1
201+
Modules/socketmodule.c 81
202+
Modules/_ctypes/callbacks.c 4
203+
Modules/_ctypes/callproc.c 13
204+
Modules/_ctypes/stgdict.c 19
205+
Modules/_ctypes/cfield.c 61
206+
Modules/_ctypes/_ctypes.c 55
207+
Modules/_sqlite/cursor.c 3
208+
Modules/_sqlite/module.c 2
209+
Modules/_sqlite/connection.c 5
210+
Modules/_cursesmodule.c 28
211+
Modules/_hashopenssl.c 16
212+
Modules/_xxtestfuzz/_xxtestfuzz.c 1
213+
Modules/_xxtestfuzz/fuzzer.c 13
214+
Modules/_tkinter.c 10
215+
Modules/_ssl.c 31
216+
Modules/_testinternalcapi/test_lock.c 4
217+
Modules/_testbuffer.c 28
218+
Modules/_testinternalcapi.c 10
219+
Modules/_testinternalcapi/test_critical_sections.c 1
220+
Modules/_testcapi/vectorcall.c 3
221+
Modules/_testcapi/heaptype.c 1
222+
Modules/_testcapi/unicode.c 2
223+
Modules/_testcapimodule.c 3
224+
Modules/_testcapi/mem.c 2
225+
Modules/_testcapi/long.c 2
226+
Modules/_testcapi/watchers.c 3
227+
Modules/_testcapi/pyatomic.c 1
228+
Modules/_testcapi/bytes.c 1
229+
Modules/_testcapi/monitoring.c 3
230+
Modules/_testlimitedcapi/heaptype_relative.c 3
231+
Modules/_testlimitedcapi/object.c 2
232+
Modules/_testmultiphase.c 1
233+
Modules/_testexternalinspection.c 6
234+
Modules/_testlimitedcapi/unicode.c 2
235+
Modules/clinic/_testclinic.c.h 1
236+
Modules/_testclinic.c 1
237+
Modules/_ctypes/_ctypes_test_generated.c.h 363
238+
Modules/_ctypes/_ctypes_test.c 7
239+
Modules/getpath.c 7
240+
Modules/pyexpat.c 14
241+
Modules/_elementtree.c 43

0 commit comments

Comments
 (0)
0