Bug 1445944 - [mozbase] Bump mozprofile and mozrunner version numbers draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 13 Apr 2018 18:22:46 -0400
changeset 783208 00e438427218c275d1b735f3dd16b6db95f8f2df
parent 783207 72ce07ef3336ef9042d48479e99412d79a78cfe6
push id106641
push userahalberstadt@mozilla.com
push dateMon, 16 Apr 2018 19:49:26 +0000
bugs1445944
milestone61.0a1
Bug 1445944 - [mozbase] Bump mozprofile and mozrunner version numbers Neither package has any backwards incompatible changes. However, I decided to bump the major version for mozrunner as this is the first time it's switching to SemVer (mozprofile already made the switch). It seemed cleaner to have the switch happen after a major bump. In both cases, I've added major version upper limit guards to each dependency. This way we won't break these packages in the future when we land backwards incompatible changes to the dependendencies. MozReview-Commit-ID: 5SIpMGTS3cc
testing/mozbase/mozprofile/setup.py
testing/mozbase/mozrunner/setup.py
--- a/testing/mozbase/mozprofile/setup.py
+++ b/testing/mozbase/mozprofile/setup.py
@@ -2,22 +2,23 @@
 # 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
 
 from setuptools import setup
 
 PACKAGE_NAME = 'mozprofile'
-PACKAGE_VERSION = '1.0.0'
+PACKAGE_VERSION = '1.1.0'
 
-deps = ['mozfile >= 1.0',
-        'mozlog >= 3.0',
-        'six >= 1.10.0'
-        ]
+deps = [
+    'mozfile==1.*',
+    'mozlog==3.*',
+    'six>=1.10.0,<2',
+]
 
 setup(name=PACKAGE_NAME,
       version=PACKAGE_VERSION,
       description="Library to create and modify Mozilla application profiles",
       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)',
--- a/testing/mozbase/mozrunner/setup.py
+++ b/testing/mozbase/mozrunner/setup.py
@@ -3,28 +3,29 @@
 # 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 = '6.15'
+PACKAGE_VERSION = '7.0.0'
 
 desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"""
 
-deps = ['mozdevice >= 0.37',
-        'mozfile >= 1.0',
-        'mozinfo >= 0.7',
-        'mozlog >= 3.0',
-        'mozprocess >= 0.23',
-        'mozprofile >= 0.18',
-        'six >= 1.10.0',
-        ]
+deps = [
+    'mozdevice>=0.37,<1',
+    'mozfile==1.*',
+    'mozinfo>=0.7,<1',
+    '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,