From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Wed, 30 Jul 2008 02:10:41 +0000 (-0700)
Subject: setup: require secure_connections from foolscap
X-Git-Url: https://git.rkrishnan.org/specifications/something?a=commitdiff_plain;h=01e5ca68e264027412c80623eecd9ff8392633e4;p=tahoe-lafs%2Ftahoe-lafs.git

setup: require secure_connections from foolscap
This causes a problem on debian sid, since the pyOpenSSL v0.6 .deb doesn't come
with .egg-info, so setuptools will not know that it is already installed and
will try to install pyOpenSSL, and if it installs pyOpenSSL v0.7, then this
will trigger the bug in Twisted v8.1.0 when used with pyOpenSSL v0.7.

http://twistedmatrix.com/trac/ticket/3218

Now the comments in twisted #3218 suggest that it happens only with the select
reactor, so maybe using --reactor=poll will avoid it.
---

diff --git a/_auto_deps.py b/_auto_deps.py
index 6c5b585a..7be97638 100644
--- a/_auto_deps.py
+++ b/_auto_deps.py
@@ -1,5 +1,5 @@
 install_requires=["zfec >= 1.1.0",
-                  "foolscap >= 0.2.9",
+                  "foolscap[secure_connections] >= 0.2.9",
                   "simplejson >= 1.4",
 
                   # pycryptopp < 0.5 had a bug which, using a Microsoft