summaryrefslogtreecommitdiff
path: root/docutils/docs/dev
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-06 14:52:54 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-06 14:52:54 +0000
commit963f087ae7385234e2586ba7fe34d078c5b2c104 (patch)
tree3bac69f6d4138bee3368cc1bfc52ae47aa6de0af /docutils/docs/dev
parenta366214a38dda89152d70722c05e930bce171531 (diff)
downloaddocutils-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/dev')
-rw-r--r--docutils/docs/dev/distributing.txt4
-rw-r--r--docutils/docs/dev/release.txt25
-rw-r--r--docutils/docs/dev/repository.txt2
3 files changed, 5 insertions, 26 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".