Skip to content

Commit b440c3b

Browse files
committed
deps group
1 parent 9321f78 commit b440c3b

1 file changed

Lines changed: 63 additions & 1 deletion

File tree

scripts/update_lib/deps.py

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,52 @@ def clear_import_graph_caches() -> None:
6565
},
6666
# Rust-implemented modules (no lib file, only test)
6767
"int": {
68-
"lib": [], # No Python lib (Rust implementation)
68+
"lib": [],
6969
"hard_deps": ["_pylong.py"],
7070
},
71+
"exception": {
72+
"lib": [],
73+
"test": [
74+
"test/test_exceptions.py",
75+
"test/test_exception_group.py",
76+
"test/test_exception_hierarchy.py",
77+
"test/test_exception_variations.py",
78+
"test/test_except_star.py",
79+
],
80+
},
81+
"dict": {
82+
"lib": [],
83+
"test": [
84+
"test/test_dict.py",
85+
"test/test_dictcomps.py",
86+
"test/test_dictviews.py",
87+
"test/test_userdict.py",
88+
],
89+
},
90+
"list": {
91+
"lib": [],
92+
"test": [
93+
"test/test_list.py",
94+
"test/test_userlist.py",
95+
],
96+
},
97+
"codecs": {
98+
"test": [
99+
"test/test_codecs.py",
100+
"test/test_codeccallbacks.py",
101+
"test/test_codecencodings_cn.py",
102+
"test/test_codecencodings_hk.py",
103+
"test/test_codecencodings_iso2022.py",
104+
"test/test_codecencodings_jp.py",
105+
"test/test_codecencodings_kr.py",
106+
"test/test_codecencodings_tw.py",
107+
"test/test_codecmaps_cn.py",
108+
"test/test_codecmaps_hk.py",
109+
"test/test_codecmaps_jp.py",
110+
"test/test_codecmaps_kr.py",
111+
"test/test_codecmaps_tw.py",
112+
],
113+
},
71114
# Non-pattern hard_deps (can't be auto-detected)
72115
"ast": {
73116
"hard_deps": ["_ast_unparse.py"],
@@ -84,6 +127,25 @@ def clear_import_graph_caches() -> None:
84127
"lib": ["test/support"],
85128
"data": ["test/wheeldata"],
86129
},
130+
# test_htmlparser tests html.parser
131+
"html": {
132+
"test": ["test/test_html.py", "test/test_htmlparser.py"],
133+
},
134+
"xml": {
135+
"test": [
136+
"test/test_xml_etree.py",
137+
"test/test_xml_etree_c.py",
138+
"test/test_pulldom.py",
139+
"test/test_pyexpat.py",
140+
],
141+
},
142+
"multiprocessing": {
143+
"test": [
144+
"test/test_multiprocessing_fork",
145+
"test/test_multiprocessing_forkserver",
146+
"test/test_multiprocessing_spawn",
147+
],
148+
},
87149
}
88150

89151

0 commit comments

Comments
 (0)