Starting to move towards python3.9
[python_utils.git] / executors.py
index e074c306f08fe676e8a64aa695cdbb92fc75c29e..ddd62f1b8a3998fa85a4fb456538eabd54e3d206 100644 (file)
@@ -64,7 +64,7 @@ SSH = 'ssh -oForwardX11=no'
 
 
 def make_cloud_pickle(fun, *args, **kwargs):
-    logger.info(f"Making cloudpickled bundle at {fun.__name__}")
+    logger.debug(f"Making cloudpickled bundle at {fun.__name__}")
     return cloudpickle.dumps((fun, args, kwargs))
 
 
@@ -610,7 +610,7 @@ class RemoteExecutor(BaseExecutor):
 
         # Do it.
         cmd = (f'{SSH} {bundle.username}@{bundle.machine} '
-               f'"source remote-execution/bin/activate &&'
+               f'"source py39-venv/bin/activate &&'
                f' /home/scott/lib/python_modules/remote_worker.py'
                f' --code_file {bundle.code_file} --result_file {bundle.result_file}"')
         p = cmd_in_background(cmd, silent=True)