mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Drop python 3.3 support
This commit is contained in:
parent
892cc259ec
commit
1da1a71511
@ -6,7 +6,6 @@ cache:
|
|||||||
python:
|
python:
|
||||||
- "2.6"
|
- "2.6"
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.3"
|
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
- "3.5-dev"
|
- "3.5-dev"
|
||||||
|
1
CHANGES
1
CHANGES
@ -46,6 +46,7 @@ Incompatible changes
|
|||||||
* Fix ``epub`` and ``epub3`` builders that contained links to ``genindex`` even if ``epub_use_index = False``.
|
* Fix ``epub`` and ``epub3`` builders that contained links to ``genindex`` even if ``epub_use_index = False``.
|
||||||
* `html_translator_class` is now deprecated.
|
* `html_translator_class` is now deprecated.
|
||||||
Use `Sphinx.set_translator()` API instead.
|
Use `Sphinx.set_translator()` API instead.
|
||||||
|
* Drop python 3.3 support
|
||||||
|
|
||||||
Features added
|
Features added
|
||||||
--------------
|
--------------
|
||||||
|
@ -80,7 +80,7 @@ sidebar and under "Quick Links", click "Windows Installer" to download.
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
Currently, Python offers two major versions, 2.x and 3.x. Sphinx 1.3 can run
|
Currently, Python offers two major versions, 2.x and 3.x. Sphinx 1.3 can run
|
||||||
under Python 2.6, 2.7, 3.3, 3.4, with the recommended version being
|
under Python 2.6, 2.7, 3.4, 3.5, with the recommended version being
|
||||||
2.7. This chapter assumes you have installed Python 2.7.
|
2.7. This chapter assumes you have installed Python 2.7.
|
||||||
|
|
||||||
Follow the Windows installer for Python.
|
Follow the Windows installer for Python.
|
||||||
|
@ -54,7 +54,7 @@ See the :ref:`pertinent section in the FAQ list <usingwith>`.
|
|||||||
Prerequisites
|
Prerequisites
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Sphinx needs at least **Python 2.6** or **Python 3.3** to run, as well as the
|
Sphinx needs at least **Python 2.6** or **Python 3.4** to run, as well as the
|
||||||
docutils_ and Jinja2_ libraries. Sphinx should work with docutils version 0.10
|
docutils_ and Jinja2_ libraries. Sphinx should work with docutils version 0.10
|
||||||
or some (not broken) SVN trunk snapshot. If you like to have source code
|
or some (not broken) SVN trunk snapshot. If you like to have source code
|
||||||
highlighting support, you must also install the Pygments_ library.
|
highlighting support, you must also install the Pygments_ library.
|
||||||
|
4
setup.py
4
setup.py
@ -37,8 +37,8 @@ Among its features are the following:
|
|||||||
* Setuptools integration
|
* Setuptools integration
|
||||||
'''
|
'''
|
||||||
|
|
||||||
if sys.version_info < (2, 6) or (3, 0) <= sys.version_info < (3, 3):
|
if sys.version_info < (2, 6) or (3, 0) <= sys.version_info < (3, 4):
|
||||||
print('ERROR: Sphinx requires at least Python 2.6 or 3.3 to run.')
|
print('ERROR: Sphinx requires at least Python 2.6 or 3.4 to run.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
requires = [
|
requires = [
|
||||||
|
@ -54,8 +54,8 @@ def main(argv=sys.argv):
|
|||||||
def build_main(argv=sys.argv):
|
def build_main(argv=sys.argv):
|
||||||
"""Sphinx build "main" command-line entry."""
|
"""Sphinx build "main" command-line entry."""
|
||||||
if (sys.version_info[:3] < (2, 6, 0) or
|
if (sys.version_info[:3] < (2, 6, 0) or
|
||||||
(3, 0, 0) <= sys.version_info[:3] < (3, 3, 0)):
|
(3, 0, 0) <= sys.version_info[:3] < (3, 4, 0)):
|
||||||
sys.stderr.write('Error: Sphinx requires at least Python 2.6 or 3.3 to run.\n')
|
sys.stderr.write('Error: Sphinx requires at least Python 2.6 or 3.4 to run.\n')
|
||||||
return 1
|
return 1
|
||||||
try:
|
try:
|
||||||
from sphinx import cmdline
|
from sphinx import cmdline
|
||||||
|
Loading…
Reference in New Issue
Block a user