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
--- 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"