* [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x
@ 2020-09-29 20:45 Peter Korsgaard
2020-09-30 4:39 ` Asaf Kahlon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Peter Korsgaard @ 2020-09-29 20:45 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x
2020-09-29 20:45 [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x Peter Korsgaard
@ 2020-09-30 4:39 ` Asaf Kahlon
2020-09-30 19:13 ` Yann E. MORIN
2020-10-02 8:59 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Asaf Kahlon @ 2020-09-30 4:39 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, Sep 29, 2020 at 11:46 PM Peter Korsgaard <peter@korsgaard.com> wrote:
>
> 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
>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Regards,
Asaf.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x
2020-09-29 20:45 [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x Peter Korsgaard
2020-09-30 4:39 ` Asaf Kahlon
@ 2020-09-30 19:13 ` Yann E. MORIN
2020-10-02 8:59 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2020-09-30 19:13 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2020-09-29 22:45 +0200, Peter Korsgaard spake thusly:
> 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>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x
2020-09-29 20:45 [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x Peter Korsgaard
2020-09-30 4:39 ` Asaf Kahlon
2020-09-30 19:13 ` Yann E. MORIN
@ 2020-10-02 8:59 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2020-10-02 8:59 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> 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>
Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-02 8:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 20:45 [Buildroot] [PATCH] package/python-tinyrpc: not available for python 2.x Peter Korsgaard
2020-09-30 4:39 ` Asaf Kahlon
2020-09-30 19:13 ` Yann E. MORIN
2020-10-02 8:59 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox