Skip to contentSkip to conversation

python-futurist: uprev to v0.21.0

PATCH In review Mark Asselstine 2 participants 6 messages Jan 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 python-futurist: uprev to v0.21.0

This version is required to support python-oslo.messaging. Other than the typical version and checksum updates, minor updates to the runtime dependencies were required.

---
 .../{python-futurist_0.8.0.bb => python-futurist_0.21.0.bb}   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-futurist_0.8.0.bb => python-futurist_0.21.0.bb} (56%)
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +8 -3
similarity index 56%
rename from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb
rename to meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb
index 3ad3993..27f2860 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
 SRCNAME = "futurist"
 
-SRC_URI = "https://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.io/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "ccef2f5a651fffcfe13c71d91262be4d"
-SRC_URI[sha256sum] = "36f48b56af54c44db848fe4a23c2cb70bd334237e11212a16885a55aca881ddd"
+SRC_URI[md5sum] = "da7e87d273f1982c24e9fe8a24f81259"
+SRC_URI[sha256sum] = "086dd646c067d4ef6dc9c04000828acfbdc00842bd37c64825b596a6976509b4"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
@@ -17,10 +17,15 @@ inherit setuptools
 
 DEPENDS += " \
         python-pip \
+        python-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
+        python-pbr \
+        python-six \
+        python-monotonic \
         python-futures \
         python-contextlib2 \
+        python-prettytable \
         "
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/4 python-amqp: bring back the 1.x.x series

The stable/newton version of python-oslo.messaging requires python-amqp <2.0.0 so we will bring back the latest version of the 1.x.x series (removed by commit 3af287f179a0), uprev to v1.4.9 and make it the PREF version.

---
 meta-openstack/conf/layer.conf                           |  1 +
 .../recipes-devtools/python/python-amqp_1.4.9.bb         | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-amqp_1.4.9.bb
meta-openstack/conf/layer.conf +1 -0
index 4007cb9..e940478 100644
@@ -19,5 +19,6 @@ PREFERRED_VERSION_python-django = "1.8.6"
 PREFERRED_VERSION_python-netaddr = "0.7.19"
 PREFERRED_VERSION_python-sqlalchemy = "1.0.16"
 PREFERRED_VERSION_python-requests = "2.12.0"
+PREFERRED_VERSION_python-amqp = "1.4.9"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
meta-openstack/recipes-devtools/python/python-amqp_1.4.9.bb new file +16 -0
new file mode 100644
index 0000000..9768e09
@@ -0,0 +1,16 @@
+DESCRIPTION = "Low-level AMQP client for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/amqp/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1702a92c723f09e3fab3583b165a8d90"
+
+SRCNAME = "amqp"
+
+SRC_URI = "https://pypi.io/packages/source/a/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "df57dde763ba2dea25b3fa92dfe43c19"
+SRC_URI[sha256sum] = "2dea4d16d073c902c3b89d9b96620fb6729ac0f7a923bbc777cb4ad827c0c61a"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/4 python-pika-pool: initial recipe

In reply to Mark Asselstine

This is required by the stable/newton version of
python-oslo.messaging.

---
 .../python/python-pika-pool_0.1.3.bb                | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-pika-pool_0.1.3.bb
meta-openstack/recipes-devtools/python/python-pika-pool_0.1.3.bb new file +21 -0
new file mode 100644
index 0000000..2cac89e
@@ -0,0 +1,21 @@
+SUMMARY = "pools for your pikas"
+HOMEPAGE = "https://github.com/bninja/pika-pool"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+SRCNAME = "pika-pool"
+
+SRC_URI = "https://pypi.io/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[md5sum] = "0a3897e991aa3da948e03660313c1980"
+SRC_URI[sha256sum] = "f3985888cc2788cdbd293a68a8b5702a9c955db6f7b8b551aeac91e7f32da397"
+
+inherit setuptools
+
+RDEPENDS_${PN} += " \
+    python-pika \
+    "
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/4 python-oslo.messaging: uprev to latest stable/newton

In reply to Mark Asselstine

Requires updates to python-futurist, requires a version of python-amqp<2.0, new recipe for python-pika-pool and update python-oslo.middleware

---
 .../recipes-devtools/python/python-oslo.messaging_git.bb  | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb +9 -6
index e6c8bf4..a960771 100644
@@ -5,10 +5,10 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c46f31914956e4579f9b488e71415ac8"
 
 SRCNAME = "oslo.messaging"
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/newton"
 
-PV = "2.7.0+git${SRCPV}"
-SRCREV = "4f49b7e25373d624ae9146dd46d92b90022c979f"
+PV = "5.10.1+git${SRCPV}"
+SRCREV = "cc1ec4e7f3b395d5f25e7d4922e6359b58a2206a"
 S = "${WORKDIR}/git"
 
 inherit setuptools
@@ -25,8 +25,6 @@ RDEPENDS_${PN} += " \
         bash \
         python-pbr \
         python-cachetools \
-        python-trollius \
-        python-aioeventlet \
         python-futurist \
         python-oslo.config \
         python-oslo.context \
@@ -37,6 +35,8 @@ RDEPENDS_${PN} += " \
         python-oslo.service \
         python-oslo.i18n \
         python-stevedore \
+        python-debtcollector \
+        python-monotonic \
         python-six \
         python-eventlet \
         python-greenlet \
@@ -44,5 +44,8 @@ RDEPENDS_${PN} += " \
         python-pyyaml \
         python-amqp \
         python-kombu \
-        python-aioeventlet \
+        python-pika \
+        python-pika-pool \
+        python-futures \
+        python-retrying \
         "
Signature · 1 line
2.7.4
#4 lore raw
In reply to Mark Asselstine

Bruce, I know there are a bunch of commits now queued up. If you want me to put them in a repo so you can pull instead of merging from email let me know and I will set something up.

Mark

Quoted 55 lines · Mark Asselstine

This version is required to support python-oslo.messaging. Other than the typical version and checksum updates, minor updates to the runtime dependencies were required.

---
 .../{python-futurist_0.8.0.bb => python-futurist_0.21.0.bb}   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-futurist_0.8.0.bb => python-futurist_0.21.0.bb} (56%)
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +8 -4
similarity index 56%
rename from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb
rename to meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb
index 3ad3993..27f2860 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
 SRCNAME = "futurist"
 
-SRC_URI = "https://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.io/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "ccef2f5a651fffcfe13c71d91262be4d"
-SRC_URI[sha256sum] = "36f48b56af54c44db848fe4a23c2cb70bd334237e11212a16885a55aca881ddd"
+SRC_URI[md5sum] = "da7e87d273f1982c24e9fe8a24f81259"
+SRC_URI[sha256sum] = "086dd646c067d4ef6dc9c04000828acfbdc00842bd37c64825b596a6976509b4"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
@@ -17,10 +17,15 @@ inherit setuptools
 
 DEPENDS += " \
         python-pip \
+        python-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
+        python-pbr \
+        python-six \
+        python-monotonic \
         python-futures \
         python-contextlib2 \
+        python-prettytable \
         "
 
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

#5 lore raw

nope. The email are fine this time. mutt sorts them quite nicely.

These are all now merged.

Bruce

Quoted 80 lines · Mark Asselstine

Bruce, I know there are a bunch of commits now queued up. If you want me to put them in a repo so you can pull instead of merging from email let me know and I will set something up.

Mark

Quoted 7 lines · Mark Asselstine

This version is required to support python-oslo.messaging. Other than the typical version and checksum updates, minor updates to the runtime dependencies were required.

---
 .../{python-futurist_0.8.0.bb => python-futurist_0.21.0.bb}   | 11

++++++++---

Quoted 2 lines
 1 file changed, 8 insertions(+), 3 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-futurist_0.8.0.bb

=> python-futurist_0.21.0.bb} (56%)

Review

Quoted 2 lines
(quoted diff) +0 -0

futurist_0.8.0.bb b/meta-openstack/recipes-devtools/python/python- futurist_0.21.0.bb

Quoted 2 lines

similarity index 56%
rename from meta-openstack/recipes-devtools/python/python-

futurist_0.8.0.bb

Quoted 1 line

rename to meta-openstack/recipes-devtools/python/python-

futurist_0.21.0.bb

meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=

Quoted 4 lines

index 3ad3993..27f2860 100644

meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +0 -0
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=

1dece7821bf3fd70fe1309eaa37d52a2"

meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"

Quoted 4 lines
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +0 -1
 SRCNAME = "futurist"
 
-SRC_URI = "https://pypi.python.org/packages/source/f/${SRCNAME}/$

{SRCNAME}-${PV}.tar.gz"

meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5= · line 8

Quoted 1 line
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +1 -0
+SRC_URI = "https://pypi.io/packages/source/f/${SRCNAME}/${SRCNAME}

-${PV}.tar.gz"

meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5= · line 10

Quoted 3 lines
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +0 -2
-SRC_URI[md5sum] = "ccef2f5a651fffcfe13c71d91262be4d"
-SRC_URI[sha256sum] = "36f48b56af54c44db848fe4a23c2cb

70bd334237e11212a16885a55aca881ddd"

meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5= · line 10

Quoted 2 lines
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +2 -0
+SRC_URI[md5sum] = "da7e87d273f1982c24e9fe8a24f81259"
+SRC_URI[sha256sum] = "086dd646c067d4ef6dc9c04000828a

cfbdc00842bd37c64825b596a6976509b4"

Quoted 22 lines
meta-openstack/recipes-devtools/python/python-futurist_0.21.0.bb renamed from meta-openstack/recipes-devtools/python/python-futurist_0.8.0.bb +5 -1
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
@@ -17,10 +17,15 @@ inherit setuptools
 
 DEPENDS += " \
         python-pip \
+        python-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
+        python-pbr \
+        python-six \
+        python-monotonic \
         python-futures \
         python-contextlib2 \
+        python-prettytable \
         "
 
--

2.7.4

Quoted 5 lines

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"