* [Buildroot] [PATCH 1/1] package/python-protobuf: remove wheel dependency
@ 2020-09-20 9:04 Fabrice Fontaine
2020-09-20 13:38 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-09-20 9:04 UTC (permalink / raw)
To: buildroot
Remove unneeded wheel dependency which has been added in version 3.13.0
Fixes:
- http://autobuild.buildroot.org/results/371c686a10d6870933011b46d36b1879d29046b9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
....py-remove-unneeded-wheel-dependency.patch | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 package/python-protobuf/0001-python-setup.py-remove-unneeded-wheel-dependency.patch
diff --git a/package/python-protobuf/0001-python-setup.py-remove-unneeded-wheel-dependency.patch b/package/python-protobuf/0001-python-setup.py-remove-unneeded-wheel-dependency.patch
new file mode 100644
index 0000000000..1646f0808c
--- /dev/null
+++ b/package/python-protobuf/0001-python-setup.py-remove-unneeded-wheel-dependency.patch
@@ -0,0 +1,41 @@
+From 9f8a6ed7fda9abf474ce886dddf3ab5abc0ead0b Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 20 Sep 2020 10:52:32 +0200
+Subject: [PATCH] python/setup.py: remove unneeded wheel dependency
+
+wheel is required since version 3.13.0 and
+https://github.com/protocolbuffers/protobuf/commit/ff92cee10bcae7533b573368f448e782fbd43f39
+
+This will result in the following build failure when cross-compiling:
+
+Download error on https://pypi.org/simple/wheel/: unknown url type: https -- Some packages may not be found!
+Couldn't find index page for 'wheel' (maybe misspelled?)
+Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found!
+No local packages or working download links found for wheel
+
+Remove wheel requirement from setup.py as it is only needed by
+release.sh, not by setup.py
+
+Fixes:
+ - http://autobuild.buildroot.org/results/371c686a10d6870933011b46d36b1879d29046b9
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ python/setup.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/python/setup.py b/python/setup.py
+index b44e88b2f..39eb18d4b 100755
+--- a/python/setup.py
++++ b/python/setup.py
+@@ -293,7 +293,6 @@ if __name__ == '__main__':
+ 'build_py': build_py,
+ 'test_conformance': test_conformance,
+ },
+- setup_requires = ['wheel'],
+ install_requires=install_requires,
+ ext_modules=ext_module_list,
+ )
+--
+2.28.0
+
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-protobuf: remove wheel dependency
2020-09-20 9:04 [Buildroot] [PATCH 1/1] package/python-protobuf: remove wheel dependency Fabrice Fontaine
@ 2020-09-20 13:38 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-09-20 13:38 UTC (permalink / raw)
To: buildroot
On Sun, 20 Sep 2020 11:04:44 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Remove unneeded wheel dependency which has been added in version 3.13.0
>
> Fixes:
> - http://autobuild.buildroot.org/results/371c686a10d6870933011b46d36b1879d29046b9
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ....py-remove-unneeded-wheel-dependency.patch | 41 +++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 package/python-protobuf/0001-python-setup.py-remove-unneeded-wheel-dependency.patch
Applied to master, thanks. Could you submit this upstream? Or at least
report the bug?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-20 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-20 9:04 [Buildroot] [PATCH 1/1] package/python-protobuf: remove wheel dependency Fabrice Fontaine
2020-09-20 13:38 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox