Closed Bug 603449 Opened 14 years ago Closed 14 years ago

[pamo] Upgrade to jinja 2.5.x

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: oremj)

Details

We need to install MarkupSafe to get C speedups[1].

I think we want the optional C debug support, so we should build like this[2]:

sudo python setup.py --with-debugsupport install


[1]: http://jinja.pocoo.org/2/documentation/intro#more-speed-with-markupsafe
[2]: http://jinja.pocoo.org/2/documentation/intro#enable-the-debug-support-module
It says that you only need to run --with-debugsupport if you're on Python 2.4. Am I misunderstanding that?

Assuming we build a MarkupSafe RPM or other deployment method, we'll definitely want to go ahead with this on the SUMO staging servers as well.
(In reply to comment #1)
> It says that you only need to run --with-debugsupport if you're on Python 2.4.
> Am I misunderstanding that?

I've seen evidence that it can be useful outside of py24: https://bugzilla.redhat.com/show_bug.cgi?id=627347#c10

And we could always use more Turbo C code.
Assignee: server-ops → jeremy.orem+bugs
Installed on PAMO.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.