on master help sign in
[mod] upgrade requirements.txt
commit181c12ae04bac694a1a5534777bc91aa9ed8f89a authorAlexandre Flament <alex@al-f.net> dateThu 23 Mar 2017, 15:33 (10 years ago) parent9c0889a
2 files changed+9−12
requirements.txt+6−7 searx/webapp.py+3−5
requirements.txt+6−7
@@ -1,11 +1,10 @@
1−certifi==2016.9.26
1+certifi==2017.1.23
22flask==0.12
33flask-babel==0.11.1
4−lxml==3.7.1
5−ndg-httpsclient==0.4.2
6−pyasn1==0.1.9
4+lxml==3.7.3
5+idna==2.5
76pygments==2.1.3
87pyopenssl==16.2.0
9−python-dateutil==2.5.3
10−pyyaml==3.11
11−requests[socks]==2.12.4
8+python-dateutil==2.6.0
9+pyyaml==3.12
10+requests[socks]==2.13.0
searx/webapp.py+3−5
@@ -70,14 +70,12 @@ from searx.plugins import plugins
7070from searx.preferences import Preferences, ValidationException
7171from searx.answerers import answerers
7272
73−# check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed.
74−# They are needed for SSL connection without trouble, see #298
73+# check if the pyopenssl package is installed.
74+# It is needed for SSL connection without trouble, see #298
7575try:
7676 import OpenSSL.SSL # NOQA
77− import ndg.httpsclient # NOQA
78− import pyasn1 # NOQA
7977except ImportError:
80− logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
78+ logger.critical("The pyopenssl package has to be installed.\n"
8179 "Some HTTPS connections will fail")
8280
8381# serve pages with HTTP/1.1