@@ -92,7 +92,7 @@ fn verify_validity_of_discovered_envs() {
9292 ) ;
9393
9494 let environments = reporter. environments . lock ( ) . unwrap ( ) . clone ( ) ;
95- let mut threads = vec ! [ ] ;
95+ // let mut threads = vec![];
9696 for environment in environments {
9797 if environment. executable . is_none ( ) {
9898 continue ;
@@ -101,32 +101,32 @@ fn verify_validity_of_discovered_envs() {
101101 // For each enviornment verify the accuracy of sys.prefix and sys.version
102102 // by spawning the Python executable
103103 let e = environment. clone ( ) ;
104- threads. push ( thread:: spawn ( move || {
105- verify_validity_of_interpreter_info ( e) ;
106- } ) ) ;
104+ // threads.push(thread::spawn(move || {
105+ verify_validity_of_interpreter_info ( e) ;
106+ // }));
107107 let e = environment. clone ( ) ;
108- threads. push ( thread:: spawn ( move || {
109- for exe in & e. clone ( ) . symlinks . unwrap_or_default ( ) {
110- // Verification 2:
111- // For each enviornment, given the executable verify we can get the exact same information
112- // Using the `locator.try_from` method (without having to find all environments).
113- // I.e. we should be able to get the same information using only the executable.
114- //
115- // Verification 3:
116- // Similarly for each environment use one of the known symlinks and verify we can get the same information.
117- verify_we_can_get_same_env_info_using_from_with_exe ( exe, environment. clone ( ) ) ;
118- // Verification 4 & 5:
119- // Similarly for each environment use resolve method and verify we get the exact same information.
120- verify_we_can_get_same_env_info_using_resolve_with_exe ( exe, environment. clone ( ) ) ;
121- // Verification 6:
122- // Given the exe, verify we can use the `find` method in JSON RPC to get the details, without spawning Python.
123- verify_we_can_get_same_env_info_using_find_with_exe ( exe, environment. clone ( ) ) ;
124- }
125- } ) ) ;
126- }
127- for thread in threads {
128- thread. join ( ) . unwrap ( ) ;
108+ // threads.push(thread::spawn(move || {
109+ for exe in & e. clone ( ) . symlinks . unwrap_or_default ( ) {
110+ // Verification 2:
111+ // For each enviornment, given the executable verify we can get the exact same information
112+ // Using the `locator.try_from` method (without having to find all environments).
113+ // I.e. we should be able to get the same information using only the executable.
114+ //
115+ // Verification 3:
116+ // Similarly for each environment use one of the known symlinks and verify we can get the same information.
117+ verify_we_can_get_same_env_info_using_from_with_exe ( exe, environment. clone ( ) ) ;
118+ // Verification 4 & 5:
119+ // Similarly for each environment use resolve method and verify we get the exact same information.
120+ verify_we_can_get_same_env_info_using_resolve_with_exe ( exe, environment. clone ( ) ) ;
121+ // Verification 6:
122+ // Given the exe, verify we can use the `find` method in JSON RPC to get the details, without spawning Python.
123+ verify_we_can_get_same_env_info_using_find_with_exe ( exe, environment. clone ( ) ) ;
124+ }
125+ // }));
129126 }
127+ // for thread in threads {
128+ // thread.join().unwrap();
129+ // }
130130}
131131
132132#[ cfg( unix) ]
0 commit comments