mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5786 from tk0miya/requests-2.5
Update deps: requests-2.5.0 or above
This commit is contained in:
commit
f596439a0f
1
CHANGES
1
CHANGES
@ -15,6 +15,7 @@ Dependencies
|
|||||||
* LaTeX builder with :confval:`latex_engine` set to ``'xelatex'`` or to
|
* LaTeX builder with :confval:`latex_engine` set to ``'xelatex'`` or to
|
||||||
``'lualatex'`` requires (by default) the ``FreeFont`` fonts,
|
``'lualatex'`` requires (by default) the ``FreeFont`` fonts,
|
||||||
which in Ubuntu xenial are provided by package ``fonts-freefont-otf``.
|
which in Ubuntu xenial are provided by package ``fonts-freefont-otf``.
|
||||||
|
* requests 2.5.0 or above
|
||||||
|
|
||||||
Incompatible changes
|
Incompatible changes
|
||||||
--------------------
|
--------------------
|
||||||
|
2
setup.py
2
setup.py
@ -23,7 +23,7 @@ install_requires = [
|
|||||||
'babel>=1.3,!=2.0',
|
'babel>=1.3,!=2.0',
|
||||||
'alabaster>=0.7,<0.8',
|
'alabaster>=0.7,<0.8',
|
||||||
'imagesize',
|
'imagesize',
|
||||||
'requests>=2.0.0',
|
'requests>=2.5.0',
|
||||||
'setuptools',
|
'setuptools',
|
||||||
'packaging',
|
'packaging',
|
||||||
]
|
]
|
||||||
|
@ -53,13 +53,6 @@ else:
|
|||||||
except (pkg_resources.DistributionNotFound,
|
except (pkg_resources.DistributionNotFound,
|
||||||
pkg_resources.VersionConflict):
|
pkg_resources.VersionConflict):
|
||||||
pass # ignored
|
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:
|
if False:
|
||||||
# For type annotation
|
# For type annotation
|
||||||
|
Loading…
Reference in New Issue
Block a user