|
From: <mi...@us...> - 2019-08-26 12:10:36
|
Revision: 8343
http://sourceforge.net/p/docutils/code/8343
Author: milde
Date: 2019-08-26 12:10:34 +0000 (Mon, 26 Aug 2019)
Log Message:
-----------
Drop support for Python 3.4
This doesn't involve a whole lot of changes, but references to Python
3.3 and 3.4 (plus some to the already removed Python 2.6) are removed
and 'setup.py' is updated as necessary. This has already been agreed
upon, as noted in RELEASE-NOTES.txt:
Docutils 0.15.x is the last version supporting Python 2.6, 3.3, and 3.4.
Docutils 0.16 is compatible with Python versions 2.7 and 3.5 to 3.7.
Signed-off-by: Stephen Finucane <st...@th...>
Small fixes by Gunter Milde.
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/README.txt
trunk/docutils/docs/dev/testing.txt
trunk/docutils/setup.py
trunk/docutils/tox.ini
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2019-08-26 12:10:23 UTC (rev 8342)
+++ trunk/docutils/HISTORY.txt 2019-08-26 12:10:34 UTC (rev 8343)
@@ -20,7 +20,7 @@
* General
- - Dropped support for Python 2.6, Python 3.3 (work in progress).
+ - Dropped support for Python 2.6, 3.3 and 3.4 (work in progress).
- Keep `backslash escapes`__ in the document tree. Backslash characters in
text are be represented by NULL characters in the ``text`` attribute of
Doctree nodes and removed in the writing stage by the node's
Modified: trunk/docutils/README.txt
===================================================================
--- trunk/docutils/README.txt 2019-08-26 12:10:23 UTC (rev 8342)
+++ trunk/docutils/README.txt 2019-08-26 12:10:34 UTC (rev 8343)
@@ -104,7 +104,7 @@
To run the code, Python_ must be installed.
Docutils is compatible with Python versions 2.7, and
-versions 3.3 to 3.7 (cf. `Python 3 compatibility`_).
+versions 3.5 to 3.7 (cf. `Python 3 compatibility`_).
Docutils uses the following packages for enhanced functionality, if they are
installed:
Modified: trunk/docutils/docs/dev/testing.txt
===================================================================
--- trunk/docutils/docs/dev/testing.txt 2019-08-26 12:10:23 UTC (rev 8342)
+++ trunk/docutils/docs/dev/testing.txt 2019-08-26 12:10:34 UTC (rev 8343)
@@ -38,29 +38,27 @@
Python Versions
===============
-A docutils release has a commitment to support a minimum version and
-beyond. Before a release is cut, tests must pass in all supported python
-versions.
+A docutils release has a commitment to support a minimum version and beyond.
+Before a release is cut, tests must pass in all supported Python versions.
-The Docutils 0.15 release supports Python 2.6 or later.
+The Docutils 0.15 release supports Python 2.7 and Python 3.5 or later.
-Therefore, you should install python 2.6, 2.7 as well as 3.3 up to the
-latest Python (3.5 at the time of this writing) installed and always run the
-tests on all of them. In a pinch, the edge cases (2.6, and 3.5) should cover
-most of it.
+Therefore, you should install Python 2.7 as well as 3.5 up to the latest Python
+(3.7 at the time of this writing) and always run the tests on all of
+them. In a pinch, the edge cases (2.7, and 3.7) should cover most of it.
Good resources covering the differences between Python versions:
-* `What's New in Python 2.6`__
* `What's New in Python 2.7`__
-* `What's New in Python 3.3`__
-* `What's New in Python 3.4`__
+* `What's New in Python 3.5`__
+* `What's New in Python 3.6`__
+* `What's New in Python 3.7`__
* `PEP 290 - Code Migration and Modernization`__
-__ http://docs.python.org/whatsnew/2.6.html
-__ http://docs.python.org/whatsnew/2.7.html
-__ https://docs.python.org/3/whatsnew/3.3.html
-__ https://docs.python.org/3/whatsnew/3.4.html
+__ https://docs.python.org/whatsnew/2.6.html
+__ https://docs.python.org/3/whatsnew/3.5.html
+__ https://docs.python.org/3/whatsnew/3.6.html
+__ https://docs.python.org/3/whatsnew/3.7.html
__ http://www.python.org/peps/pep-0290.html
.. _Python Check-in Policies: http://www.python.org/dev/tools.html
@@ -76,20 +74,19 @@
test multiple python versions::
# assuming your system runs 2.7.x
- pyenv install 2.6.9
- pyenv install 3.3.6
- pyenv install 3.4.3
- pyenv global system 2.6.9 3.3.6 3.4.3
+ pyenv install 3.5.7
+ pyenv install 3.6.9
+ pyenv install 3.7.3
+ pyenv global system 3.5.7 3.6.9 3.7.3
# reset your shims
rm -rf ~/.pyenv/shims && pyenv rehash
-This will give you ``python2.6``, ``python2.7``, ``python3.3`` and
-``python3.4``. Along with that, ``pip2.6``, ``pip2.7`` and so on.
+This will give you ``python2.7`` and ``python3.5`` through ``python3.7``.
+You will also get ``pip2.7``, ``pip3.5``, etc.
-To save time, you can use `tox`_. To
-install tox, you can use ``easy_install tox`` or ``pip install tox``.
-From shell::
+To save time, you can use `tox`_. To install tox, run ``pip install tox``.
+Once installed, from shell::
cd docutils
tox
Modified: trunk/docutils/setup.py
===================================================================
--- trunk/docutils/setup.py 2019-08-26 12:10:23 UTC (rev 8342)
+++ trunk/docutils/setup.py 2019-08-26 12:10:34 UTC (rev 8343)
@@ -199,7 +199,6 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Modified: trunk/docutils/tox.ini
===================================================================
--- trunk/docutils/tox.ini 2019-08-26 12:10:23 UTC (rev 8342)
+++ trunk/docutils/tox.ini 2019-08-26 12:10:34 UTC (rev 8343)
@@ -1,6 +1,6 @@
[tox]
minversion = 1.6
-envlist = py{27,34,35,36,37}
+envlist = py{27,35,36,37}
# NOTE(stephenfin): we need to skip generating and installing the sdist, opting
# to install manually instead. This is because we still use distutils and pip
# hasn't supported uninstalling distutils-packaged libraries since 6.0. Once we
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|