* [Buildroot] [PATCH] package/python-avro: fix capitalizations of Parse
@ 2022-05-14 15:05 Romain Naour
2022-05-17 20:52 ` Yann E. MORIN
2022-05-29 8:51 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Romain Naour @ 2022-05-14 15:05 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
python-avro 1.11.0 deprecated schema.Parse [1] and actually error
out when used.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2429013770
[1] https://github.com/apache/avro/commit/3e79dfec8461fb0157f068cff7ba24be8cdfa9d8
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
support/testing/tests/package/sample_python_avro.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/support/testing/tests/package/sample_python_avro.py b/support/testing/tests/package/sample_python_avro.py
index 79d2dcdb22..46363ad2bf 100644
--- a/support/testing/tests/package/sample_python_avro.py
+++ b/support/testing/tests/package/sample_python_avro.py
@@ -1,8 +1,8 @@
from io import BytesIO
-from avro.schema import Parse
+from avro.schema import parse
from avro.io import DatumReader, BinaryDecoder
-schema = Parse("""{
+schema = parse("""{
"namespace": "org.buildroot.package.python_avro",
"type": "record",
"name": "Developer",
--
2.35.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH] package/python-avro: fix capitalizations of Parse
2022-05-14 15:05 [Buildroot] [PATCH] package/python-avro: fix capitalizations of Parse Romain Naour
@ 2022-05-17 20:52 ` Yann E. MORIN
2022-05-29 8:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-05-17 20:52 UTC (permalink / raw)
To: Romain Naour; +Cc: buildroot
Romain, All,
On 2022-05-14 17:05 +0200, Romain Naour spake thusly:
> python-avro 1.11.0 deprecated schema.Parse [1] and actually error
> out when used.
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/2429013770
>
> [1] https://github.com/apache/avro/commit/3e79dfec8461fb0157f068cff7ba24be8cdfa9d8
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> support/testing/tests/package/sample_python_avro.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/support/testing/tests/package/sample_python_avro.py b/support/testing/tests/package/sample_python_avro.py
> index 79d2dcdb22..46363ad2bf 100644
> --- a/support/testing/tests/package/sample_python_avro.py
> +++ b/support/testing/tests/package/sample_python_avro.py
> @@ -1,8 +1,8 @@
> from io import BytesIO
> -from avro.schema import Parse
> +from avro.schema import parse
> from avro.io import DatumReader, BinaryDecoder
>
> -schema = Parse("""{
> +schema = parse("""{
> "namespace": "org.buildroot.package.python_avro",
> "type": "record",
> "name": "Developer",
> --
> 2.35.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH] package/python-avro: fix capitalizations of Parse
2022-05-14 15:05 [Buildroot] [PATCH] package/python-avro: fix capitalizations of Parse Romain Naour
2022-05-17 20:52 ` Yann E. MORIN
@ 2022-05-29 8:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-29 8:51 UTC (permalink / raw)
To: Romain Naour; +Cc: buildroot
>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:
> python-avro 1.11.0 deprecated schema.Parse [1] and actually error
> out when used.
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/2429013770
> [1] https://github.com/apache/avro/commit/3e79dfec8461fb0157f068cff7ba24be8cdfa9d8
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
Committed to 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-29 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-14 15:05 [Buildroot] [PATCH] package/python-avro: fix capitalizations of Parse Romain Naour
2022-05-17 20:52 ` Yann E. MORIN
2022-05-29 8:51 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.