[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Workaround: uninstall/install a Twisted version >=12.2.0, <=14.0.0



commit 8d136def559fd25fdc22749474eddba169a8bef8
Author: anadahz <kojgelo@xxxxxxxxx>
Date:   Wed Sep 9 14:46:06 2015 +0200

    Workaround: uninstall/install a Twisted version >=12.2.0,<=14.0.0
    
    By default pip grabs the latest Twisted version (15.x) which is not currently
    supported by ooniprobe. https://trac.torproject.org/projects/tor/ticket/15944
---
 scripts/install.sh |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/install.sh b/scripts/install.sh
index 01318ce..7897471 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -324,6 +324,11 @@ case "$lsb_dist" in
         set -x
         $sh_c 'apt-get install -y -q curl git-core python python-dev python-setuptools build-essential libdumbnet1 python-dumbnet python-libpcap tor tor-geoipdb libgeoip-dev libpcap0.8-dev libssl-dev libffi-dev libdumbnet-dev'
         $sh_c "PYTHONPATH=$PYTHONPATH pip install --install-option=\"--prefix=$PYTHON_PREFIX\" ooniprobe"
+        # Unistall Twisted and install a version >=12.2.0,<=14.0.0
+        # https://trac.torproject.org/projects/tor/ticket/15944
+        $sh_c "PYTHONPATH=$PYTHONPATH pip uninstall Twisted"
+        $sh_c "PYTHONPATH=$PYTHONPATH pip install
+        --install-option=\"--prefix=$PYTHON_PREFIX\" 'Twisted>=12.2.0,<=14.0.0'"
       )
     fi
     



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits