@@ -231,6 +231,7 @@ def main(generate_input, generate_output):
231231 if data .get ("runMode" ) in ["spec-pull-request" ]:
232232 apiview_start_time = time .time ()
233233 try :
234+ _LOGGER .info ("install dependencies for apiview generation" )
234235 package_path = Path (sdk_folder , folder_name , package_name )
235236 check_call (
236237 [
@@ -245,16 +246,21 @@ def main(generate_input, generate_output):
245246 ],
246247 cwd = package_path ,
247248 timeout = 600 ,
248- # known issue that higher python version meet install warning with lower pylint.
249- # we skip the output here to reduce confusion and will remove it after apiview tool upgrade to higher pylint version.
250- stdout = subprocess .DEVNULL ,
251- stderr = subprocess .DEVNULL ,
252249 )
253250 cmds = ["apistubgen" , "--pkg-path" , "." ]
254251 cross_language_mapping_path = Path (package_path , "apiview-properties.json" )
255252 if cross_language_mapping_path .exists ():
256253 cmds .extend (["--mapping-path" , str (cross_language_mapping_path )])
257- check_call (cmds , cwd = package_path , timeout = 600 )
254+
255+ _LOGGER .info (f"generate apiview file for package { package_name } " )
256+ check_call (
257+ cmds ,
258+ cwd = package_path ,
259+ timeout = 600 ,
260+ # known issue that higher python version meet install warning with lower pylint.
261+ # we skip the output here to reduce confusion and will remove it after apiview tool upgrade to higher pylint version.
262+ stderr = subprocess .DEVNULL ,
263+ )
258264 for file in os .listdir (package_path ):
259265 if "_python.json" in file and package_name in file :
260266 result [package_name ]["apiViewArtifact" ] = str (Path (package_path , file ))
0 commit comments