Update deps: requests-2.5.0 or above

This commit is contained in:
Takeshi KOMIYA 2018-12-15 21:23:59 +09:00
parent d160adb811
commit 19a187cb54
3 changed files with 2 additions and 8 deletions

View File

@ -15,6 +15,7 @@ Dependencies
* LaTeX builder with :confval:`latex_engine` set to ``'xelatex'`` or to
``'lualatex'`` requires (by default) the ``FreeFont`` fonts,
which in Ubuntu xenial are provided by package ``fonts-freefont-otf``.
* requests 2.5.0 or above
Incompatible changes
--------------------

View File

@ -24,7 +24,7 @@ install_requires = [
'babel>=1.3,!=2.0',
'alabaster>=0.7,<0.8',
'imagesize',
'requests>=2.0.0',
'requests>=2.5.0',
'setuptools',
'packaging',
]

View File

@ -56,13 +56,6 @@ else:
except (pkg_resources.DistributionNotFound,
pkg_resources.VersionConflict):
pass # ignored
except pkg_resources.UnknownExtra:
warnings.warn(
'Some links may return broken results due to being unable to '
'check the Server Name Indication (SNI) in the returned SSL cert '
'against the hostname in the url requested. Recommended to '
'install requests-2.4.1+.'
)
if False:
# For type annotation