From cb771c43e6f89823ff31d2acbfa7bbc3a920c092 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Fri, 17 May 2024 13:56:31 +0300 Subject: [PATCH 1/7] fix: Generate Python Code from `plugin-pb` (#84) This PR was created by a scheduled workflow to regenerate the Python code from `plugin-pb`. --- cloudquery/plugin_v3/plugin_pb2.py | 12 +++++-- cloudquery/plugin_v3/plugin_pb2.pyi | 18 ++++++++++ cloudquery/plugin_v3/plugin_pb2_grpc.py | 44 +++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 3 deletions(-) diff --git a/cloudquery/plugin_v3/plugin_pb2.py b/cloudquery/plugin_v3/plugin_pb2.py index 823e730..6acecf1 100644 --- a/cloudquery/plugin_v3/plugin_pb2.py +++ b/cloudquery/plugin_v3/plugin_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"P\n\rGetSpecSchema\x1a\t\n\x07Request\x1a\x34\n\x08Response\x12\x18\n\x0bjson_schema\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_json_schema\"Y\n\x04Init\x1a\x45\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x12\x15\n\rinvocation_id\x18\x03 \x01(\t\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xbd\x05\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\xe3\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x12G\n\rdelete_record\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageDeleteRecordH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"9\n\rTableRelation\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x14\n\x0cparent_table\x18\x02 \x01(\t\"{\n\tPredicate\x12:\n\x08operator\x18\x01 \x01(\x0e\x32(.cloudquery.plugin.v3.Predicate.Operator\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0e\n\x06record\x18\x03 \x01(\x0c\"\x12\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\"\xb2\x01\n\x0fPredicatesGroup\x12I\n\rgrouping_type\x18\x01 \x01(\x0e\x32\x32.cloudquery.plugin.v3.PredicatesGroup.GroupingType\x12\x33\n\npredicates\x18\x02 \x03(\x0b\x32\x1f.cloudquery.plugin.v3.Predicate\"\x1f\n\x0cGroupingType\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\"\xc3\x05\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\xa7\x02\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x12H\n\rdelete_record\x18\x04 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageDeleteRecordH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response2\xb2\x06\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12j\n\rGetSpecSchema\x12+.cloudquery.plugin.v3.GetSpecSchema.Request\x1a,.cloudquery.plugin.v3.GetSpecSchema.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"P\n\rGetSpecSchema\x1a\t\n\x07Request\x1a\x34\n\x08Response\x12\x18\n\x0bjson_schema\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_json_schema\"Y\n\x04Init\x1a\x45\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x12\x15\n\rinvocation_id\x18\x03 \x01(\t\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xbd\x05\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\xe3\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x12G\n\rdelete_record\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageDeleteRecordH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"9\n\rTableRelation\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x14\n\x0cparent_table\x18\x02 \x01(\t\"{\n\tPredicate\x12:\n\x08operator\x18\x01 \x01(\x0e\x32(.cloudquery.plugin.v3.Predicate.Operator\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0e\n\x06record\x18\x03 \x01(\x0c\"\x12\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\"\xb2\x01\n\x0fPredicatesGroup\x12I\n\rgrouping_type\x18\x01 \x01(\x0e\x32\x32.cloudquery.plugin.v3.PredicatesGroup.GroupingType\x12\x33\n\npredicates\x18\x02 \x03(\x0b\x32\x1f.cloudquery.plugin.v3.Predicate\"\x1f\n\x0cGroupingType\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\"\xc3\x05\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\xa7\x02\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x12H\n\rdelete_record\x18\x04 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageDeleteRecordH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response\"y\n\x0eTestConnection\x1a\x17\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x1aN\n\x08Response\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x66\x61ilure_code\x18\x02 \x01(\t\x12\x1b\n\x13\x66\x61ilure_description\x18\x03 \x01(\t2\xa1\x07\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12j\n\rGetSpecSchema\x12+.cloudquery.plugin.v3.GetSpecSchema.Request\x1a,.cloudquery.plugin.v3.GetSpecSchema.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.Response\x12m\n\x0eTestConnection\x12,.cloudquery.plugin.v3.TestConnection.Request\x1a-.cloudquery.plugin.v3.TestConnection.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -105,6 +105,12 @@ _globals['_CLOSE_REQUEST']._serialized_end=112 _globals['_CLOSE_RESPONSE']._serialized_start=114 _globals['_CLOSE_RESPONSE']._serialized_end=124 - _globals['_PLUGIN']._serialized_start=2361 - _globals['_PLUGIN']._serialized_end=3179 + _globals['_TESTCONNECTION']._serialized_start=2360 + _globals['_TESTCONNECTION']._serialized_end=2481 + _globals['_TESTCONNECTION_REQUEST']._serialized_start=284 + _globals['_TESTCONNECTION_REQUEST']._serialized_end=307 + _globals['_TESTCONNECTION_RESPONSE']._serialized_start=2403 + _globals['_TESTCONNECTION_RESPONSE']._serialized_end=2481 + _globals['_PLUGIN']._serialized_start=2484 + _globals['_PLUGIN']._serialized_end=3413 # @@protoc_insertion_point(module_scope) diff --git a/cloudquery/plugin_v3/plugin_pb2.pyi b/cloudquery/plugin_v3/plugin_pb2.pyi index 23dfa02..8542c63 100644 --- a/cloudquery/plugin_v3/plugin_pb2.pyi +++ b/cloudquery/plugin_v3/plugin_pb2.pyi @@ -238,3 +238,21 @@ class Close(_message.Message): __slots__ = () def __init__(self) -> None: ... def __init__(self) -> None: ... + +class TestConnection(_message.Message): + __slots__ = () + class Request(_message.Message): + __slots__ = ("spec",) + SPEC_FIELD_NUMBER: _ClassVar[int] + spec: bytes + def __init__(self, spec: _Optional[bytes] = ...) -> None: ... + class Response(_message.Message): + __slots__ = ("success", "failure_code", "failure_description") + SUCCESS_FIELD_NUMBER: _ClassVar[int] + FAILURE_CODE_FIELD_NUMBER: _ClassVar[int] + FAILURE_DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + success: bool + failure_code: str + failure_description: str + def __init__(self, success: bool = ..., failure_code: _Optional[str] = ..., failure_description: _Optional[str] = ...) -> None: ... + def __init__(self) -> None: ... diff --git a/cloudquery/plugin_v3/plugin_pb2_grpc.py b/cloudquery/plugin_v3/plugin_pb2_grpc.py index 040ceb8..3c6496f 100644 --- a/cloudquery/plugin_v3/plugin_pb2_grpc.py +++ b/cloudquery/plugin_v3/plugin_pb2_grpc.py @@ -84,6 +84,11 @@ def __init__(self, channel): request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.SerializeToString, response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.FromString, _registered_method=True) + self.TestConnection = channel.unary_unary( + '/cloudquery.plugin.v3.Plugin/TestConnection', + request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.SerializeToString, + response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.FromString, + _registered_method=True) class PluginServicer(object): @@ -155,6 +160,13 @@ def Close(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def TestConnection(self, request, context): + """Validate and test the connections used by the plugin + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_PluginServicer_to_server(servicer, server): rpc_method_handlers = { @@ -203,6 +215,11 @@ def add_PluginServicer_to_server(servicer, server): request_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.FromString, response_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.SerializeToString, ), + 'TestConnection': grpc.unary_unary_rpc_method_handler( + servicer.TestConnection, + request_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.FromString, + response_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cloudquery.plugin.v3.Plugin', rpc_method_handlers) @@ -455,3 +472,30 @@ def Close(request, timeout, metadata, _registered_method=True) + + @staticmethod + def TestConnection(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cloudquery.plugin.v3.Plugin/TestConnection', + cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.SerializeToString, + cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) From 59d0a5c78c6bc1922b1a041d08fc27789b911d29 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Jun 2024 03:40:29 +0300 Subject: [PATCH 2/7] fix(deps): Update dependency pytest to v8.2.1 (#86) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pytest](https://togithub.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | patch | `==8.2.0` -> `==8.2.1` | --- ### Release Notes
pytest-dev/pytest (pytest) ### [`v8.2.1`](https://togithub.com/pytest-dev/pytest/releases/tag/8.2.1) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.2.0...8.2.1) # pytest 8.2.1 (2024-05-19) ## Improvements - [#​12334](https://togithub.com/pytest-dev/pytest/issues/12334): Support for Python 3.13 (beta1 at the time of writing). ## Bug Fixes - [#​12120](https://togithub.com/pytest-dev/pytest/issues/12120): Fix \[PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line. - [#​12191](https://togithub.com/pytest-dev/pytest/issues/12191): Keyboard interrupts and system exits are now properly handled during the test collection. - [#​12300](https://togithub.com/pytest-dev/pytest/issues/12300): Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only. - [#​12308](https://togithub.com/pytest-dev/pytest/issues/12308): Fix a regression in pytest 8.2.0 where the permissions of automatically-created `.pytest_cache` directories became `rwx------` instead of the expected `rwxr-xr-x`. ## Trivial/Internal Changes - [#​12333](https://togithub.com/pytest-dev/pytest/issues/12333): pytest releases are now attested using the recent [Artifact Attestation](https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/) support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c608240..6e40abf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,4 @@ grpcio-tools==1.63.0 grpcio==1.63.0 protobuf==5.26.1 pyarrow==15.0.2 -pytest==8.2.0 +pytest==8.2.1 From 51232181dafc944255cd6adcfdac4c73a4e15008 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Jun 2024 03:45:00 +0300 Subject: [PATCH 3/7] fix(deps): Update dependency grpcio to v1.64.0 (#87) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [grpcio](https://grpc.io) ([source](https://togithub.com/grpc/grpc)) | minor | `==1.63.0` -> `==1.64.0` | --- ### Release Notes
grpc/grpc (grpcio) ### [`v1.64.0`](https://togithub.com/grpc/grpc/releases/tag/v1.64.0) [Compare Source](https://togithub.com/grpc/grpc/compare/v1.63.0...v1.64.0) This is release 1.64.0 ([grateful](https://togithub.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://togithub.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. ## Core - \[BoringSSL] Update third_party/boringssl-with-bazel. ([#​36435](https://togithub.com/grpc/grpc/pull/36435)) - \[build] Restrict visibility of grpc_public_hdrs and grpc++\_public_hdrs. ([#​36289](https://togithub.com/grpc/grpc/pull/36289)) - \[Deps] Rollfoward Protobuf upgrade to v26.1. ([#​36323](https://togithub.com/grpc/grpc/pull/36323)) ## C++ - \[CSM] Fix CSM Observability for trailers-only response. ([#​36413](https://togithub.com/grpc/grpc/pull/36413)) - \[CSM] Remove requirement that servers have to be xDS enabled. ([#​36410](https://togithub.com/grpc/grpc/pull/36410)) ## Python - \[Asyncio] Semantic task names for RPC tasks. ([#​36422](https://togithub.com/grpc/grpc/pull/36422)) - \[python/systemd] allow compiling systemd support into python builds. ([#​36037](https://togithub.com/grpc/grpc/pull/36037)) - \[Python Otel] Remove opentelemetry version pin. ([#​36448](https://togithub.com/grpc/grpc/pull/36448)) - \[Python Otel] Use registered method at server side. ([#​36371](https://togithub.com/grpc/grpc/pull/36371)) - \[Python grpcio_tools] Update version requirement of protobuf in grpcio_tools. ([#​36230](https://togithub.com/grpc/grpc/pull/36230))
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6e40abf..4106413 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ black==24.4.2 grpcio-tools==1.63.0 -grpcio==1.63.0 +grpcio==1.64.0 protobuf==5.26.1 pyarrow==15.0.2 pytest==8.2.1 From 0c1c06aeec05e3477e063225de630044c66882c0 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Jun 2024 04:46:58 +0300 Subject: [PATCH 4/7] fix(deps): Update dependency grpcio-tools to v1.64.0 (#88) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [grpcio-tools](https://grpc.io) | minor | `==1.63.0` -> `==1.64.0` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4106413..8f63c03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ black==24.4.2 -grpcio-tools==1.63.0 +grpcio-tools==1.64.0 grpcio==1.64.0 protobuf==5.26.1 pyarrow==15.0.2 From 78836b8e68c9b92e39e77b7555c49ec61f37d0e1 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Jun 2024 04:48:14 +0300 Subject: [PATCH 5/7] fix(deps): Update dependency protobuf to v5.27.0 (#89) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | minor | `==5.26.1` -> `==5.27.0` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8f63c03..be34ab9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ black==24.4.2 grpcio-tools==1.64.0 grpcio==1.64.0 -protobuf==5.26.1 +protobuf==5.27.0 pyarrow==15.0.2 pytest==8.2.1 From 279a7b730929c710194ea9a0de962a83f83b46ee Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Jun 2024 11:02:15 +0300 Subject: [PATCH 6/7] fix: Generate Python Code from `plugin-pb` (#90) This PR was created by a scheduled workflow to regenerate the Python code from `plugin-pb`. --- cloudquery/discovery_v1/discovery_pb2_grpc.py | 3 ++- cloudquery/plugin_v3/plugin_pb2_grpc.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cloudquery/discovery_v1/discovery_pb2_grpc.py b/cloudquery/discovery_v1/discovery_pb2_grpc.py index 56deb98..cd9f2e9 100644 --- a/cloudquery/discovery_v1/discovery_pb2_grpc.py +++ b/cloudquery/discovery_v1/discovery_pb2_grpc.py @@ -5,7 +5,7 @@ from cloudquery.discovery_v1 import discovery_pb2 as cloudquery_dot_discovery__v1_dot_discovery__pb2 -GRPC_GENERATED_VERSION = '1.63.0' +GRPC_GENERATED_VERSION = '1.64.0' GRPC_VERSION = grpc.__version__ EXPECTED_ERROR_RELEASE = '1.65.0' SCHEDULED_RELEASE_DATE = 'June 25, 2024' @@ -68,6 +68,7 @@ def add_DiscoveryServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'cloudquery.discovery.v1.Discovery', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cloudquery.discovery.v1.Discovery', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. diff --git a/cloudquery/plugin_v3/plugin_pb2_grpc.py b/cloudquery/plugin_v3/plugin_pb2_grpc.py index 3c6496f..89ddaa5 100644 --- a/cloudquery/plugin_v3/plugin_pb2_grpc.py +++ b/cloudquery/plugin_v3/plugin_pb2_grpc.py @@ -5,7 +5,7 @@ from cloudquery.plugin_v3 import plugin_pb2 as cloudquery_dot_plugin__v3_dot_plugin__pb2 -GRPC_GENERATED_VERSION = '1.63.0' +GRPC_GENERATED_VERSION = '1.64.0' GRPC_VERSION = grpc.__version__ EXPECTED_ERROR_RELEASE = '1.65.0' SCHEDULED_RELEASE_DATE = 'June 25, 2024' @@ -224,6 +224,7 @@ def add_PluginServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'cloudquery.plugin.v3.Plugin', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cloudquery.plugin.v3.Plugin', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. From e34b903d6bb1631aba7c405f7ca61f5c4d58eb2a Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sun, 2 Jun 2024 19:23:50 +0300 Subject: [PATCH 7/7] chore(main): Release v0.0.28 (#85) :robot: I have created a release *beep* *boop* --- ## [0.0.28](https://github.com/cloudquery/plugin-pb-python/compare/v0.0.27...v0.0.28) (2024-06-01) ### Bug Fixes * **deps:** Update dependency grpcio to v1.64.0 ([#87](https://github.com/cloudquery/plugin-pb-python/issues/87)) ([5123218](https://github.com/cloudquery/plugin-pb-python/commit/51232181dafc944255cd6adcfdac4c73a4e15008)) * **deps:** Update dependency grpcio-tools to v1.64.0 ([#88](https://github.com/cloudquery/plugin-pb-python/issues/88)) ([0c1c06a](https://github.com/cloudquery/plugin-pb-python/commit/0c1c06aeec05e3477e063225de630044c66882c0)) * **deps:** Update dependency protobuf to v5.27.0 ([#89](https://github.com/cloudquery/plugin-pb-python/issues/89)) ([78836b8](https://github.com/cloudquery/plugin-pb-python/commit/78836b8e68c9b92e39e77b7555c49ec61f37d0e1)) * **deps:** Update dependency pytest to v8.2.1 ([#86](https://github.com/cloudquery/plugin-pb-python/issues/86)) ([59d0a5c](https://github.com/cloudquery/plugin-pb-python/commit/59d0a5c78c6bc1922b1a041d08fc27789b911d29)) * Generate Python Code from `plugin-pb` ([#84](https://github.com/cloudquery/plugin-pb-python/issues/84)) ([cb771c4](https://github.com/cloudquery/plugin-pb-python/commit/cb771c43e6f89823ff31d2acbfa7bbc3a920c092)) * Generate Python Code from `plugin-pb` ([#90](https://github.com/cloudquery/plugin-pb-python/issues/90)) ([279a7b7](https://github.com/cloudquery/plugin-pb-python/commit/279a7b730929c710194ea9a0de962a83f83b46ee)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .release-please-manifest.json | 2 +- CHANGELOG.md | 12 ++++++++++++ setup.py | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index abedf50..8ea009a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.27" + ".": "0.0.28" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 3497cda..f3a7314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.0.28](https://github.com/cloudquery/plugin-pb-python/compare/v0.0.27...v0.0.28) (2024-06-01) + + +### Bug Fixes + +* **deps:** Update dependency grpcio to v1.64.0 ([#87](https://github.com/cloudquery/plugin-pb-python/issues/87)) ([5123218](https://github.com/cloudquery/plugin-pb-python/commit/51232181dafc944255cd6adcfdac4c73a4e15008)) +* **deps:** Update dependency grpcio-tools to v1.64.0 ([#88](https://github.com/cloudquery/plugin-pb-python/issues/88)) ([0c1c06a](https://github.com/cloudquery/plugin-pb-python/commit/0c1c06aeec05e3477e063225de630044c66882c0)) +* **deps:** Update dependency protobuf to v5.27.0 ([#89](https://github.com/cloudquery/plugin-pb-python/issues/89)) ([78836b8](https://github.com/cloudquery/plugin-pb-python/commit/78836b8e68c9b92e39e77b7555c49ec61f37d0e1)) +* **deps:** Update dependency pytest to v8.2.1 ([#86](https://github.com/cloudquery/plugin-pb-python/issues/86)) ([59d0a5c](https://github.com/cloudquery/plugin-pb-python/commit/59d0a5c78c6bc1922b1a041d08fc27789b911d29)) +* Generate Python Code from `plugin-pb` ([#84](https://github.com/cloudquery/plugin-pb-python/issues/84)) ([cb771c4](https://github.com/cloudquery/plugin-pb-python/commit/cb771c43e6f89823ff31d2acbfa7bbc3a920c092)) +* Generate Python Code from `plugin-pb` ([#90](https://github.com/cloudquery/plugin-pb-python/issues/90)) ([279a7b7](https://github.com/cloudquery/plugin-pb-python/commit/279a7b730929c710194ea9a0de962a83f83b46ee)) + ## [0.0.27](https://github.com/cloudquery/plugin-pb-python/compare/v0.0.26...v0.0.27) (2024-05-07) diff --git a/setup.py b/setup.py index 2ff15ff..db7b243 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ ] setuptools.setup( name=name, - version="0.0.27", + version="0.0.28", description=description, long_description=long_description, author="CloudQuery LTD",