eclipse-sparkplug / sparkplug

Sparkplug
Eclipse Public License 2.0
115 stars 39 forks source link

Compatibility Issue with Protobuf Version 4.25.3 #514

Open pkoprov opened 9 months ago

pkoprov commented 9 months ago

What do you want to know?

When running sparkplug, an incompatibility warning is thrown related to the protobuf library version. The current protobuf version is 4.25.3, but the current implementation appears to have been compiled with an older version of protobuf. This discrepancy raises concerns about potential issues or incompatibilities that may arise from this version mismatch.

Steps to Reproduce

  1. Install protobuf version 4.25.3.
  2. Set up and run import sparkplug_b as sparkplug and from sparkplug_b import *.
  3. Observe the warning/error message related to the protobuf version.

Expected Behavior

Python should run without warnings about protobuf version incompatibilities, indicating that it is compiled with a protobuf version compatible with 4.25.3, or clearly document the compatible protobuf versions to prevent such warnings.

Actual Behavior

The application throws a warning/error indicating that it was compiled with an older version of protobuf, which may lead to issues. The warning also recommends using a Python version less than or equal to 3.2, which seems outdated given the current Python versions in use.

Questions/Request

Could you please provide information on when an updated version of sparkplug, compiled with the newer protobuf version (4.25.3), will be available?

Environment

Protobuf version: 4.25.3 Python version: 3.9.2 Sparkplug version: 3.0.0 Operating System: Ubuntu 22.04

Thank you for your attention to this issue. I am looking forward to any guidance or updates you can provide.

Is this related to a Sparkplug Listing request? If so, link the issue from https://github.com/eclipse-sparkplug/sparkplug.listings here.

No response

Version

None

Accept EFTL Terms