]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix requirements.txt to support netaddr 0.7.14 33/5333/5
authorvsaienko <vsaienko@mirantis.com>
Mon, 6 Apr 2015 14:37:54 +0000 (17:37 +0300)
committerAlexei Sheplyakov <asheplyakov@mirantis.com>
Wed, 8 Apr 2015 16:22:11 +0000 (16:22 +0000)
netaddr >= 0.7.14 is required to support InfiniBand network interfaces,
lift the <= 0.7.13 restriction in the requirements.txt

Related-Bug: #1439079

Change-Id: Ied6f39de0a7bd3150a12a1cec8ca4d36cd1b5931

rpm/SOURCES/0002-fix-requirements.patch [moved from rpm/SOURCES/0002-Adjust-kombu-version-in-requirements.txt.patch with 70% similarity]
rpm/SPECS/openstack-cinder.spec
trusty/debian/changelog
trusty/debian/patches/0001-requirements.txt-adjust-for-Ubuntu-14.04.patch

similarity index 70%
rename from rpm/SOURCES/0002-Adjust-kombu-version-in-requirements.txt.patch
rename to rpm/SOURCES/0002-fix-requirements.patch
index f6e58ee4b92c80bebf45515de554853a0c9b347c..9b04e79f29284185576767bdd1aa63cac99d2908 100644 (file)
@@ -1,30 +1,33 @@
 From feb3187b939e56a94ae55a6e63f4483420203ca1 Mon Sep 17 00:00:00 2001
 From: Maksym Yatsenko <myatsenko@mirantis.com>
-Date: Thu, 19 Mar 2015 18:55:20 +0200
+Date: Mon, 06 Apr 2015 18:55:20 +0200
 Subject: [PATCH] Adjust "kombu" version in requirements.txt
 
  Adjust "kombu" version in requirements.txt:
  set the lower bound - "kombu>=2.5.0" according to
  https://github.com/openstack/requirements/blob/stable/juno/global-requirements.txt#L43
  Related-bug:#1434093
+ Remove upper bound for netaddr, because MOS mirrors contains newer version (0.7.14)
 
 ---
  requirements.txt | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/requirements.txt b/requirements.txt
-index 0e29079..ecbe458 100644
+index 0e29079..90125eb 100644
 --- a/requirements.txt
 +++ b/requirements.txt
-@@ -10,7 +10,7 @@ eventlet>=0.15.1,<=0.15.2
+@@ -10,9 +10,9 @@ eventlet>=0.15.1,<=0.15.2
  greenlet>=0.3.2,<=0.4.2
  iso8601>=0.1.9,<=0.1.10
  keystonemiddleware>=1.0.0,<1.4.0
 -kombu>=3.0.7
 +kombu>=2.5.0
  lxml>=2.3,<=3.3.3
- netaddr>=0.7.12,<=0.7.13
+-netaddr>=0.7.12,<=0.7.13
++netaddr>=0.7.12
  oslo.config>=1.4.0,<=1.6.0 # Apache-2.0
+ oslo.db>=1.0.0,<1.1  # Apache-2.0
+ oslo.messaging>=1.4.0,<1.5.0
 -- 
 1.9.1
-
index f494459cd969ee3a4739052e28fb22cd2d323b8e..906c2c825fb61439f518591aa7f2bbd877a12882 100644 (file)
@@ -24,7 +24,7 @@ Source20:         cinder-sudoers
 # patches_base=2014.1.1
 #
 Patch0001: 0001-Remove-runtime-dep-on-python-pbr-python-d2to1.patch
-Patch0002: 0002-Adjust-kombu-version-in-requirements.txt.patch
+Patch0002: 0002-fix-requirements.patch
 
 BuildArch:        noarch
 BuildRequires:    intltool
@@ -302,6 +302,9 @@ fi
 %endif
 
 %changelog
+* Mon Apr 06 2015 Vasyl Saienko <vsaienko@mirantis.com> 2014.2.2
+- remove upper boud for netaddr because MOS mirrors contains newer version
+
 * Fri Mar 06 2015 Daniil Trishkin <dtrishkin@mirantis.com> - 2014.2.2
 - Update to upstream 2014.2.2
 
index 68a7944fc7c0ec7577fa8a5d532a0f866ac099b4..07302015b8354da846ee65a62d16be5e46cb1ba9 100644 (file)
@@ -1,3 +1,10 @@
+cinder (1:2014.2.2-fuel6.1+14.04+4) trusty; urgency=medium
+
+  * Fixed patch for requirements.txt, removed upper bound for netaddr
+    because MOS mirros contains newer version (netaddr 0.7.14)
+
+ -- Vasyl Saienko <vsaienko@mirantis.com> Mon, 06 Apr 2015 17:34:30 +0200
+
 cinder (1:2014.2.2-fuel6.1+14.04+3) trusty; urgency=medium
 
   * fix kombu version in requirements (Related-bug: #1434093)
index c3e0221ec6278b53f501085e5b5ab3fed927870e..b201b3804daa4cc2c463e19dcc81ef58ac3415a0 100644 (file)
@@ -10,16 +10,18 @@ Subject: [PATCH] requirements.txt-adjust-for-Ubuntu-14.04
   - "kombu>=2.5.0" according to:
   https://github.com/openstack/requirements/blob/stable/juno/global-requirements.txt#L43
   Related-bug:#1434093
+* Remove upper bound for netaddr, because MOS mirrors contains newer version
+  (0.7.14)
 
 ---
- requirements.txt | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
+ requirements.txt | 7 ++----
+ 1 file changed, 3 insertions(+), 5 deletions(-)
 
 diff --git a/requirements.txt b/requirements.txt
-index 0e29079..ab5ace1 100644
+index 0e29079..1e49918 100644
 --- a/requirements.txt
 +++ b/requirements.txt
-@@ -4,13 +4,12 @@
+@@ -4,15 +4,14 @@
  
  pbr>=0.6,!=0.7,<1.0
  anyjson>=0.3.3,<=0.3.3
@@ -32,8 +34,11 @@ index 0e29079..ab5ace1 100644
 -kombu>=3.0.7
 +kombu>=2.5.0
  lxml>=2.3,<=3.3.3
- netaddr>=0.7.12,<=0.7.13
+-netaddr>=0.7.12,<=0.7.13
++netaddr>=0.7.12
  oslo.config>=1.4.0,<=1.6.0 # Apache-2.0
+ oslo.db>=1.0.0,<1.1  # Apache-2.0
+ oslo.messaging>=1.4.0,<1.5.0
 @@ -27,7 +26,7 @@ python-glanceclient>=0.14.0,<=0.15.0
  python-novaclient>=2.18.0,<=2.20.0
  python-swiftclient>=2.2.0,<=2.3.1
@@ -49,6 +54,3 @@ index 0e29079..ab5ace1 100644
  WebOb>=1.2.3,<=1.3.1
 -wsgiref>=0.1.2
  oslo.i18n>=1.0.0,<=1.3.1 # Apache-2.0
--- 
-1.9.1
-