Mercurial > p > roundup > code
changeset 5321:4566360871dc
Raises python requirement to 2.7.
* Change the most important places version_check.py abd doc/installation.txt
for python2.7. This has been discussed on roundup-devel twice.
* Add note to anypy TODO and CHANGES.txt.
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Tue, 24 Apr 2018 08:58:28 +0200 |
| parents | bb1125433de6 |
| children | 875605281b02 |
| files | CHANGES.txt doc/installation.txt roundup/anypy/TODO.txt roundup/version_check.py |
| diffstat | 4 files changed, 11 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Tue Apr 24 08:42:40 2018 +0200 +++ b/CHANGES.txt Tue Apr 24 08:58:28 2018 +0200 @@ -228,6 +228,8 @@ by default (finding only non-retired items for backwards compatibility) and can be set to None (for finding retired and non-retired items) or True (for finding only retired items). +- Requires Python 2.7 now, indicated in version_check.py + and doc/installation.txt. (Bernhard Reiter) Fixed: @@ -645,7 +647,7 @@ - Documentation: configuration messages_to_author value "nosy" now documented in chapter "customizing". (Bernhard Reiter) - issue2550877 Failures in test_mailgw.py because of duplicated headers - and more precise comparision. Writing headers with the email module will use + and more precise comparision. Writing headers with the email module will use continuation_ws = ' ' now for python 2.5 and 2.6. (Bernhard Reiter) - issue2550870 migrate use of 'rfc822' module to the 'email' module (Bernhard Reiter/John Kristensen)
--- a/doc/installation.txt Tue Apr 24 08:42:40 2018 +0200 +++ b/doc/installation.txt Tue Apr 24 08:58:28 2018 +0200 @@ -31,7 +31,7 @@ Prerequisites ============= -Roundup requires Python 2.5 or newer (but not Python 3) with a functioning +Roundup requires Python 2.7 or newer (but not Python 3) with a functioning anydbm module. Download the latest version from http://www.python.org/. It is highly recommended that users install the latest patch version of python as these contain many fixes to serious bugs. @@ -59,7 +59,7 @@ which brings the `Olson tz database`_ into Python. If pytz_ is not installed, timezones may be specified as numeric hour offsets only. This is optional but strongly suggested. - + An RDBMS Sqlite, MySQL and Postgresql are all supported by Roundup and will be used if available. One of these is recommended if you are anticipating a @@ -296,7 +296,7 @@ to run the server at port 1080 and bind to all ip addresses on your system. Then direct your web browser to ``http://your_host_name:1080/support``. - + Choosing Your Template ---------------------- @@ -1089,9 +1089,8 @@ please let us know! If the above fails, you may be using the wrong version of python. Try -``python2 run_tests.py`` or ``python2.X run_tests.py`` where ``X`` is in -the set 3,4,5,6 depending on the version(s) of python installed. -If that works, you will need to substitute ``python2`` or ``python2.X`` +``python2 run_tests.py`` or ``python2.7 run_tests.py``. +If that works, you will need to substitute ``python2`` or ``python2.7`` for ``python`` in all further commands you use in relation to Roundup -- from installation and scripts.
--- a/roundup/anypy/TODO.txt Tue Apr 24 08:42:40 2018 +0200 +++ b/roundup/anypy/TODO.txt Tue Apr 24 08:58:28 2018 +0200 @@ -1,4 +1,4 @@ Python compatiblity TODO ~~~~~~~~~~~~~~~~~~~~~~~~ -Remove support for Python versions < 2.5. As they are not supported anymore. +Remove support for Python versions < 2.7. As they are not supported anymore.
--- a/roundup/version_check.py Tue Apr 24 08:42:40 2018 +0200 +++ b/roundup/version_check.py Tue Apr 24 08:58:28 2018 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/env python -# Roundup requires Python 2.5+ as mentioned in doc\installation.txt -VERSION_NEEDED = (2,5) +# Roundup requires Python 2.7+ as mentioned in doc\installation.txt +VERSION_NEEDED = (2,7) import sys if sys.version_info < VERSION_NEEDED:
