Skip to content
Merged
Changes from all commits
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
107 changes: 102 additions & 5 deletions scripts/update_lib/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def clear_import_graph_caches() -> None:
"test": [
"test_int.py",
"test_long.py",
"test_int_literal.py",
],
},
"exception": {
Expand Down Expand Up @@ -276,12 +277,21 @@ def clear_import_graph_caches() -> None:
},
"pickle": {
"hard_deps": ["_compat_pickle.py"],
"test": [
"test_pickle.py",
"test_picklebuffer.py",
"test_pickletools.py",
],
},
"re": {
"hard_deps": ["sre_compile.py", "sre_constants.py", "sre_parse.py"],
},
"weakref": {
"hard_deps": ["_weakrefset.py"],
"test": [
"test_weakref.py",
"test_weakset.py",
],
},
"codecs": {
"test": [
Expand All @@ -308,6 +318,7 @@ def clear_import_graph_caches() -> None:
"test": [
"test_ast.py",
"test_unparse.py",
"test_type_comments.py",
],
},
# Data directories
Expand All @@ -317,6 +328,22 @@ def clear_import_graph_caches() -> None:
"turtle": {
"hard_deps": ["turtledemo"],
},
"sysconfig": {
"hard_deps": ["_aix_support.py", "_osx_support.py"],
"test": [
"test_sysconfig.py",
"test__osx_support.py",
],
},
"tkinter": {
"test": [
"test_tkinter",
"test_ttk",
"test_ttk_textonly.py",
"test_tcl.py",
"test_idle",
],
},
# Test support library (like regrtest)
"support": {
"lib": ["test/support"],
Expand All @@ -339,13 +366,16 @@ def clear_import_graph_caches() -> None:
"test_pulldom.py",
"test_pyexpat.py",
"test_sax.py",
"test_xml_dom_minicompat.py",
"test_xml_dom_xmlbuilder.py",
],
},
"multiprocessing": {
"test": [
"test_multiprocessing_fork",
"test_multiprocessing_forkserver",
"test_multiprocessing_spawn",
"test_multiprocessing_main_handling.py",
],
},
"urllib": {
Expand All @@ -361,6 +391,7 @@ def clear_import_graph_caches() -> None:
],
},
"collections": {
"hard_deps": ["_collections_abc.py"],
"test": [
"test_collections.py",
"test_deque.py",
Expand Down Expand Up @@ -489,8 +520,10 @@ def clear_import_graph_caches() -> None:
"dbm": {
"test": [
"test_dbm.py",
"test_dbm_dumb.py",
"test_dbm_gnu.py",
"test_dbm_ndbm.py",
"test_dbm_sqlite3.py",
],
},
"datetime": {
Expand All @@ -500,11 +533,6 @@ def clear_import_graph_caches() -> None:
"test_strptime.py",
],
},
"concurrent": {
"test": [
"test_concurrent_futures",
],
},
"locale": {
"test": [
"test_locale.py",
Expand Down Expand Up @@ -550,6 +578,75 @@ def clear_import_graph_caches() -> None:
"test_stable_abi_ctypes.py",
],
},
# Grouped tests for modules without custom lib paths
"compile": {
"lib": [],
"test": [
"test_compile.py",
"test_compiler_assemble.py",
"test_compiler_codegen.py",
"test_peepholer.py",
],
},
"math": {
"lib": [],
"test": [
"test_math.py",
"test_math_property.py",
],
},
"float": {
"lib": [],
"test": [
"test_float.py",
"test_strtod.py",
],
},
"zipfile": {
"test": [
"test_zipfile.py",
"test_zipfile64.py",
],
},
"smtplib": {
"test": [
"test_smtplib.py",
"test_smtpnet.py",
],
},
"profile": {
"test": [
"test_profile.py",
"test_cprofile.py",
],
},
"string": {
"test": [
"test_string.py",
"test_userstring.py",
],
},
"os": {
"test": [
"test_os.py",
"test_popen.py",
],
},
"pyrepl": {
"test": [
"test_pyrepl",
"test_repl.py",
],
},
"concurrent": {
"test": [
"test_concurrent_futures",
"test_interpreters",
"test__interpreters.py",
"test__interpchannels.py",
"test_crossinterp.py",
],
},
}


Expand Down
Loading