mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09: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]3e79dfec84Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit5468cf1095) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
238be7ae97
commit
5f24587ded
@@ -1,8 +1,8 @@
|
|||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from avro.schema import Parse
|
from avro.schema import parse
|
||||||
from avro.io import DatumReader, BinaryDecoder
|
from avro.io import DatumReader, BinaryDecoder
|
||||||
|
|
||||||
schema = Parse("""{
|
schema = parse("""{
|
||||||
"namespace": "org.buildroot.package.python_avro",
|
"namespace": "org.buildroot.package.python_avro",
|
||||||
"type": "record",
|
"type": "record",
|
||||||
"name": "Developer",
|
"name": "Developer",
|
||||||
|
|||||||
Reference in New Issue
Block a user