[mod] upgrade requirements.txt
This commit is contained in:
		
							parent
							
								
									9c0889a942
								
							
						
					
					
						commit
						181c12ae04
					
				| @ -1,11 +1,10 @@ | |||||||
| certifi==2016.9.26 | certifi==2017.1.23 | ||||||
| flask==0.12 | flask==0.12 | ||||||
| flask-babel==0.11.1 | flask-babel==0.11.1 | ||||||
| lxml==3.7.1 | lxml==3.7.3 | ||||||
| ndg-httpsclient==0.4.2 | idna==2.5 | ||||||
| pyasn1==0.1.9 |  | ||||||
| pygments==2.1.3 | pygments==2.1.3 | ||||||
| pyopenssl==16.2.0 | pyopenssl==16.2.0 | ||||||
| python-dateutil==2.5.3 | python-dateutil==2.6.0 | ||||||
| pyyaml==3.11 | pyyaml==3.12 | ||||||
| requests[socks]==2.12.4 | requests[socks]==2.13.0 | ||||||
|  | |||||||
| @ -70,14 +70,12 @@ from searx.plugins import plugins | |||||||
| from searx.preferences import Preferences, ValidationException | from searx.preferences import Preferences, ValidationException | ||||||
| from searx.answerers import answerers | from searx.answerers import answerers | ||||||
| 
 | 
 | ||||||
| # check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed. | # check if the pyopenssl package is installed. | ||||||
| # They are needed for SSL connection without trouble, see #298 | # It is needed for SSL connection without trouble, see #298 | ||||||
| try: | try: | ||||||
|     import OpenSSL.SSL  # NOQA |     import OpenSSL.SSL  # NOQA | ||||||
|     import ndg.httpsclient  # NOQA |  | ||||||
|     import pyasn1  # NOQA |  | ||||||
| except ImportError: | except ImportError: | ||||||
|     logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n" |     logger.critical("The pyopenssl package has to be installed.\n" | ||||||
|                     "Some HTTPS connections will fail") |                     "Some HTTPS connections will fail") | ||||||
| 
 | 
 | ||||||
| # serve pages with HTTP/1.1 | # serve pages with HTTP/1.1 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Alexandre Flament
						Alexandre Flament