diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py index 87ccade7399e..2a85a4743c1e 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py @@ -42,7 +42,7 @@ ] install_packages = [ 'azure-schemaregistry==1.0.0b3', - 'avro<2.0.0,>=1.10.0', + 'avro<2.0.0,==1.10.0', 'backports.functools-lru-cache >= 1.6.4; python_version == "2.7"' ] diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index e9a0d2f6af02..b72e379b3fb4 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -15,7 +15,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -25,7 +25,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:00 GMT + - Thu, 28 Oct 2021 23:03:35 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: @@ -65,7 +65,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -75,7 +75,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:01 GMT + - Thu, 28 Oct 2021 23:03:36 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: @@ -107,7 +107,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview response: @@ -117,7 +117,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:01 GMT + - Thu, 28 Oct 2021 23:03:36 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index a1153f8c27e1..e85033969296 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -15,7 +15,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -25,7 +25,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:02 GMT + - Thu, 28 Oct 2021 23:03:37 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: @@ -65,7 +65,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -75,7 +75,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:03 GMT + - Thu, 28 Oct 2021 23:03:37 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: @@ -107,7 +107,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview response: @@ -117,7 +117,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:03 GMT + - Thu, 28 Oct 2021 23:03:37 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_error_schema_as_record.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_error_schema_as_record.yaml index 830686bbbd5f..1c2796c01ea8 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_error_schema_as_record.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_error_schema_as_record.yaml @@ -17,7 +17,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.error.User?api-version=2020-09-01-preview response: @@ -27,7 +27,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:05 GMT + - Thu, 28 Oct 2021 23:03:39 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.error.User/versions/1?api-version=2020-09-01-preview schema-id: @@ -59,7 +59,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/abb985fa783645a0a433660fd6d51af9?api-version=2020-09-01-preview response: @@ -69,7 +69,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:05 GMT + - Thu, 28 Oct 2021 23:03:40 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.error.User/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_record_name.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_record_name.yaml index 1f4d15345610..f479ae48a46b 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_record_name.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_record_name.yaml @@ -17,7 +17,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/User.avro?api-version=2020-09-01-preview response: @@ -27,7 +27,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:06 GMT + - Thu, 28 Oct 2021 23:03:40 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User.avro/versions/1?api-version=2020-09-01-preview schema-id: @@ -59,7 +59,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/ef6ab31106cc477f8b6d238d83c90f39?api-version=2020-09-01-preview response: @@ -69,7 +69,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:06 GMT + - Thu, 28 Oct 2021 23:03:41 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User.avro/versions/1?api-version=2020-09-01-preview schema-id: @@ -108,7 +108,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/User?api-version=2020-09-01-preview response: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:07 GMT + - Thu, 28 Oct 2021 23:03:41 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User/versions/1?api-version=2020-09-01-preview schema-id: @@ -150,7 +150,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/3f9fda41a60e4196ab1a6150976ca223?api-version=2020-09-01-preview response: @@ -160,7 +160,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:07 GMT + - Thu, 28 Oct 2021 23:03:42 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_primitive.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_primitive.yaml index 98329ab58e36..7ab7661dcf97 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_primitive.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_primitive.yaml @@ -15,7 +15,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/null?api-version=2020-09-01-preview response: @@ -25,7 +25,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:09 GMT + - Thu, 28 Oct 2021 23:03:43 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/null/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_record.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_record.yaml index 5bb31f479c60..11ef9171dd73 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_record.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_record.yaml @@ -19,7 +19,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User?api-version=2020-09-01-preview response: @@ -29,7 +29,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:10 GMT + - Thu, 28 Oct 2021 23:03:45 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User/versions/1?api-version=2020-09-01-preview schema-id: @@ -61,7 +61,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/fee73b56d1e64c1595c97e2573b3c1ac?api-version=2020-09-01-preview response: @@ -71,7 +71,7 @@ interactions: content-type: - application/json date: - - Tue, 26 Oct 2021 00:20:11 GMT + - Thu, 28 Oct 2021 23:03:45 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index 39f725c8f703..204389712cae 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -13,7 +13,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -21,7 +21,7 @@ interactions: string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:12 GMT + date: Thu, 28 Oct 2021 23:03:46 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: 17347f81cdce4953bb1680d1f7c36eb7 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview @@ -49,7 +49,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -57,7 +57,7 @@ interactions: string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:12 GMT + date: Thu, 28 Oct 2021 23:03:47 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: 17347f81cdce4953bb1680d1f7c36eb7 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview @@ -77,7 +77,7 @@ interactions: Accept: - text/plain; charset=utf-8 User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview response: @@ -85,7 +85,7 @@ interactions: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:13 GMT + date: Thu, 28 Oct 2021 23:03:47 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: 17347f81cdce4953bb1680d1f7c36eb7 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index c8f3cebd27d6..ca5067d814a5 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -13,7 +13,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -21,7 +21,7 @@ interactions: string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:14 GMT + date: Thu, 28 Oct 2021 23:03:48 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: 17347f81cdce4953bb1680d1f7c36eb7 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview @@ -49,7 +49,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview response: @@ -57,7 +57,7 @@ interactions: string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:14 GMT + date: Thu, 28 Oct 2021 23:03:49 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: 17347f81cdce4953bb1680d1f7c36eb7 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview @@ -77,7 +77,7 @@ interactions: Accept: - text/plain; charset=utf-8 User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview response: @@ -85,7 +85,7 @@ interactions: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:15 GMT + date: Thu, 28 Oct 2021 23:03:49 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview schema-id: 17347f81cdce4953bb1680d1f7c36eb7 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_error_schema_as_record.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_error_schema_as_record.yaml index 435afecc0702..db9db426c912 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_error_schema_as_record.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_error_schema_as_record.yaml @@ -13,7 +13,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.error.User?api-version=2020-09-01-preview response: @@ -21,7 +21,7 @@ interactions: string: '{"id":"abb985fa783645a0a433660fd6d51af9"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:15 GMT + date: Thu, 28 Oct 2021 23:03:50 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.error.User/versions/1?api-version=2020-09-01-preview schema-id: abb985fa783645a0a433660fd6d51af9 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/abb985fa783645a0a433660fd6d51af9?api-version=2020-09-01-preview @@ -41,7 +41,7 @@ interactions: Accept: - text/plain; charset=utf-8 User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/abb985fa783645a0a433660fd6d51af9?api-version=2020-09-01-preview response: @@ -49,7 +49,7 @@ interactions: string: '{"name":"User","namespace":"example.avro.error","type":"error","fields":[{"name":"name","type":"string"}]}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:16 GMT + date: Thu, 28 Oct 2021 23:03:50 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.error.User/versions/1?api-version=2020-09-01-preview schema-id: abb985fa783645a0a433660fd6d51af9 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/abb985fa783645a0a433660fd6d51af9?api-version=2020-09-01-preview diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_record_name.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_record_name.yaml index 1e7079ebf411..babec7f39238 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_record_name.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_parse_record_name.yaml @@ -13,7 +13,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/User.avro?api-version=2020-09-01-preview response: @@ -21,7 +21,7 @@ interactions: string: '{"id":"ef6ab31106cc477f8b6d238d83c90f39"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:17 GMT + date: Thu, 28 Oct 2021 23:03:52 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User.avro/versions/1?api-version=2020-09-01-preview schema-id: ef6ab31106cc477f8b6d238d83c90f39 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ef6ab31106cc477f8b6d238d83c90f39?api-version=2020-09-01-preview @@ -41,7 +41,7 @@ interactions: Accept: - text/plain; charset=utf-8 User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/ef6ab31106cc477f8b6d238d83c90f39?api-version=2020-09-01-preview response: @@ -49,7 +49,7 @@ interactions: string: '{"namespace":"thrownaway","name":"User.avro","type":"record","fields":[{"name":"name","type":"string"}]}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:18 GMT + date: Thu, 28 Oct 2021 23:03:52 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User.avro/versions/1?api-version=2020-09-01-preview schema-id: ef6ab31106cc477f8b6d238d83c90f39 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ef6ab31106cc477f8b6d238d83c90f39?api-version=2020-09-01-preview @@ -76,7 +76,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/User?api-version=2020-09-01-preview response: @@ -84,7 +84,7 @@ interactions: string: '{"id":"3f9fda41a60e4196ab1a6150976ca223"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:18 GMT + date: Thu, 28 Oct 2021 23:03:53 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User/versions/1?api-version=2020-09-01-preview schema-id: 3f9fda41a60e4196ab1a6150976ca223 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/3f9fda41a60e4196ab1a6150976ca223?api-version=2020-09-01-preview @@ -104,7 +104,7 @@ interactions: Accept: - text/plain; charset=utf-8 User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/3f9fda41a60e4196ab1a6150976ca223?api-version=2020-09-01-preview response: @@ -112,7 +112,7 @@ interactions: string: '{"name":"User","type":"record","fields":[{"name":"name","type":"string"}]}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:19 GMT + date: Thu, 28 Oct 2021 23:03:53 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User/versions/1?api-version=2020-09-01-preview schema-id: 3f9fda41a60e4196ab1a6150976ca223 schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/3f9fda41a60e4196ab1a6150976ca223?api-version=2020-09-01-preview diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_primitive.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_primitive.yaml index f5eab044eb77..67f50d351b36 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_primitive.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_primitive.yaml @@ -11,7 +11,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/null?api-version=2020-09-01-preview response: @@ -19,7 +19,7 @@ interactions: string: '{"id":"587b7a7ad9304f659e8434c2edfcf08b"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:20 GMT + date: Thu, 28 Oct 2021 23:03:54 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/null/versions/1?api-version=2020-09-01-preview schema-id: 587b7a7ad9304f659e8434c2edfcf08b schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/587b7a7ad9304f659e8434c2edfcf08b?api-version=2020-09-01-preview diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_record.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_record.yaml index 382c887b8827..ae2d848b8dbd 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_record.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_serialize_record.yaml @@ -15,7 +15,7 @@ interactions: Serialization-Type: - Avro User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User?api-version=2020-09-01-preview response: @@ -23,7 +23,7 @@ interactions: string: '{"id":"fee73b56d1e64c1595c97e2573b3c1ac"}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:21 GMT + date: Thu, 28 Oct 2021 23:03:55 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User/versions/1?api-version=2020-09-01-preview schema-id: fee73b56d1e64c1595c97e2573b3c1ac schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/fee73b56d1e64c1595c97e2573b3c1ac?api-version=2020-09-01-preview @@ -43,7 +43,7 @@ interactions: Accept: - text/plain; charset=utf-8 User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0) method: GET uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/fee73b56d1e64c1595c97e2573b3c1ac?api-version=2020-09-01-preview response: @@ -51,7 +51,7 @@ interactions: string: '{"name":"User","namespace":"example.avro.populatedrecord","type":"record","fields":[{"name":"name","type":"string"},{"name":"age","type":"int"},{"name":"married","type":"boolean"},{"name":"height","type":"float"},{"name":"randb","type":"bytes"}]}' headers: content-type: application/json - date: Tue, 26 Oct 2021 00:20:21 GMT + date: Thu, 28 Oct 2021 23:03:56 GMT location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User/versions/1?api-version=2020-09-01-preview schema-id: fee73b56d1e64c1595c97e2573b3c1ac schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/fee73b56d1e64c1595c97e2573b3c1ac?api-version=2020-09-01-preview diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer_async.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer_async.py index 13e7026b2c7e..5969da75462d 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer_async.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer_async.py @@ -33,6 +33,7 @@ import avro from avro.io import AvroTypeException + from azure.schemaregistry.aio import SchemaRegistryClient from azure.schemaregistry.serializer.avroserializer.aio import AvroSerializer from azure.schemaregistry.serializer.avroserializer.exceptions import SchemaParseError, SchemaSerializationError, SchemaDeserializationError diff --git a/shared_requirements.txt b/shared_requirements.txt index 3b2a34f8d3fa..c329fe2b3efc 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -125,7 +125,7 @@ aiodns>=2.0 python-dateutil>=2.8.0 six>=1.11.0 isodate>=0.6.0 -avro<2.0.0,>=1.10.0 +avro<2.0.0,==1.10.0 pyjwt>=1.7.1 chardet<5,>=3.0.2 backports.functools-lru-cache >= 1.6.4; python_version == "2.7"