@@ -490,7 +490,7 @@ def mypyc_build(
490490 * ,
491491 separate : bool | list [tuple [list [str ], str | None ]] = False ,
492492 only_compile_paths : Iterable [str ] | None = None ,
493- skip_cgen_input : Any | None = None ,
493+ skip_cgen_input : tuple [ list [ list [ tuple [ str , str ]]], list [ str ]] | None = None ,
494494 always_use_shared_lib : bool = False ,
495495) -> tuple [emitmodule .Groups , list [tuple [list [str ], list [str ]]], list [SourceDep ]]:
496496 """Do the front and middle end of mypyc building, producing and writing out C source."""
@@ -523,7 +523,8 @@ def mypyc_build(
523523 # TODO: unique names?
524524 write_file (os .path .join (compiler_options .target_dir , "ops.txt" ), ops_text )
525525 else :
526- group_cfiles = skip_cgen_input
526+ group_cfiles = skip_cgen_input [0 ]
527+ source_deps = [SourceDep (d ) for d in skip_cgen_input [1 ]]
527528
528529 # Write out the generated C and collect the files for each group
529530 # Should this be here??
@@ -553,7 +554,7 @@ def mypycify(
553554 strip_asserts : bool = False ,
554555 multi_file : bool = False ,
555556 separate : bool | list [tuple [list [str ], str | None ]] = False ,
556- skip_cgen_input : Any | None = None ,
557+ skip_cgen_input : tuple [ list [ list [ tuple [ str , str ]]], list [ str ]] | None = None ,
557558 target_dir : str | None = None ,
558559 include_runtime_files : bool | None = None ,
559560 strict_dunder_typing : bool = False ,
0 commit comments