Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2023 19:50:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273309] databases/py-mysql-connector-python: errors with devel/py-protobuf 4.23.2,1
Message-ID:  <bug-273309-7788-qPYmbzJZeT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273309-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273309-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273309

Po-Chuan Hsieh <sunpoet@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |bofh@freebsd.org

--- Comment #1 from Po-Chuan Hsieh <sunpoet@FreeBSD.org> ---
The epoch is used only in FreeBSD version check. It does not affect python.
py-protobuf's version in Python is 4.24.1 (currently).

Before I update devel/py-protobuf, I always checked all dependent ports. Si=
nce
py-mysql-connector-python's RUN_DEPENDS says >=3D3.11.0, it should be OK.
However, it actually requires 4.21.1 to 4.21.2 (install_requires in setup.p=
y).

If latest py-protobuf works fine.
The simplest patch is as follows:

--- setup.py.orig       2023-08-23 14:48:53 UTC
+++ setup.py
@@ -137,7 +137,7 @@ setup(
     ext_modules=3DEXTENSIONS,
     cmdclass=3DCOMMAND_CLASSES,
     python_requires=3D">=3D3.8",
-    install_requires=3D["protobuf>=3D4.21.1,<=3D4.21.12"],
+    install_requires=3D["protobuf>=3D4.21.1"],
     extras_require=3D{
         "dns-srv": ["dnspython>=3D1.16.0,<=3D2.3.0"],
         "compression": ["lz4>=3D2.1.6,<=3D4.3.2", "zstandard>=3D0.12.0,<=
=3D0.19.0"],

And RUN_DEPENDS should be updated to match the above range.

Pass this PR to maintainer.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273309-7788-qPYmbzJZeT>