diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-01-06 14:52:54 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-01-06 14:52:54 +0000 |
| commit | 963f087ae7385234e2586ba7fe34d078c5b2c104 (patch) | |
| tree | 3bac69f6d4138bee3368cc1bfc52ae47aa6de0af /docutils/docs | |
| parent | a366214a38dda89152d70722c05e930bce171531 (diff) | |
| download | docutils-963f087ae7385234e2586ba7fe34d078c5b2c104.tar.gz | |
Remove lingering references to Python 2.
Based on Patch 1/6 by Adam Turner (patches #188).
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8934 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs')
| -rw-r--r-- | docutils/docs/dev/distributing.txt | 4 | ||||
| -rw-r--r-- | docutils/docs/dev/release.txt | 25 | ||||
| -rw-r--r-- | docutils/docs/dev/repository.txt | 2 | ||||
| -rw-r--r-- | docutils/docs/user/config.txt | 4 | ||||
| -rw-r--r-- | docutils/docs/user/links.txt | 3 |
5 files changed, 6 insertions, 32 deletions
diff --git a/docutils/docs/dev/distributing.txt b/docutils/docs/dev/distributing.txt index eb0be4a11..5d7a29c52 100644 --- a/docutils/docs/dev/distributing.txt +++ b/docutils/docs/dev/distributing.txt @@ -28,8 +28,8 @@ Dependencies Docutils has the following dependencies: -* Python 2.7 or later is required. Use ">= Python 2.7" in the - dependencies. +* Python 3.7 or later is required. + Use ">= Python 3.7" in the dependencies. * Docutils may optionally make use of the PIL (`Python Imaging Library`_ or Pillow_). If PIL is present, it is automatically diff --git a/docutils/docs/dev/release.txt b/docutils/docs/dev/release.txt index f2859c406..1a1ed4eb4 100644 --- a/docutils/docs/dev/release.txt +++ b/docutils/docs/dev/release.txt @@ -30,7 +30,6 @@ Releasing (post 2020) Run tests :: export PYTHONWARNINGS=default - python2 test/alltests.py python3 test/alltests.py or use tox. @@ -46,19 +45,6 @@ Releasing (post 2020) python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* - Wait some minutes to test in virtualenv :: - - python2 -m virtualenv py2.7 ; cd py2.7 - export PYTHONPATH= ; . bin/activate - - python -m pip install --index-url https://test.pypi.org/simple/ --no-deps docutils - - cp -Lr ../docutils-code/docutils/test . - python test/alltests.py - - python -m pip uninstall docutils - deactivate ; cd .. ; rm -r py2.7 - Test in venv :: python3 -m venv du3 ; cd du3 @@ -105,15 +91,6 @@ Releasing (post 2020) deactivate ; cd .. ; rm -r du3 - python2 -m virtualenv du2 ; cd du2 - export PYTHONPATH= ; . bin/activate - - pip install --no-deps docutils - cp -Lr ../docutils-code/docutils/test . - python test/alltests.py - - deactivate ; cd .. ; rm -r du2 - * Notify to docutils-developer and user. * upload source and generated html to sf-htdocs/0.## :: @@ -136,7 +113,7 @@ Releasing (post 2020) - Select docutils-0.16.tar.gz as default for all OS. * set_version 0.#.#+1b.dev -* test with py2 and py3 +* test with py3 * docutils/HISTORY.txt: add title "Changes Since 0.##" * run sandbox/infrastructure/docutils-update.local diff --git a/docutils/docs/dev/repository.txt b/docutils/docs/dev/repository.txt index 8ecddc16d..875f3cf54 100644 --- a/docutils/docs/dev/repository.txt +++ b/docutils/docs/dev/repository.txt @@ -148,6 +148,8 @@ We'll assume that the Docutils "trunk" is checked out under the __ https://setuptools.pypa.io/en/latest/userguide/development_mode.html #development-mode + + .. _install manually: 3. Install "manually". diff --git a/docutils/docs/user/config.txt b/docutils/docs/user/config.txt index 133154875..bd0a943e4 100644 --- a/docutils/docs/user/config.txt +++ b/docutils/docs/user/config.txt @@ -900,10 +900,6 @@ The `pep_references`_ and `rfc_references`_ settings .. Caution:: - * In Python versions older than 2.7.3 and 3.2.3, the newlines_ and - indents_ options may adversely affect whitespace; use them only for - reading convenience (see http://bugs.python.org/issue4147). - * The XML declaration carries text encoding information. If the encoding is not UTF-8 or ASCII and the XML declaration is missing, standard tools may be unable to read the generated XML. diff --git a/docutils/docs/user/links.txt b/docutils/docs/user/links.txt index b219de6b6..5700367e2 100644 --- a/docutils/docs/user/links.txt +++ b/docutils/docs/user/links.txt @@ -362,8 +362,7 @@ Development documentation of Software (and other) *projects* (but other documents can be written with it too). - Since version 2.6, the `Python documentation`_ is based on - reStructuredText and Sphinx. + The `Python documentation`_ is based on reStructuredText and Sphinx. .. _Python documentation: http://docs.python.org/ |
