mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
package/python-avro: fix capitalizations of Parse
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] 3e79dfec84
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
837e312868
commit
5468cf1095
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user