Starting to move towards python3.9
authorScott Gasch <[email protected]>
Thu, 7 Oct 2021 00:11:52 +0000 (17:11 -0700)
committerScott Gasch <[email protected]>
Thu, 7 Oct 2021 00:11:52 +0000 (17:11 -0700)
bootstrap.py
executors.py

index 045411ae257116db18b2bb56b61cfe95cd14f762..03bb505c6d3a1aed2a6177aba4fc3565d538fd17 100644 (file)
@@ -87,7 +87,7 @@ def handle_uncaught_exception(exc_type, exc_value, exc_tb):
                 original_hook(exc_type, exc_value, exc_tb)
 
 
-class ImportInterceptor(importlib.abc.MetaPathFinder):
+class ImportInterceptor(object):
     def __init__(self):
         import collect.trie
         self.module_by_filename_cache = {}
index b243edd29b02cfa4b4689e515f3901e4bef2fd5c..ddd62f1b8a3998fa85a4fb456538eabd54e3d206 100644 (file)
@@ -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)