Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r?jlund draft
authorGregory Szorc <gps@mozilla.com>
Wed, 04 May 2016 17:56:12 -0700
changeset 363552 66a2bf91e69a409efa1c226c8ef04569e3591192
parent 363551 d349feb36ee8ed2d401e11807ae47291d51ab464
child 363553 a575614b75a4c5daff301355233c538bb6b4a71c
push id17238
push usergszorc@mozilla.com
push dateThu, 05 May 2016 01:21:06 +0000
reviewersjlund
bugs1270317
milestone49.0a1
Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r?jlund We had a test environment running on Python 2.6 and an ancient version of Mercurial. AFAICT we run Python 2.7 everywhere, so this environment can be dropped. We also upgrade to Mercurial 3.7.3, as that is what automation now runs. MozReview-Commit-ID: 7WTyD3CUjtj
testing/mozharness/requirements.txt
testing/mozharness/tox.ini
testing/taskcluster/tasks/tests/mozharness-gecko.yml
--- a/testing/mozharness/requirements.txt
+++ b/testing/mozharness/requirements.txt
@@ -3,23 +3,23 @@
 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==2.6.3
+mercurial==3.7.3
 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
 unittest2==0.5.1
 virtualenv==1.5.1
 wsgiref==0.1.2
 urllib3==1.9.1
 google-api-python-client==1.3.1
-oauth2client==1.4.2
\ No newline at end of file
+oauth2client==1.4.2
--- a/testing/mozharness/tox.ini
+++ b/testing/mozharness/tox.ini
@@ -1,32 +1,27 @@
 [tox]
-envlist = py27-hg2.6
+envlist = py27-hg37
 
 [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-hg2.6]
+[testenv:py27-hg3.7]
 deps =
     {[base]deps}
-    mercurial==2.6.2
-
-[testenv:py27-hg3.2]
-deps =
-    {[base]deps}
-    mercurial==3.2.4
+    mercurial==3.7.3
 
 [testenv:py27-coveralls]
 deps=
     python-coveralls==2.4.3
 commands=
     coveralls
--- a/testing/taskcluster/tasks/tests/mozharness-gecko.yml
+++ b/testing/taskcluster/tasks/tests/mozharness-gecko.yml
@@ -25,17 +25,17 @@ task:
 
     command:
       - bash
       - -cx
       - >
           tc-vcs checkout ./gecko {{base_repository}} {{head_repository}} {{head_rev}} {{head_ref}} &&
           cd gecko/testing/mozharness &&
           pip install tox &&
-          tox -e py27-hg2.6 -e py27-hg3.2
+          tox -e py27-hg3.7
   extra:
     extra:
         build_product: '{{build_product}}'
     locations:
         build: null
         tests: null
     treeherder:
         machine: