Bug 1388013 - Remove restriction of Python 2 in mozrunner; r?ahal draft
authorDave Hunt <dhunt@mozilla.com>
Wed, 30 May 2018 13:21:51 +0100
changeset 802114 36a80d720f7370cb2698e8ffe4a1f47cfa56f9ba
parent 802113 68610b0f5d4a9303f5de75ce6094d7a402cabff7
push id111822
push userbmo:dave.hunt@gmail.com
push dateThu, 31 May 2018 11:50:12 +0000
reviewersahal
bugs1388013
milestone62.0a1
Bug 1388013 - Remove restriction of Python 2 in mozrunner; r?ahal MozReview-Commit-ID: 1ARx4Jy2Z83
testing/mozbase/mozrunner/setup.py
--- a/testing/mozbase/mozrunner/setup.py
+++ b/testing/mozbase/mozrunner/setup.py
@@ -1,15 +1,14 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
 # You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from __future__ import absolute_import
 
-import sys
 from setuptools import setup, find_packages
 
 PACKAGE_NAME = 'mozrunner'
 PACKAGE_VERSION = '7.0.1'
 
 desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"""
 
 deps = [
@@ -19,18 +18,16 @@ deps = [
     'mozlog==3.*',
     'mozprocess>=0.23,<1',
     'mozprofile>=1.1.0,<2',
     'six>=1.10.0,<2',
 ]
 
 EXTRAS_REQUIRE = {'crash': ['mozcrash >= 1.0']}
 
-# we only support python 2 right now
-assert sys.version_info[0] == 2
 
 setup(name=PACKAGE_NAME,
       version=PACKAGE_VERSION,
       description=desc,
       long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html",
       classifiers=['Environment :: Console',
                    'Intended Audience :: Developers',
                    'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',