From 01e5ca68e264027412c80623eecd9ff8392633e4 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Tue, 29 Jul 2008 19:10:41 -0700
Subject: [PATCH] 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.
---
 _auto_deps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.45.2