diff options
author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-05-09 17:55:19 +0000 |
---|---|---|
committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-05-09 17:55:19 +0000 |
commit | a0814f176d99bb121f5cdfad317553de8882cfc0 (patch) | |
tree | 12121c4aa9457dcc7ee49f005e8dd696ea9e41fc | |
parent | e99b8955af06b8b70c6fcf2e74e1a84a7aa709bf (diff) | |
download | docutils-a0814f176d99bb121f5cdfad317553de8882cfc0.tar.gz |
release 0.20
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9374 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
24 files changed, 75 insertions, 31 deletions
diff --git a/docutils/HISTORY.txt b/docutils/HISTORY.txt index ba3d68ae7..15651cd4b 100644 --- a/docutils/HISTORY.txt +++ b/docutils/HISTORY.txt @@ -13,8 +13,8 @@ .. contents:: -Release 0.20rc1 (2023-05-04) -============================ +Release 0.20 (2023-05-09) +========================= * General diff --git a/docutils/README.txt b/docutils/README.txt index e7c0278b6..6d84d7572 100644 --- a/docutils/README.txt +++ b/docutils/README.txt @@ -1,8 +1,8 @@ .. include:: docs/header0.txt -========================== - README: Docutils 0.20rc1 -========================== +======================= + README: Docutils 0.20 +======================= :Author: David Goodger :Contact: goodger@python.org diff --git a/docutils/RELEASE-NOTES.txt b/docutils/RELEASE-NOTES.txt index d81c67ff5..26492a953 100644 --- a/docutils/RELEASE-NOTES.txt +++ b/docutils/RELEASE-NOTES.txt @@ -201,8 +201,8 @@ Misc .. _buildhtml.py: docs/user/tools.html#buildhtml-py .. _csv-table: docs/ref/rst/directives.html#csv-table -Release 0.20rc1 (2023-05-04) -============================ +Release 0.20 (2023-05-04) +========================= .. Note:: diff --git a/docutils/docutils/__init__.py b/docutils/docutils/__init__.py index cd68cc81d..f3987ed3d 100644 --- a/docutils/docutils/__init__.py +++ b/docutils/docutils/__init__.py @@ -54,7 +54,7 @@ from collections import namedtuple __docformat__ = 'reStructuredText' -__version__ = '0.20rc1' +__version__ = '0.20' """Docutils version identifier (complies with PEP 440):: major.minor[.micro][releaselevel[serial]][.dev] @@ -118,8 +118,8 @@ __version_info__ = VersionInfo( major=0, minor=20, micro=0, - releaselevel='candidate', # one of 'alpha', 'beta', 'candidate', 'final' - serial=1, # pre-release number (0 for final releases and snapshots) + releaselevel='final', # one of 'alpha', 'beta', 'candidate', 'final' + serial=0, # pre-release number (0 for final releases and snapshots) release=True # True for official releases and pre-releases ) """Comprehensive version information tuple. diff --git a/docutils/setup.py b/docutils/setup.py index 04fc700cf..3128066cd 100755 --- a/docutils/setup.py +++ b/docutils/setup.py @@ -33,7 +33,7 @@ into useful formats, such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText, an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60 'url': 'https://docutils.sourceforge.io/', - 'version': '0.20rc1', + 'version': '0.20', 'author': 'David Goodger', 'author_email': 'goodger@python.org', 'maintainer': 'docutils-develop list', diff --git a/docutils/test/functional/expected/compact_lists.html b/docutils/test/functional/expected/compact_lists.html index a099acf35..61b20ba10 100644 --- a/docutils/test/functional/expected/compact_lists.html +++ b/docutils/test/functional/expected/compact_lists.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>compact_lists.txt</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/docutils/test/functional/expected/dangerous.html b/docutils/test/functional/expected/dangerous.html index d9d94ad3a..d9f25e908 100644 --- a/docutils/test/functional/expected/dangerous.html +++ b/docutils/test/functional/expected/dangerous.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>dangerous.txt</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/docutils/test/functional/expected/embed_images_html5.html b/docutils/test/functional/expected/embed_images_html5.html index e49f10386..78948b956 100644 --- a/docutils/test/functional/expected/embed_images_html5.html +++ b/docutils/test/functional/expected/embed_images_html5.html @@ -3,7 +3,7 @@ <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta charset="utf-8"/> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>Embedded Images</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> <link rel="stylesheet" href="../input/data/plain.css" type="text/css" /> diff --git a/docutils/test/functional/expected/field_name_limit.html b/docutils/test/functional/expected/field_name_limit.html index 9583dc7c2..3d1d76f2b 100644 --- a/docutils/test/functional/expected/field_name_limit.html +++ b/docutils/test/functional/expected/field_name_limit.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>field_list.txt</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/docutils/test/functional/expected/footnotes_html5.html b/docutils/test/functional/expected/footnotes_html5.html index 17ef7ea8d..57ec343c5 100644 --- a/docutils/test/functional/expected/footnotes_html5.html +++ b/docutils/test/functional/expected/footnotes_html5.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Test footnote and citation rendering</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> diff --git a/docutils/test/functional/expected/math_output_html.html b/docutils/test/functional/expected/math_output_html.html index f281457e5..7b6b50b17 100644 --- a/docutils/test/functional/expected/math_output_html.html +++ b/docutils/test/functional/expected/math_output_html.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>Mathematics</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> <link rel="stylesheet" href="../input/data/math.css" type="text/css" /> diff --git a/docutils/test/functional/expected/math_output_latex.html b/docutils/test/functional/expected/math_output_latex.html index 2a33fb2a1..eb899f31c 100644 --- a/docutils/test/functional/expected/math_output_latex.html +++ b/docutils/test/functional/expected/math_output_latex.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>Mathematics</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/docutils/test/functional/expected/math_output_mathjax.html b/docutils/test/functional/expected/math_output_mathjax.html index 4c37a9680..5f3514a46 100644 --- a/docutils/test/functional/expected/math_output_mathjax.html +++ b/docutils/test/functional/expected/math_output_mathjax.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>Mathematics</title> <script type="text/javascript" src="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS_CHTML"></script> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> diff --git a/docutils/test/functional/expected/math_output_mathml.html b/docutils/test/functional/expected/math_output_mathml.html index f0e137a64..5195732dc 100644 --- a/docutils/test/functional/expected/math_output_mathml.html +++ b/docutils/test/functional/expected/math_output_mathml.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Mathematics</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> diff --git a/docutils/test/functional/expected/misc_rst_html4css1.html b/docutils/test/functional/expected/misc_rst_html4css1.html index 71f05e4c5..883413940 100644 --- a/docutils/test/functional/expected/misc_rst_html4css1.html +++ b/docutils/test/functional/expected/misc_rst_html4css1.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>Additional tests with html4css1</title> <link rel="stylesheet" href="foo&bar.css" type="text/css" /> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> diff --git a/docutils/test/functional/expected/misc_rst_html5.html b/docutils/test/functional/expected/misc_rst_html5.html index 7b0f17af3..1bc733736 100644 --- a/docutils/test/functional/expected/misc_rst_html5.html +++ b/docutils/test/functional/expected/misc_rst_html5.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Additional tests with HTML 5</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> diff --git a/docutils/test/functional/expected/pep_html.html b/docutils/test/functional/expected/pep_html.html index 45feae8f0..85940b8f6 100644 --- a/docutils/test/functional/expected/pep_html.html +++ b/docutils/test/functional/expected/pep_html.html @@ -8,7 +8,7 @@ to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> + <meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <title>PEP 100 - Test PEP</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/docutils/test/functional/expected/rst_html5_tuftig.html b/docutils/test/functional/expected/rst_html5_tuftig.html index 57a212c89..d35f0494b 100644 --- a/docutils/test/functional/expected/rst_html5_tuftig.html +++ b/docutils/test/functional/expected/rst_html5_tuftig.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Special Features of the tuftig.css Stylesheet</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> diff --git a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml index ec44a8e11..cfc44a709 100644 --- a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml +++ b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE document PUBLIC "+//IDN docutils.sourceforge.net//DTD Docutils Generic//EN//XML" "http://docutils.sourceforge.net/docs/ref/docutils.dtd"> -<!-- Generated by Docutils 0.20rc1 --> +<!-- Generated by Docutils 0.20 --> <document ids="restructuredtext-test-document doctitle" names="restructuredtext\ test\ document doctitle" source="functional/input/standalone_rst_docutils_xml.txt" title="reStructuredText Test Document"> <title>reStructuredText Test Document</title> <subtitle ids="examples-of-syntax-constructs subtitle" names="examples\ of\ syntax\ constructs subtitle">Examples of Syntax Constructs</subtitle> diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index a3b533a5b..85278903b 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta content="reStructuredText, test, parser" name="keywords" /> <meta content="A test document, containing at least one example of each reStructuredText construct." lang="en" name="description" /> <meta name="author" content="David Goodger" /> diff --git a/docutils/test/functional/expected/standalone_rst_html5.html b/docutils/test/functional/expected/standalone_rst_html5.html index 65af79403..bb89238c5 100644 --- a/docutils/test/functional/expected/standalone_rst_html5.html +++ b/docutils/test/functional/expected/standalone_rst_html5.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta content="reStructuredText, test, parser" name="keywords" /> <meta content="A test document, containing at least one example of each reStructuredText construct." lang="en" name="description" xml:lang="en" /> diff --git a/docutils/test/functional/expected/standalone_rst_s5_html_1.html b/docutils/test/functional/expected/standalone_rst_s5_html_1.html index dd47c9a06..e29c196b2 100644 --- a/docutils/test/functional/expected/standalone_rst_s5_html_1.html +++ b/docutils/test/functional/expected/standalone_rst_s5_html_1.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="version" content="S5 1.1" /> <meta name="author" content="David Goodger" /> <meta name="date" content="2005-11-28" /> diff --git a/docutils/test/functional/expected/standalone_rst_s5_html_2.html b/docutils/test/functional/expected/standalone_rst_s5_html_2.html index 20d6ad95d..65956e0c3 100644 --- a/docutils/test/functional/expected/standalone_rst_s5_html_2.html +++ b/docutils/test/functional/expected/standalone_rst_s5_html_2.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.20rc1: https://docutils.sourceforge.io/" /> +<meta name="generator" content="Docutils 0.20: https://docutils.sourceforge.io/" /> <meta name="version" content="S5 1.1" /> <meta name="author" content="David Goodger" /> <meta name="date" content="2005-11-28" /> diff --git a/sandbox/infrastructure/releasing-log.txt b/sandbox/infrastructure/releasing-log.txt index 02c371523..3a905ac35 100644 --- a/sandbox/infrastructure/releasing-log.txt +++ b/sandbox/infrastructure/releasing-log.txt @@ -8,12 +8,56 @@ Releasing Notes on what happend while releasing. -Release 0.20 (2023-05-04) +Release 0.20 (2023-05-09) ========================= (follow docs/dev/release.txt) -release candidate 1 +release (2023-05-09) + +* Update RELEASE-NOTES.txt add section ``Release 0.20``. + + Changes were already done on canditate + +* Change HISTORY.txt title ``Release 0.20 (2023-05-09)``. + +* Set new version (replace ``<version>`` with the new version indentifier + and ``<docutils-repository-root>`` with the dir containing + ``HISTORY.txt`` and ``RELEASE-NOTES.txt``):: + + cd <docutils-repository-root> + ../sandbox/infrastructure/set_version.sh <version> + +* run tox 3.7 ... 3.11, run python3.12 alltests.py + + all OK. + +* Generate wheel and source-distribution:: + + python3 setup.py sdist + python3 setup.py bdist_wheel + +* Upload wheel and source to test.pypi:: + + python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* + + Test in venv. :: + + python3 -m venv du3 ; cd du3 + 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 du3 + +* Commit changes ... the changed version number. + + +release candidate 1 (2023-05-04) * svn update * run tox : py3.7 to py3.11 : OK |