From a5c4feeac240a446a38147130b51ad96a046f6e1 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 6 Oct 2021 17:11:52 -0700 Subject: [PATCH] Starting to move towards python3.9 --- bootstrap.py | 2 +- executors.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2