From: Scott Gasch Date: Thu, 7 Oct 2021 00:11:52 +0000 (-0700) Subject: Starting to move towards python3.9 X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=a5c4feeac240a446a38147130b51ad96a046f6e1;p=python_utils.git Starting to move towards python3.9 --- diff --git a/bootstrap.py b/bootstrap.py index 045411a..03bb505 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -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 = {} diff --git a/executors.py b/executors.py index b243edd..ddd62f1 100644 --- a/executors.py +++ b/executors.py @@ -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)