Bug 1270951 - Remove Python 2.6, hg 2.6 from tox environments, add hg 3.7; r?jlund draft
authorGregory Szorc <gps@mozilla.com>
Fri, 06 May 2016 14:18:44 -0700
changeset 6885 dbef11b4df70b3a19aa5114543c2d548fd5d7856
parent 6884 7b4919729942dca7e0619fa7d376f51688a6f4bb
child 6886 4d014c3a4558c358ccbedfedd678a1db804420a9
child 6890 fa408c4a158c3bad60bbe2e619825c65cf9b41c6
push id68
push userbmo:gps@mozilla.com
push dateTue, 17 May 2016 20:40:47 +0000
reviewersjlund
bugs1270951
Bug 1270951 - Remove Python 2.6, hg 2.6 from tox environments, add hg 3.7; r?jlund I'm pretty sure we don't run Python 2.6 anywhere in automation any more. We also have Mercurial 3.7.3 deployed nearly everywhere. So remove the outdated environments and replace with Python 2.7 running Mercurial 3.7. MozReview-Commit-ID: AWznvMko4j8
tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,10 @@
 [tox]
-envlist = py27-hg2.6, py26-hg2.6
-# py27-hg3.1 is also available
+envlist = py27-hg3.7
 
 [base]
 deps =
     nose==1.3.0
     rednose==0.4.1
     coverage==3.6
     pep8==1.4.3
     jinja2==2.6
@@ -19,37 +18,24 @@ setenv =
     PYTHONPATH = {toxinidir}/lib/python/vendor/poster-0.8.1:{toxinidir}/lib/python:{toxinidir}/lib/python/vendor:{toxinidir}/sut_tools
     HGRCPATH = {toxinidir}/lib/python/mozilla_buildtools/test/hgrc
 
 commands =
     coverage erase
     coverage run --branch --source {toxinidir}/lib/python {envbindir}/nosetests -v --with-xunit --rednose --force-color {toxinidir}/lib/python {posargs}
 
 
-[testenv:py27-hg2.6]
+[testenv:py27-hg3.7]
 basepython = python2.7
 deps =
     {[base]deps}
-    mercurial==2.6.2
-
-[testenv:py27-hg3.2]
-basepython = python2.7
-deps =
-    {[base]deps}
-    mercurial==3.2.1
+    mercurial==3.7.3
 
 [testenv:py27-coveralls]
 basepython = python2.7
 deps=
     python-coveralls==2.4.3
 commands=
     coveralls
 
-[testenv:py26-hg2.6]
-basepython = python2.6
-deps =
-    {[base]deps}
-    mercurial==2.6.2
-    unittest2==1.1.0
-
 [pep8]
 max-line-length = 159
 exclude = vendor,.tox,