Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r?aki draft
authorGregory Szorc <gps@mozilla.com>
Tue, 11 Apr 2017 14:26:29 -0700
changeset 560703 7f9a0e239cb13f268d90b4c7ec8b33f9da752867
parent 560702 b4753335be915b354dc23c89b45f006f502b86c1
child 623795 fa6b8acd39426fa568c64e7e9a5d2c5524f80064
push id53527
push userbmo:gps@mozilla.com
push dateTue, 11 Apr 2017 21:26:43 +0000
reviewersaki
bugs1330837
milestone55.0a1
Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r?aki Automation is now largely using Mercurial 4.1 with some lagging components still on 3.9 and a very small sliver of random parts still on 3.7.3. Let's update the mozharness tests to match what automation is using. FWIW, the Mercurial tests still pass on 3.9. MozReview-Commit-ID: BgZVDcx29mf
taskcluster/ci/source-test/python-tests.yml
testing/mozharness/requirements.txt
testing/mozharness/tox.ini
--- a/taskcluster/ci/source-test/python-tests.yml
+++ b/taskcluster/ci/source-test/python-tests.yml
@@ -94,17 +94,17 @@ mozharness:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
         using: run-task
         cache-dotcache: true
         command: >
             cd /home/worker/checkouts/gecko/testing/mozharness &&
             /usr/bin/pip2 install tox &&
-            /home/worker/.local/bin/tox -e py27-hg3.7
+            /home/worker/.local/bin/tox -e py27-hg4.1
     run-on-projects:
         - integration
         - release
     when:
         files-changed:
             - 'testing/mozharness/**'
 
 mozlint:
--- a/testing/mozharness/requirements.txt
+++ b/testing/mozharness/requirements.txt
@@ -3,17 +3,17 @@
 Cython==0.14.1
 Fabric==1.6.0
 coverage==3.6
 distribute==0.6.35
 dulwich==0.8.7
 hg-git==0.4.0
 logilab-astng==0.24.2
 logilab-common==0.59.0
-mercurial==3.7.3
+mercurial==4.1.2
 mock==1.0.1
 nose==1.2.1
 ordereddict==1.1
 paramiko==1.10.0
 pycrypto==2.6
 pyflakes==0.6.1
 pylint==0.27.0
 simplejson==2.1.1
--- a/testing/mozharness/tox.ini
+++ b/testing/mozharness/tox.ini
@@ -1,27 +1,27 @@
 [tox]
-envlist = py27-hg3.7
+envlist = py27-hg4.1
 
 [base]
 deps =
     coverage
     nose
     rednose
 
 [testenv]
 basepython = python2.7
 setenv =
     HGRCPATH = {toxinidir}/test/hgrc
 
 commands =
     coverage run --source configs,mozharness,scripts --branch {envbindir}/nosetests -v --with-xunit --rednose --force-color {posargs}
 
-[testenv:py27-hg3.7]
+[testenv:py27-hg4.1]
 deps =
     {[base]deps}
-    mercurial==3.7.3
+    mercurial==4.1.2
 
 [testenv:py27-coveralls]
 deps=
     python-coveralls==2.4.3
 commands=
     coveralls