Merge pull request #5786 from tk0miya/requests-2.5

Update deps: requests-2.5.0 or above
This commit is contained in:
Takeshi KOMIYA 2018-12-18 23:12:19 +09:00 committed by GitHub
commit f596439a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -23,7 +23,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

@ -53,13 +53,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