Skip to content

Commit 3ee1e3a

Browse files
committed
Update documentation for Python 3 support (issue 2550968, issue 2550980).
A few obsolete references to Python 2.3 or 2.4 also removed or updated.
1 parent e0f8fb0 commit 3ee1e3a

File tree

7 files changed

+28
-8
lines changed

7 files changed

+28
-8
lines changed

CHANGES.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Entries without name were done by Richard Jones.
88

99
**IMPORTANT** The v1.5.x releases of Roundup were the last to support
1010
Python v2.5 and v2.6. Starting with the v1.6 releases of Roundup
11-
v2.7.2 is required to run newer releases of Roundup.
11+
v2.7.2 is required to run newer releases of Roundup. From v?.?
12+
onwards Python 3.4 and later are also supported.
1213

1314

1415
2018-??-?? ?.?.0
@@ -27,6 +28,9 @@ Features:
2728
- issue2550967: the jinja2 loader has been extended to look for .xml
2829
files as well as .html files similar to the TAL loader. (Christof
2930
Meerwald)
31+
- Support for Python 3 (3.4 and later). See doc/upgrading.txt for
32+
details of what is required to move an existing tracker from Python
33+
2 to Python 3 (Joseph Myers, Christof Meerwald)
3034

3135
Fixed:
3236

doc/customizing.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2339,9 +2339,6 @@ The following variables are available to templates.
23392339
If no translation is found, return singular if *number* is 1;
23402340
return plural otherwise.
23412341

2342-
This function requires python2.3; in earlier python versions
2343-
may not work as expected.
2344-
23452342
The context variable
23462343
~~~~~~~~~~~~~~~~~~~~
23472344

doc/features.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from Ka-Ping Yee in the Software Carpentry "Track" design competition.
1212
- two templates included in the distribution for you to base your tracker on
1313
- play with the demo, customise it and then use *it* as the template for
1414
your production tracker
15-
- requires *no* additional support software - python (2.3+ but not 3+) is
15+
- requires *no* additional support software - python (2.7 or 3.4+) is
1616
enough to get you going
1717
- easy to set up higher-performance storage backends like sqlite_,
1818
mysql_ and postgresql_

doc/installation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Roundup scripts
3131
Prerequisites
3232
=============
3333

34-
Roundup requires Python 2.7 or newer (but not Python 3) with a functioning
34+
Roundup requires Python 2.7 or 3.4 or newer 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.

doc/upgrading.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ https://pypi.org/project/MySQL-python/ is still supported, it is
3838
recommended to switch to the updated module from
3939
https://pypi.org/project/mysqlclient/.
4040

41+
Python 3 support
42+
----------------
43+
44+
Many of the ``.html`` and ``.py`` files from Roundup that are copied
45+
into tracker directories have changed for Python 3 support. If you
46+
wish to move an existing tracker to Python 3, you need to merge in
47+
those changes. If your tracker uses the ``anydbm`` backend, you also
48+
need to export the tracker contents using ``roundup-admin export``
49+
running under Python 2, and them import them using ``roundup-admin
50+
import`` running under Python 3, as for a migration to a different
51+
backend. If using the ``sqlite`` backend, you do not need to export
52+
and import, but need to delete the ``db/otks`` and ``db/sessions``
53+
files when changing Python version.
54+
4155
Migrating from 1.5.1 to 1.6.0
4256
=============================
4357

doc/user_guide.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ POP:
630630
not supplied on the command-line.
631631

632632
POPS:
633-
Connect to a POP server over ssl. This requires python 2.4 or later.
633+
Connect to a POP server over ssl.
634634
This supports the same notation as POP::
635635

636636
pops username:password@server

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ def main():
139139
'Operating System :: Microsoft :: Windows',
140140
'Operating System :: POSIX',
141141
'Programming Language :: Python',
142-
'Programming Language :: Python :: 2 :: Only',
142+
'Programming Language :: Python :: 2',
143+
'Programming Language :: Python :: 2.7',
144+
'Programming Language :: Python :: 3',
145+
'Programming Language :: Python :: 3.4',
146+
'Programming Language :: Python :: 3.5',
147+
'Programming Language :: Python :: 3.6',
143148
'Topic :: Communications :: Email',
144149
'Topic :: Office/Business',
145150
'Topic :: Software Development :: Bug Tracking',

0 commit comments

Comments
 (0)