projects
/
python_utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
aad84a3
)
Starting to move towards python3.9
author
Scott Gasch
<
[email protected]
>
Thu, 7 Oct 2021 00:11:52 +0000
(17:11 -0700)
committer
Scott Gasch
<
[email protected]
>
Thu, 7 Oct 2021 00:11:52 +0000
(17:11 -0700)
bootstrap.py
patch
|
blob
|
history
executors.py
patch
|
blob
|
history
diff --git
a/bootstrap.py
b/bootstrap.py
index 045411ae257116db18b2bb56b61cfe95cd14f762..03bb505c6d3a1aed2a6177aba4fc3565d538fd17 100644
(file)
--- 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)
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 = {}
def __init__(self):
import collect.trie
self.module_by_filename_cache = {}
diff --git
a/executors.py
b/executors.py
index b243edd29b02cfa4b4689e515f3901e4bef2fd5c..ddd62f1b8a3998fa85a4fb456538eabd54e3d206 100644
(file)
--- a/
executors.py
+++ b/
executors.py
@@
-610,7
+610,7
@@
class RemoteExecutor(BaseExecutor):
# Do it.
cmd = (f'{SSH} {bundle.username}@{bundle.machine} '
# 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)
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)