All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Asselstine <mark.asselstine@windriver.com>
To: <meta-virtualization@yoctoproject.org>, <bruce.ashfield@windriver.com>
Subject: [m-c-s][PATCH 05/11] python-glanceclient: uprev to latest stable/pike
Date: Mon, 13 Nov 2017 14:32:25 -0500	[thread overview]
Message-ID: <1510601551-32245-6-git-send-email-mark.asselstine@windriver.com> (raw)
In-Reply-To: <1510601551-32245-1-git-send-email-mark.asselstine@windriver.com>

Update runtime dependencies based on requirements.txt, drop old
patches. Required a downrev of python-warlock as this verison is not
compatible with v1.3.0.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 .../fix_glanceclient_memory_leak.patch             | 37 ----------------------
 .../python/python-glanceclient_git.bb              | 24 ++++++++------
 2 files changed, 15 insertions(+), 46 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-glanceclient/fix_glanceclient_memory_leak.patch

diff --git a/meta-openstack/recipes-devtools/python/python-glanceclient/fix_glanceclient_memory_leak.patch b/meta-openstack/recipes-devtools/python/python-glanceclient/fix_glanceclient_memory_leak.patch
deleted file mode 100644
index 754d83f..0000000
--- a/meta-openstack/recipes-devtools/python/python-glanceclient/fix_glanceclient_memory_leak.patch
+++ /dev/null
@@ -1,37 +0,0 @@
----
- glanceclient/openstack/common/apiclient/client.py |   10 ++++++++++
- 1 file changed, 10 insertions(+)
-
---- a/glanceclient/openstack/common/apiclient/client.py
-+++ b/glanceclient/openstack/common/apiclient/client.py
-@@ -90,6 +90,7 @@
-         self.user_agent = user_agent or self.user_agent
- 
-         self.times = []  # [("item", starttime, endtime), ...]
-+        self.times_max_len = 200
-         self.timings = timings
- 
-         # requests within the same session can reuse TCP connections from pool
-@@ -142,6 +143,12 @@
-     def reset_timings(self):
-         self.times = []
- 
-+    def get_timings_max_len(self):
-+        return self.times_max_len
-+
-+    def set_timings_max_len(self, new_len):
-+        self.times_max_len = new_len
-+
-     def request(self, method, url, **kwargs):
-         """Send an http request with the specified characteristics.
- 
-@@ -173,6 +180,9 @@
-         if self.timings:
-             self.times.append(("%s %s" % (method, url),
-                                start_time, time.time()))
-+            # remove oldest items until we maintain max length
-+            while len(self.times) > self.times_max_len:
-+                del self.times[0]
-         self._http_log_resp(resp)
- 
-         if resp.status_code >= 400:
diff --git a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
index 22dc854..00ea2ab 100644
--- a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
@@ -9,12 +9,11 @@ DEPENDS += " \
         python-pbr \
         "
 
-SRCREV = "86635868c1eb3aec0c065c12cb9928c613940f36"
-PV = "1.1.0+git${SRCPV}"
+SRCREV = "13b25ff1fed908cfe7b4e719a97efd7121e3be96"
+PV = "2.8.0+git${SRCPV}"
 
 SRC_URI = "\
-	git://github.com/openstack/${BPN}.git;protocol=https \
-	file://fix_glanceclient_memory_leak.patch \
+	git://github.com/openstack/${BPN}.git;branch=stable/pike \
 	file://glance-api-check.sh \
 	"
 
@@ -29,13 +28,20 @@ DEPENDS += " \
     python-pbr-native \
     "
 
-RDEPENDS_${PN} = "gmp \
+RDEPENDS_${PN} += " \
+   gmp \
+   bash \
+   python-pbr \
+   python-babel \
+   python-prettytable \
+   python-keystoneauth1 \
+   python-requests \
    python-warlock \
+   python-six \
+   python-oslo.utils \
+   python-oslo.i18n \
+   python-wrapt \
    python-pyopenssl \
-   python-prettytable \
-   python-setuptools-git \
-   python-pbr \
-   bash \
    "
 
 MONITOR_CHECKS_${PN} += "\
-- 
2.7.4



  parent reply	other threads:[~2017-11-13 19:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13 19:32 [m-c-s][PATCH 00/11] uprev horizon to latest stable/pike Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 01/11] python-keystone: launch service via uwsgi Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 02/11] python-ceilometerclient: uprev to latest stable/pike Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 03/11] python-cinderclient: " Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 04/11] python-warlock: add v1.2.0 required by python-glanceclient Mark Asselstine
2017-11-13 19:32 ` Mark Asselstine [this message]
2017-11-13 19:32 ` [m-c-s][PATCH 06/11] python-osc-lib: uprev to v1.7.0 Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 07/11] python-cliff: uprev to v2.9.1 Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 08/11] python-neutronclient: uprev to latest stable/pike Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 09/11] python-novaclient: " Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 10/11] python-xstatic-*: uprev to required versions Mark Asselstine
2017-11-13 19:32 ` [m-c-s][PATCH 11/11] python-horizon: uprev to latest stable/pike Mark Asselstine
2017-11-14 17:39 ` [m-c-s][PATCH 00/11] uprev horizon " Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1510601551-32245-6-git-send-email-mark.asselstine@windriver.com \
    --to=mark.asselstine@windriver.com \
    --cc=bruce.ashfield@windriver.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.