MySQL Forums
Forum List  »  Connector/Python

Re: Upgrade to a newer protobuf version
Posted by: Jarosław Potiuk
Date: April 20, 2023 04:06AM

This is a completely useless, automatically generate answer that completely does not address the problem I raised.

The problem is that mysql-connector-python hardcodes the depeendency and unless mysql-connector-pyhong release a new version there is absolutely nothing any user of the library can do anything about it.

Even the latest version of your mysql-connector-python library (8.0.33) released 2 days ago has those requirements - which do not allow to upgrade protobuf to version 4:


protobuf<=3.20.3,>=3.11.0


FYI protobuf3 support EOL is next month, so you have very little time to react. In fact, we simply made the mysql-connector-python optional for MySQL provider - and it basically means that until you upgrade the requirement, MySQL provider integration in Airflow will be heavily impacted and it might make Airflow users to turn to other databases:

https://github.com/apache/airflow/pull/30487

So we have no immediate need to address the problem, but the end result is that Airflow users will have far less incentive to use MySQL.

It's all on your shoulders now, that you know the consequences

Good luck.

Options: ReplyQuote


Subject
Written By
Posted
Re: Upgrade to a newer protobuf version
April 20, 2023 04:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.