Bug #112342 unpin mysql-connector-python protobuf dependency
Submitted: 14 Sep 2023 1:32 Modified: 6 Oct 2023 8:35
Reporter: Adam Lazur Email Updates:
Status: Won't fix Impact on me:
None 
Category:Connector / Python Severity:S2 (Serious)
Version: OS:Any
Assigned to: CPU Architecture:Any

[14 Sep 2023 1:32] Adam Lazur
Description:
it should be possible to unpin the `protobuf` dependency for this python package

How to repeat:
The segfault that caused this commit:

  https://github.com/lazcamus/mysql-connector-python/commit/be252ef6e8f9762c04c4bd08fa074516...

Has been fixed in `protobuf` upstream:

  https://github.com/protocolbuffers/protobuf/issues/12373

Suggested fix:
it should be safe to upgrade the dependency to `protobuf >= 4.23.0`
[14 Sep 2023 5:05] MySQL Verification Team
Hello Adam Lazur,

Thank you for the report and feedback.
Verified as described.

regards,
Umesh Shastry
[4 Oct 2023 15:40] Nuno Mariz
Posted by developer:
 
Using the latest protobuf version 4.24.3 it still produces a segmentation fault while running Connector/Python unit tests.
[6 Oct 2023 8:35] Adam Lazur
Ugh.

Perhaps it's hitting this one: https://github.com/protocolbuffers/protobuf/issues/12047 ?