mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 01:12:10 -05:00
Drop python 3.5 support
This commit is contained in:
1 parent
60fbf4105c
commit
2bd7c19c7b
4 files changed
+7
-6
No files matched your search
@@ -4,6 +4,8 @@ Release 4.0.0 (in development)
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
* Drop python 3.5 support
|
||||
|
||||
Incompatible changes
|
||||
--------------------
|
||||
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ See the :ref:`pertinent section in the FAQ list <usingwith>`.
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
Sphinx needs at least **Python 3.5** to run.
|
||||
Sphinx needs at least **Python 3.6** to run.
|
||||
It also depends on 3rd party libraries such as docutils_ and jinja2_, but they
|
||||
are automatically installed when sphinx is installed.
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Installing Sphinx
|
||||
Overview
|
||||
--------
|
||||
|
||||
Sphinx is written in `Python`__ and supports Python 3.5+.
|
||||
Sphinx is written in `Python`__ and supports Python 3.6+.
|
||||
|
||||
__ https://docs.python-guide.org/
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ import sphinx
|
||||
with open('README.rst') as f:
|
||||
long_desc = f.read()
|
||||
|
||||
if sys.version_info < (3, 5):
|
||||
print('ERROR: Sphinx requires at least Python 3.5 to run.')
|
||||
if sys.version_info < (3, 6):
|
||||
print('ERROR: Sphinx requires at least Python 3.6 to run.')
|
||||
sys.exit(1)
|
||||
|
||||
install_requires = [
|
||||
@@ -198,7 +198,6 @@ setup(
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
@@ -238,7 +237,7 @@ setup(
|
||||
'build_sphinx = sphinx.setup_command:BuildDoc',
|
||||
],
|
||||
},
|
||||
python_requires=">=3.5",
|
||||
python_requires=">=3.6",
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
cmdclass=cmdclass,
|
||||
|
||||
Reference in new issue
Block a user