ansible: upgrade to Pygments 2.1.1 (bug 1159730); r?smacleod draft
authorGregory Szorc <gps@mozilla.com>
Fri, 19 Feb 2016 15:46:44 -0800
changeset 7290 73feb8aba264ae0a3b146cf1fd182fb49a3b7604
parent 7289 5e7da07ff6ee24e424fe86cd4180b3c870ef3404
push id649
push usergszorc@mozilla.com
push dateFri, 19 Feb 2016 23:46:48 +0000
reviewerssmacleod
bugs1159730
ansible: upgrade to Pygments 2.1.1 (bug 1159730); r?smacleod This will upgrade Pygments on Mercurial and MozReview to 2.1.1. Previously we were running 2.0.1 with a cherry-picked patch to support .jsm detection as JavaScript. A quick glance at the diff between the packages doesn't seem to reveal any significant API changes. So this will hopefully be a drop-in replacement. MozReview-Commit-ID: KqefJOvrSki
ansible/tasks/pygments.yml
--- a/ansible/tasks/pygments.yml
+++ b/ansible/tasks/pygments.yml
@@ -1,9 +1,10 @@
 ---
-# Until there is a Pygments >2.0.2, we run our own distribution with
-# cherry picked patches to get the functionality developers want.
+# Pygments doesn't release very often and we've historically had to cherry
+# pick upstream patches so they are deployed sooner. So we install
+# Pygments from source control.
 #
 # We need --upgrade and --force-reinstall to ensure existing installed
 # are overwritten. --no-deps is present to prevent unverified
 # dependencies from slipping in (we should use peep for those).
 - name: install custom pygments distribution into virtualenv
-  command: "{{ pip | mandatory }} install --upgrade --no-deps --force-reinstall hg+https://hg.mozilla.org/users/gszorc_mozilla.com/pygments@04db54f27b466caa40e7bbfcf25c67579b5ecff9#egg=Pygments"
+  command: "{{ pip | mandatory }} install --upgrade --no-deps --force-reinstall hg+https://hg.mozilla.org/users/gszorc_mozilla.com/pygments@2935c3a59672e8ae74ffb7ea66ea6567f49782f6#egg=Pygments"