Skip to contentSkip to conversation

Fix build error "distutils.errors.DistutilsError"

PATCH In review Lei Maohui 2 participants 10 messages May 25, 2018 – May 29, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

cover Fix build error "distutils.errors.DistutilsError"

Fix build error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

Lei Maohui (8):
python-osc-lib: Fix build error as following:
python-os-client-config: Fix build error as following:
python-oslo.messaging: Fix build error as following:
python-oslo.service: Fix build error as following:
python-oslo.middleware: Fix build error as following:
python-sqlalchemy-migrate: Fix build error as following:
python-tenacity: Fix build error as following:
python-pycadf: Fix build error as following:

 .../recipes-devtools/python/python-os-client-config_git.bb         | 4 ++++
 meta-openstack/recipes-devtools/python/python-osc-lib_1.7.0.bb     | 5 +++++
 .../recipes-devtools/python/python-oslo.messaging_git.bb           | 5 +++++
 .../recipes-devtools/python/python-oslo.middleware_git.bb          | 5 +++++
 meta-openstack/recipes-devtools/python/python-oslo.service_git.bb  | 7 ++++++-
 meta-openstack/recipes-devtools/python/python-pycadf_git.bb        | 4 ++++
 .../recipes-devtools/python/python-sqlalchemy-migrate_0.11.0.bb    | 7 ++++++-
 meta-openstack/recipes-devtools/python/python-tenacity_4.5.0.bb    | 5 +++++
 8 files changed, 40 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/8 python-osc-lib: Fix build error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-osc-lib_1.7.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-osc-lib_1.7.0.bb +5 -0
index 64e1a17..e3328d7 100644
@@ -9,6 +9,11 @@ SRC_URI[sha256sum] = "7dee72f13e5478f8d3d836267fa019b99ed4d5e478fc08bbcc9e23029d
 
 inherit setuptools pypi
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-six \
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/8 python-os-client-config: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-os-client-config_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-openstack/recipes-devtools/python/python-os-client-config_git.bb +4 -0
index e57abbb..a48f2c4 100644
@@ -17,6 +17,10 @@ inherit setuptools
 DEPENDS += " \
         python-pbr \
         "
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
 
 RDEPENDS_${PN} += " \
         python-pbr \
Signature · 1 line
1.9.1
author
#3 lore raw

PATCH 3/8 python-oslo.messaging: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb +5 -0
index 6cd5d76..7fe66f1 100644
@@ -20,6 +20,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 # RDEPENDS_default: 
 RDEPENDS_${PN} += " \
         bash \
Signature · 1 line
1.9.1
author
#4 lore raw

PATCH 4/8 python-oslo.service: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-oslo.service_git.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-oslo.service_git.bb +6 -1
index 0cea229..7b72ad2 100644
@@ -19,6 +19,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-webob \
@@ -35,4 +40,4 @@ RDEPENDS_${PN} += " \
         python-paste \
         python-routes \
         "
-	
\ No newline at end of file
+	
Signature · 1 line
1.9.1
author
#5 lore raw

PATCH 5/8 python-oslo.middleware: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-oslo.middleware_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-oslo.middleware_git.bb +5 -0
index b02d653..3a1d4d9 100644
@@ -20,6 +20,11 @@ DEPENDS += " \
         python-pip \
         python-pbr \
         "
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 
 # RDEPENDS_default: 
 RDEPENDS_${PN} += " \
Signature · 1 line
1.9.1
author
#6 lore raw

PATCH 6/8 python-sqlalchemy-migrate: Fix build error as following:

In reply to Lei Maohui

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')

---
 .../recipes-devtools/python/python-sqlalchemy-migrate_0.11.0.bb    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.11.0.bb +6 -1
index 715d2cd..f66476f 100644
@@ -11,6 +11,11 @@ SRC_URI[sha256sum] = "e68af5e3e0561f629d4eb23d9d0ea77d2649747f2eff37fd29aece7461
 
 inherit setuptools
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-sqlalchemy \
@@ -19,4 +24,4 @@ RDEPENDS_${PN} += " \
         python-sqlparse \
         python-tempita \
         "
-	
\ No newline at end of file
+	
Signature · 1 line
1.9.1
author
#7 lore raw

PATCH 7/8 python-tenacity: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-tenacity_4.5.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-tenacity_4.5.0.bb +5 -0
index e48a95b..ffb3258 100644
@@ -11,6 +11,11 @@ SRC_URI[sha256sum] = "e5eb0009d7fef345ffd27e43122ec288418b460952aeefde60df8e62c3
 
 inherit setuptools
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-six \
         python-futures \
Signature · 1 line
1.9.1
author
#8 lore raw

PATCH 8/8 python-pycadf: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-pycadf_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-openstack/recipes-devtools/python/python-pycadf_git.bb +4 -0
index 44b4498..58cb5bf 100644
@@ -20,6 +20,10 @@ DEPENDS += " \
         python-pip \
         python-pbr \
         "
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
 
 RDEPENDS_${PN} += " \
       python-babel \
Signature · 1 line
1.9.1
#9 lore raw
In reply to Lei Maohui

merged.

Bruce

Quoted 44 lines · Lei Maohui

Fix build error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

Lei Maohui (8):
python-osc-lib: Fix build error as following:
python-os-client-config: Fix build error as following:
python-oslo.messaging: Fix build error as following:
python-oslo.service: Fix build error as following:
python-oslo.middleware: Fix build error as following:
python-sqlalchemy-migrate: Fix build error as following:
python-tenacity: Fix build error as following:
python-pycadf: Fix build error as following:

 .../recipes-devtools/python/python-os-client-config_git.bb         | 4
++++
 meta-openstack/recipes-devtools/python/python-osc-lib_1.7.0.bb     | 5
+++++
 .../recipes-devtools/python/python-oslo.messaging_git.bb           | 5
+++++
 .../recipes-devtools/python/python-oslo.middleware_git.bb          | 5
+++++
 meta-openstack/recipes-devtools/python/python-oslo.service_git.bb  | 7
++++++-
 meta-openstack/recipes-devtools/python/python-pycadf_git.bb        | 4
++++
 .../recipes-devtools/python/python-sqlalchemy-migrate_0.11.0.bb    | 7
++++++-
 meta-openstack/recipes-devtools/python/python-tenacity_4.5.0.bb    | 5
+++++
 8 files changed, 40 insertions(+), 2 deletions(-)

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