When using this, I got: pkg_resources.DistributionNotFound: The 'protobuf<=3.20.1,>=3.11.0' distribution was not found and is required by mysql-connector-python Installed is: py39-protobuf-4.21.9,1 py39-mysql-connector-python-8.0.31 On FreeBSD 12.4 My work-around is modifying this line: [dvl@example:/usr/local/lib/python3.9/site-packages] $ grep -r 3\.20\.1 mysql* mysql_connector_python-8.0.31-py3.9.egg-info/requires.txt:protobuf<=3.20.1,>=3.11.0 to protobuf>=3.11.0 I'm not sure why this is failing.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5bf1a9a40747ea2cf2939f50c2ab13e89e8a21d2 commit 5bf1a9a40747ea2cf2939f50c2ab13e89e8a21d2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-01-17 19:41:04 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-01-17 19:43:02 +0000 databases/py-mysql-connector-python: Runtime fix PR: 269014 Reported by: dvl MFH: 2023Q1 databases/py-mysql-connector-python/Makefile | 3 ++- .../py-mysql-connector-python/files/patch-setup.py (new) | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-)