Paste 2.0 breaking wsgi
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 25 Apr 2015 02:10:25 +0000 (21:10 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 25 Apr 2015 02:10:25 +0000 (21:10 -0500)
setup.py

index cd52bbfe10d045473145b8130ad9a2c347def3f3..10cac2df4740b0a08940dfffdb6fbc7afc12dc68 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,9 @@ if PY2:
     # PyPI version (1.4.2) does not have proper Python 3 support
     pyversion_install_requires.append('ExifRead')
     pyversion_install_requires.append('PasteScript')
-    pyversion_install_requires.append('Paste')
+    # Paste 2.0 is breaking wsgi, see:
+    #  https://bitbucket.org/ianb/paste/issue/4/wsgi-environ-totally-borked
+    pyversion_install_requires.append('Paste<=1.9.9')
 else:
     pyversion_install_requires.append('gunicorn')