From 57b96c5e2f851cca90a0bbf8d140fa0d5bc318fc Mon Sep 17 00:00:00 2001
From: david-sarah <david-sarah@jacaranda.org>
Date: Sun, 29 Aug 2010 16:00:38 -0700
Subject: [PATCH] _auto_deps.py: change pycrypto version requirement to avoid
 https://bugs.launchpad.net/pycrypto/+bug/620253

---
 _auto_deps.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/_auto_deps.py b/_auto_deps.py
index 40e9d952..87b027c7 100644
--- a/_auto_deps.py
+++ b/_auto_deps.py
@@ -33,7 +33,8 @@ install_requires=[
                   "pycryptopp >= 0.5.15",
 
                   # Needed for SFTP. pyasn1 is needed by twisted.conch in Twisted >= 9.0.
-                  "pycrypto >= 2.0.1",
+                  # pycrypto 2.2 doesn't work due to https://bugs.launchpad.net/pycrypto/+bug/620253
+                  "pycrypto == 2.0.1, == 2.1, >= 2.3",
                   "pyasn1 >= 0.0.8a",
 
                   # Will be needed to test web apps, but not yet. See #1001.
-- 
2.45.2