Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps group
  • Loading branch information
youknowone committed Jan 24, 2026
commit b440c3b467b48cb7664be588964566f9497f436f
64 changes: 63 additions & 1 deletion scripts/update_lib/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,52 @@ def clear_import_graph_caches() -> None:
},
# Rust-implemented modules (no lib file, only test)
"int": {
"lib": [], # No Python lib (Rust implementation)
"lib": [],
"hard_deps": ["_pylong.py"],
},
"exception": {
"lib": [],
"test": [
"test/test_exceptions.py",
"test/test_exception_group.py",
"test/test_exception_hierarchy.py",
"test/test_exception_variations.py",
"test/test_except_star.py",
],
},
"dict": {
"lib": [],
"test": [
"test/test_dict.py",
"test/test_dictcomps.py",
"test/test_dictviews.py",
"test/test_userdict.py",
],
},
"list": {
"lib": [],
"test": [
"test/test_list.py",
"test/test_userlist.py",
],
},
"codecs": {
"test": [
"test/test_codecs.py",
"test/test_codeccallbacks.py",
"test/test_codecencodings_cn.py",
"test/test_codecencodings_hk.py",
"test/test_codecencodings_iso2022.py",
"test/test_codecencodings_jp.py",
"test/test_codecencodings_kr.py",
"test/test_codecencodings_tw.py",
"test/test_codecmaps_cn.py",
"test/test_codecmaps_hk.py",
"test/test_codecmaps_jp.py",
"test/test_codecmaps_kr.py",
"test/test_codecmaps_tw.py",
],
},
# Non-pattern hard_deps (can't be auto-detected)
"ast": {
"hard_deps": ["_ast_unparse.py"],
Expand All @@ -84,6 +127,25 @@ def clear_import_graph_caches() -> None:
"lib": ["test/support"],
"data": ["test/wheeldata"],
},
# test_htmlparser tests html.parser
"html": {
"test": ["test/test_html.py", "test/test_htmlparser.py"],
},
"xml": {
"test": [
"test/test_xml_etree.py",
"test/test_xml_etree_c.py",
"test/test_pulldom.py",
"test/test_pyexpat.py",
],
},
"multiprocessing": {
"test": [
"test/test_multiprocessing_fork",
"test/test_multiprocessing_forkserver",
"test/test_multiprocessing_spawn",
],
},
}


Expand Down