Issue #5394: Wrong url for forgot_password in basic_auth plugin
[mediagoblin.git] / setup.py
index 29391fb00b5ca8793544a8336256f98402aabdb4..e8c4b0349dd1648813cd5441235b52c87f385872 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -52,10 +52,12 @@ if PY2:
     # # use pbr, and currently it breaks things, presumably till
     # # their next release.
     # pyversion_install_requires.append('pbr==0.5.22')
-    pyversion_install_requires.append('mock')  # mock is in the stdlib for 3.3+
+    pyversion_install_requires.append('mock==1.0.1')  # mock is in the stdlib for 3.3+
     # PyPI version (1.4.2) does not have proper Python 3 support
     pyversion_install_requires.append('ExifRead')
     pyversion_install_requires.append('PasteScript')
+    # Paste 2.0 is breaking wsgi, see:
+    #  https://bitbucket.org/ianb/paste/issue/4/wsgi-environ-totally-borked
     pyversion_install_requires.append('Paste')
 else:
     pyversion_install_requires.append('gunicorn')
@@ -72,7 +74,7 @@ install_requires = [
     'kombu',
     'jinja2',
     'Babel>=1.3',
-    'webtest<2',
+    'WebTest>=2.0.18',
     'ConfigObj',
     'Markdown',
     'sqlalchemy<0.9.0, >0.8.0',
@@ -84,7 +86,7 @@ install_requires = [
     'unidecode',
     'jsonschema',
     'PasteDeploy',
-    'requests',
+    'requests>=2.6.0',
     'pyld',
     # This is optional:
     # 'translitcodec',
@@ -117,7 +119,6 @@ try:
     entry_points="""\
         [console_scripts]
         gmg = mediagoblin.gmg_commands:main_cli
-        pybabel = mediagoblin.babel.messages.frontend:main
 
         [paste.app_factory]
         app = mediagoblin.app:paste_app_factory