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
--- 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-hg3.7
[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: