Upgrade to python 3.9.
authorScott Gasch <[email protected]>
Wed, 10 Aug 2022 17:11:27 +0000 (10:11 -0700)
committerScott Gasch <[email protected]>
Wed, 10 Aug 2022 17:11:27 +0000 (10:11 -0700)
executors.py
requirements.txt
tests/run_some_dependencies_test.py
tests/run_tests.py

index 426937142437db6e46af93ec8ef6a17376ee8991..6485afa054689c3b668adb1e0708b7f2d29ed8b9 100644 (file)
@@ -993,7 +993,7 @@ class RemoteExecutor(BaseExecutor):
         self.status.record_processing_began(uuid)
         cmd = (
             f'{SSH} {bundle.username}@{bundle.machine} '
-            f'"source py38-venv/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}"'
         )
index fe2a4bad4b4db277d83d0cc2bf905d28c5827882..cafc33abbe2dc42686f5f3118a2e646dadcf2d32 100644 (file)
@@ -24,3 +24,7 @@ readchar
 requests
 tinytuya
 wheel
+sqlalchemy
+pymysql
+kazoo
+
index a7ee9b459b0240dfa2b0cda2c7074e6c20adf97f..addb0156213e0c3c9f4976022db09d47554e8f82 100755 (executable)
@@ -32,7 +32,7 @@ class RunSomeDependenciesTest(unittest.TestCase):
         ]
         for command in commands:
             try:
-                ret = exec_utils.cmd_exitcode(command, 15.0)
+                ret = exec_utils.cmd_exitcode(command, 25.0)
                 self.assertEqual(0, ret)
             except Exception as e:
                 logger.exception(e)
index 6d6c0b8b97ed0181589f9f71154a8c0a00a0877b..bc1c09ba6fc636393ba49ab95d92398836b251bf 100755 (executable)
@@ -27,7 +27,7 @@ import text_utils
 import thread_utils
 
 logger = logging.getLogger(__name__)
-args = config.add_commandline_args(f'({__file__})', 'Args related to __file__')
+args = config.add_commandline_args(f'({__file__})', f'Args related to {__file__}')
 args.add_argument('--unittests', '-u', action='store_true', help='Run unittests.')
 args.add_argument('--doctests', '-d', action='store_true', help='Run doctests.')
 args.add_argument('--integration', '-i', action='store_true', help='Run integration tests.')