Opened 12 years ago
Last modified 22 months ago
#10083 closed enhancement
Make Trac work with Python 3 — at Version 5
Reported by: | Remy Blank | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | python3 |
Cc: | leho@…, Thijs Triemstra, gabriele.svelto@…, Ryan J Ollos, py.hieroglyph@…, Jun Omae, Arthur.Solomon@…, t17-0by@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
With Genshi having been ported to Python 3, we could start thinking about how we can achieve the same with Trac. As a first step, we should check if our dependencies have a Python 3 port:
Database backends | SQLite | builtin sqlite3, PySqlite? |
---|---|---|
PostgreSQL | ||
MySQL | ||
Version control bindings | Subversion | unlikely (1) |
Mercurial | unlikely (2) | |
Web frontends | Apache | mod_wsgi |
Others | setuptools | |
Genshi | trunk | |
Babel | #bl209 | |
pytz | ||
docutils |
Notes
- svn: not much activity on the bindings; rather go the svn.exe way
- hg: after 2 SoC projects already, the efforts seem to have stalled
Once we have at least one backend, VC binding and frontend ready, the next step would be playing with 2to3
and see what comes out.
Let's set the milestone tentatively to 0.14.
Change History (5)
follow-up: 3 comment:1 by , 12 years ago
comment:2 by , 12 years ago
Cc: | added |
---|
comment:3 by , 12 years ago
comment:4 by , 12 years ago
Cc: | added |
---|
comment:5 by , 12 years ago
Description: | modified (diff) |
---|
Create a table for the packages and document some already py3k compatible packages or in-progress status.
There is also a 3to2 tool, and rumors here at PyCon that 3to2 will (soonish?) have the ability to take Python 3 code and output versions that will work for 2.7, 2.6, 2.5, and maybe even 2.4.