comparison RELEASE.txt @ 6297:a635a60ffb84

Remove standalone pytest run_tests.py bundle Newer pytest doesn't support generating stand alone testing bundles. Python 3.9 generates errors running the current run_tests.py. Changed doc to use pythonX -m pytest test/ and some light directions on how to install pytest. Thanks to jerrykan for recommendations on how to do the doc updates.
author John Rouillard <rouilj@ieee.org>
date Sun, 20 Dec 2020 11:08:57 -0500
parents b2eb59ada444
children b57c3d50505b
comparison
equal deleted inserted replaced
6296:6cf9f2f49b89 6297:a635a60ffb84
12 advance of the release to allow for translators to update their 12 advance of the release to allow for translators to update their
13 translations. Merge into .po files by running 'make *.po' 13 translations. Merge into .po files by running 'make *.po'
14 in the locale directory. Run: 14 in the locale directory. Run:
15 make template 15 make template
16 make *.po 16 make *.po
17 2. Run unit tests! They should pass successfully. "./run_tests.py" 17 2. Run unit tests! They should pass successfully. Install pytest
18 using pip2/pip3 for python2 and python3. Then invoke pytest
19 using both python versions from the top of the roundup tree:
20 python3 -m pytest test/
21 python2 -m pytest test/
18 3. Update version 22 3. Update version
19 CHANGES.txt 23 CHANGES.txt
20 roundup/__init__.py 24 roundup/__init__.py
21 website/www/index.txt 25 website/www/index.txt
22 website/www/conf.py (also update copyright) 26 website/www/conf.py (also update copyright)
44 Rebuild and install .mo files 48 Rebuild and install .mo files
45 python setup.py build (sdist generation will fail if this isn't done) 49 python setup.py build (sdist generation will fail if this isn't done)
46 8. Rebuild documentation in "share/doc/roundup/html" 50 8. Rebuild documentation in "share/doc/roundup/html"
47 python setup.py build_doc 51 python setup.py build_doc
48 9. python setup.py sdist --manifest-only 52 9. python setup.py sdist --manifest-only
53 (ignore the 'warning: no previously-included ...' lines)
49 10. Check the MANIFEST to make sure that any new files are included. 54 10. Check the MANIFEST to make sure that any new files are included.
50 (use hg status --rev <last release or tag>:tip to list changed 55 (use hg status --rev <last release or tag>:tip to list changed
51 added and removed files. Last release e.g. 1.5.1 where tip was 56 added and removed files. Last release e.g. 1.5.1 where tip was
52 what would become 1.6) E.G. 57 what would become 1.6) E.G.
53 58
63 11. python setup.py sdist 68 11. python setup.py sdist
64 (if you find sdist a little verbose, add "--quiet" to the end of the 69 (if you find sdist a little verbose, add "--quiet" to the end of the
65 command) 70 command)
66 12. Unpack the new tarball created in dist/roundup-<version>.tar.gz 71 12. Unpack the new tarball created in dist/roundup-<version>.tar.gz
67 file in /tmp then 72 file in /tmp then
68 a) run_tests.py 73 a) run tests using installed pytest run under python2 and
74 python3. (python2 -m pytest test/; python3 -m pytest test/)
69 b) demo.py 75 b) demo.py
70 with all available Python versions. 76 with all available Python versions.
71 13. Assuming all is well tag the release in the version-control 77 13. Assuming all is well tag the release in the version-control
72 system. 78 system.
73 a) hg tag 1.6.0 # use right version. Should create/commit a changeset 79 a) hg tag 1.6.0 # use right version. Should create/commit a changeset

Roundup Issue Tracker: http://roundup-tracker.org/