From 642d58d6a0bbce9cf981fd2f62fe9b2632fe4cad Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 15 Sep 2023 11:34:45 +0200 Subject: [PATCH 1/2] Plugins specify a verion-range, slots just a version. Not the other way around as we have now. This also adheres closer to the way we handle front-end plugins. Ideally you'd maybe want both of them to be ranges, but that's for the future. part of CURA-11035 --- cura/plugins/slots/handshake/v0/handshake.proto | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cura/plugins/slots/handshake/v0/handshake.proto b/cura/plugins/slots/handshake/v0/handshake.proto index 9506b95..530fc40 100644 --- a/cura/plugins/slots/handshake/v0/handshake.proto +++ b/cura/plugins/slots/handshake/v0/handshake.proto @@ -10,13 +10,13 @@ service HandshakeService { message CallRequest { cura.plugins.v0.SlotID slot_id = 1; - string version_range = 2; + string version = 2; string plugin_name = 3; string plugin_version = 4; } message CallResponse { - string slot_version = 1; + string slot_version_range = 1; string plugin_name = 2; string plugin_version = 3; repeated cura.plugins.v0.SlotID broadcast_subscriptions = 4; diff --git a/setup.py b/setup.py index 170e646..0e897a4 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ def generate_proto_sources(self): setup( name = "CuraEngineGRPC", - version = "0.1.1", + version = "0.1.2", description = "A gRPC package using proto files with type hints", author = "UltiMaker", author_email = "cura@ultimaker.com", From 3fe6ea724359f9eb5df0bbd133d4f32504ee34b3 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Tue, 19 Sep 2023 16:22:11 +0200 Subject: [PATCH 2/2] Version '0.1.1.' was already correct, since the current is 0.1.0-alpha. 'reverted' as part of CURA-11035 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0e897a4..170e646 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ def generate_proto_sources(self): setup( name = "CuraEngineGRPC", - version = "0.1.2", + version = "0.1.1", description = "A gRPC package using proto files with type hints", author = "UltiMaker", author_email = "cura@ultimaker.com",