Skip to content

Commit 06021a7

Browse files
committed
[DRAFT] Tentative Python3.7 + Trac 1.6 update
1 parent 9ce5a20 commit 06021a7

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

DjangoPlugin/tracdjangoplugin/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from trac.web.chrome import INavigationContributor
33
from trac.web.api import IRequestFilter, IRequestHandler
44
from trac.wiki.web_ui import WikiModule
5-
from trac.util import Markup
65
from trac.util.html import tag
76
from tracext.github import GitHubBrowser
87

@@ -75,7 +74,7 @@ def get_navigation_items(self, req):
7574
(
7675
"mainnav",
7776
"custom_reports",
78-
Markup('<a href="%s">Reports</a>' % req.href.wiki("Reports")),
77+
tag.a("Reports", href=req.href.wiki("Reports")),
7978
),
8079
]
8180

requirements.txt

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
# spam-filter doesn't work without babel (but somehow doesn't list it in its requirements)
2-
Trac[pygments, babel]==1.4.4
2+
Trac[pygments, babel]==1.6.0
33
dnspython==1.15
4-
spambayes == 1.1b1
5-
psycopg2==2.7.6.1 --no-binary=psycopg2
6-
docutils==0.14
4+
psycopg2==2-2.9.9
5+
#docutils==0.14
76
Django==1.11.29
87
libsass==0.17.0
9-
Genshi==0.7.7 # still required by some plugins
108

119
# Trac plugins
12-
https://trac.edgewall.org/browser/plugins/1.4/spam-filter?format=zip
13-
# TracXMLRPC from PyPI does not (yet) have a 1.2.0 release (compatible with Trac 1.4)
10+
https://trac.edgewall.org/browser/plugins/trunk/spam-filter?rev=17752&format=zip
11+
# TracXMLRPC from PyPI does not (yet) have a 1.2.0 release (compatible with Trac >=1.4)
1412
https://trac-hacks.org/browser/xmlrpcplugin/trunk?rev=18591&format=zip
1513

16-
oauthlib==2.1.0
17-
requests==2.20.1
18-
requests-oauthlib==1.0.0
19-
trac-github==2.3
14+
# No pypi release compatible with trac 1.6 yet
15+
trac-github[oauth] @ git+https://github.com/trac-hacks/trac-github.git@004b382bb3c76c4d52a04aaaf57d00807e14f0d2
2016

2117
gunicorn==19.10.0
2218
sentry-sdk==1.11.0

0 commit comments

Comments
 (0)