From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x
Date: Tue, 29 Sep 2020 22:45:57 +0200 [thread overview]
Message-ID: <20200929204557.28901-1-peter@korsgaard.com> (raw)
Fixes:
http://autobuild.buildroot.net/results/eef0969bac04800cec51fa27f1e1ecd3a4c8211e/
tinyrpc 1.x is not compatible with python 2.x, leading to errors during the
pycompile step:
error: File "/usr/lib/python2.7/site-packages/tinyrpc/client.py", line 37
self, protocol: RPCProtocol, transport: ClientTransport
^
SyntaxError: invalid syntax
As also documented in the README:
The current version will support Python3 only. Have a look at the 0.9.x
version if you need Python2 support
https://github.com/mbr/tinyrpc/blob/1.0.4/README.rst
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/python-tinyrpc/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-tinyrpc/Config.in b/package/python-tinyrpc/Config.in
index 3c643c754a..3194b7825a 100644
--- a/package/python-tinyrpc/Config.in
+++ b/package/python-tinyrpc/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_TINYRPC
bool "python-tinyrpc"
+ depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_SIX # runtime
help
A small, modular, transport and protocol neutral RPC
--
2.20.1
next reply other threads:[~2020-09-29 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 20:45 Peter Korsgaard [this message]
2020-09-30 4:39 ` [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x Asaf Kahlon
2020-09-30 19:13 ` Yann E. MORIN
2020-10-02 8:59 ` Peter Korsgaard
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=20200929204557.28901-1-peter@korsgaard.com \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox