Skip to contentSkip to conversation

python-glancestore: requires python module enum

PATCH In review Josep Puigdemont 3 participants 5 messages Sep 23, 2015 – Sep 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-glancestore: requires python module enum

In capabilities, glance store imports enum, which is available since python 3.4. For earlier versions of python we can use the backported package python-enum34 from meta-python.

---
 meta-openstack/recipes-devtools/python/python-glancestore_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-glancestore_git.bb +1 -0
index b3aa2f3..43707ee 100644
@@ -22,6 +22,7 @@ DEPENDS += " \
         "
 
 RDEPENDS_${PN} = " \
+   python-enum34 \
    python-eventlet \
    python-iso8601 \
    python-six \
Signature · 1 line
1.9.1
#1 lore raw

I for got to mention that the patch should be applicable to master too, but I have not run any tests there.

/Josep

Quoted 29 lines · Josep Puigdemont

In capabilities, glance store imports enum, which is available since python 3.4. For earlier versions of python we can use the backported package python-enum34 from meta-python.

---
 meta-openstack/recipes-devtools/python/python-glancestore_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-glancestore_git.bb +1 -0
index b3aa2f3..43707ee 100644
@@ -22,6 +22,7 @@ DEPENDS += " \
         "
 
 RDEPENDS_${PN} = " \
+   python-enum34 \
    python-eventlet \
    python-iso8601 \
    python-six \
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
#2 lore raw
Quoted 2 lines · Josep Puigdemont

I for got to mention that the patch should be applicable to master too, but I have not run any tests there.

If you are working mostly in Kilo I am happy to try to stay on top of commits you send against that branch and test them out on master, if you want to do the same for things I send to master and test them with Kilo, that would be great :).

I would love to get our basic usecase (boot controller and compute, log in to horizon, import and image, instantiate an instance...) working again on both branches.

Mark

Quoted 38 lines

/Josep

Quoted 24 lines · Josep Puigdemont

In capabilities, glance store imports enum, which is available since python 3.4. For earlier versions of python we can use the backported package python-enum34 from meta-python.

---
 meta-openstack/recipes-devtools/python/python-glancestore_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-glancestore_git.bb +1 -1
index b3aa2f3..43707ee 100644
@@ -22,6 +22,7 @@ DEPENDS += " \
         "
 
 RDEPENDS_${PN} = " \
+   python-enum34 \
    python-eventlet \
    python-iso8601 \
    python-six \
--

1.9.1

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

#3 lore raw
Quoted 9 lines · Mark Asselstine
Quoted 2 lines · Josep Puigdemont

I for got to mention that the patch should be applicable to master too, but I have not run any tests there.

If you are working mostly in Kilo I am happy to try to stay on top of commits you send against that branch and test them out on master, if you want to do the same for things I send to master and test them with Kilo, that would be great :).

Sounds like a plan ;-)
I intended to move to master rather soon too, but for as long as I use kilo I can do that, and even after that I can try to put some time on it. I agree that it is good to have both branches working.

Quoted 4 lines

I would love to get our basic usecase (boot controller and compute, log in to horizon, import and image, instantiate an instance...) working again on both branches.

I test the AIO image for now, and run it under qemu (it almost works), but I'll try building the different images too.

I have a few commits pending to upstream, mostly to meet the required dependencies to get the basic services running.

/Josep

Quoted 41 lines

Mark

Quoted 38 lines

/Josep

Quoted 24 lines · Josep Puigdemont

In capabilities, glance store imports enum, which is available since python 3.4. For earlier versions of python we can use the backported package python-enum34 from meta-python.

---
 meta-openstack/recipes-devtools/python/python-glancestore_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-glancestore_git.bb +1 -1
index b3aa2f3..43707ee 100644
@@ -22,6 +22,7 @@ DEPENDS += " \
         "
 
 RDEPENDS_${PN} = " \
+   python-enum34 \
    python-eventlet \
    python-iso8601 \
    python-six \
--

1.9.1

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

#4 lore raw
In reply to Josep Puigdemont

merged!

Bruce

Quoted 29 lines · Josep Puigdemont

In capabilities, glance store imports enum, which is available since python 3.4. For earlier versions of python we can use the backported package python-enum34 from meta-python.

---
 meta-openstack/recipes-devtools/python/python-glancestore_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-glancestore_git.bb +1 -1
index b3aa2f3..43707ee 100644
@@ -22,6 +22,7 @@ DEPENDS += " \
         "
 
 RDEPENDS_${PN} = " \
+   python-enum34 \
    python-eventlet \
    python-iso8601 \
    python-six \
--

1.9.1

--
_______________________________________________
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"