Try minimum Kombu upgrade to correct import problem V00.02.07
authorymh <ymh.work@gmail.com>
Wed, 29 Jan 2020 16:53:09 +0100
changeset 140 98537b8e4ca0
parent 139 42de9bf20f40
child 141 26faef513d90
Try minimum Kombu upgrade to correct import problem
sbin/sync/fabfile.py
virtualenv/requirements.txt
--- a/sbin/sync/fabfile.py	Wed Jan 29 15:00:14 2020 +0100
+++ b/sbin/sync/fabfile.py	Wed Jan 29 16:53:09 2020 +0100
@@ -32,10 +32,10 @@
     with lcd(get_version_path()):
         tmpd = run('mktemp -d').strip()
         put('virtualenv/*.txt', tmpd)
-        run('virtualenv -p /usr/bin/python3 %s' % env.srv_venv_path)
+        run('/usr/bin/python3 -m venv %s' % env.srv_venv_path)
         with prefix('source %s/bin/activate' % env.srv_venv_path):
-            run('pip install -r %s/requirements.txt' % tmpd)
-            run('pip install -r %s/requirements_srvr.txt' % tmpd)
+            run('pip3 install -r %s/requirements.txt' % tmpd)
+            run('pip3 install -r %s/requirements_srvr.txt' % tmpd)
         run('rm -fr %s' % tmpd)
 
 
--- a/virtualenv/requirements.txt	Wed Jan 29 15:00:14 2020 +0100
+++ b/virtualenv/requirements.txt	Wed Jan 29 16:53:09 2020 +0100
@@ -13,7 +13,7 @@
 isodate==0.5.1
 itsdangerous==0.24
 Jinja2==2.7.3
-kombu==3.0.24
+kombu==3.0.30
 logilab-common==0.63.2
 MarkupSafe==0.23
 pep8==1.5.7