Modify ↓
Opened 22 months ago
Closed 3 weeks ago
#14336 closed enhancement (fixed)
[PATCH] Support for Trac 1.6/Python 3
| Reported by: | Niels Sascha Reedijk | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | MasterTicketsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.6 |
Description
The attached patch migrates MasterTickets to support Trac 1.6. I did not attempt to make it compatible for both older versions and 1.6, so the patch also bumps the requirements and the version number (but that may be considered optional).
Attachments (1)
Change History (5)
Changed 22 months ago by
| Attachment: | mastertickets-trac16.patch added |
|---|
comment:1 Changed 19 months ago by
comment:2 Changed 19 months ago by
It worked for me too, i'm using trac 1.6 on ubuntu:22.04 and i'm installing it with :
pip install git+https://github.com/Ya55iiine/MasterTicketsPlugin
comment:3 Changed 3 weeks ago by
The __nonzero__ method in mastertickets/model.py should be replaced with __bool__.
- def __nonzero__(self): + def __bool__(self):
Note: See
TracTickets for help on using
tickets.



This patch worked for me on a Debian bookworm, installed from source in a virtual environment. Thanks!