From 5468cf1095f236fc01f16015a7cf6cfeee69fe55 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 14 May 2022 17:05:28 +0200 Subject: [PATCH] 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] https://github.com/apache/avro/commit/3e79dfec8461fb0157f068cff7ba24be8cdfa9d8 Signed-off-by: Romain Naour Signed-off-by: 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",