Skip to content

Commit d574ad0

Browse files
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.
1 parent 17f0884 commit d574ad0

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

CHANGES.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ Features:
228228
by default (finding only non-retired items for backwards
229229
compatibility) and can be set to None (for finding retired and
230230
non-retired items) or True (for finding only retired items).
231+
- Requires Python 2.7 now, indicated in version_check.py
232+
and doc/installation.txt. (Bernhard Reiter)
231233

232234
Fixed:
233235

@@ -645,7 +647,7 @@ Fixed:
645647
- Documentation: configuration messages_to_author value "nosy" now documented
646648
in chapter "customizing". (Bernhard Reiter)
647649
- issue2550877 Failures in test_mailgw.py because of duplicated headers
648-
and more precise comparision. Writing headers with the email module will use
650+
and more precise comparision. Writing headers with the email module will use
649651
continuation_ws = ' ' now for python 2.5 and 2.6. (Bernhard Reiter)
650652
- issue2550870 migrate use of 'rfc822' module to the 'email' module
651653
(Bernhard Reiter/John Kristensen)

doc/installation.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Roundup scripts
3131
Prerequisites
3232
=============
3333

34-
Roundup requires Python 2.5 or newer (but not Python 3) with a functioning
34+
Roundup requires Python 2.7 or newer (but not Python 3) with a functioning
3535
anydbm module. Download the latest version from http://www.python.org/.
3636
It is highly recommended that users install the latest patch version
3737
of python as these contain many fixes to serious bugs.
@@ -59,7 +59,7 @@ Timezone Definitions
5959
which brings the `Olson tz database`_ into Python. If pytz_ is not
6060
installed, timezones may be specified as numeric hour offsets only.
6161
This is optional but strongly suggested.
62-
62+
6363
An RDBMS
6464
Sqlite, MySQL and Postgresql are all supported by Roundup and will be
6565
used if available. One of these is recommended if you are anticipating a
@@ -296,7 +296,7 @@ Configuring your first tracker
296296

297297
to run the server at port 1080 and bind to all ip addresses on your system.
298298
Then direct your web browser to ``http://your_host_name:1080/support``.
299-
299+
300300
Choosing Your Template
301301
----------------------
302302

@@ -1089,9 +1089,8 @@ source directory and make sure there are no errors. If there are errors,
10891089
please let us know!
10901090

10911091
If the above fails, you may be using the wrong version of python. Try
1092-
``python2 run_tests.py`` or ``python2.X run_tests.py`` where ``X`` is in
1093-
the set 3,4,5,6 depending on the version(s) of python installed.
1094-
If that works, you will need to substitute ``python2`` or ``python2.X``
1092+
``python2 run_tests.py`` or ``python2.7 run_tests.py``.
1093+
If that works, you will need to substitute ``python2`` or ``python2.7``
10951094
for ``python`` in all further commands you use in relation to Roundup --
10961095
from installation and scripts.
10971096

roundup/anypy/TODO.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Python compatiblity TODO
22
~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
Remove support for Python versions < 2.5. As they are not supported anymore.
4+
Remove support for Python versions < 2.7. As they are not supported anymore.

roundup/version_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

3-
# Roundup requires Python 2.5+ as mentioned in doc\installation.txt
4-
VERSION_NEEDED = (2,5)
3+
# Roundup requires Python 2.7+ as mentioned in doc\installation.txt
4+
VERSION_NEEDED = (2,7)
55

66
import sys
77
if sys.version_info < VERSION_NEEDED:

0 commit comments

Comments
 (0)