[Bug 269014] databases/py-mysql-connector-python: contains failing requires.txt

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Jan 2023 19:23:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269014

            Bug ID: 269014
           Summary: databases/py-mysql-connector-python: contains failing
                    requires.txt
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: dvl@FreeBSD.org
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.