fix: resolve protobuf version conflict and stabilize API startup (v5.1b4)

This commit is contained in:
2026-04-17 21:10:49 -03:00
parent f30e8a991f
commit 5f01d0c757
6 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
__version__ = "5.1b3"
__version__ = "5.1b4"
+6
View File
@@ -57,6 +57,12 @@ def debug_api(port=8048, config=None):
def start_server(port=8048, config=None):
try:
import sys
# Ensure project root is in path for the child process
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if base_dir not in sys.path:
sys.path.insert(0, base_dir)
from connpy.grpc.server import serve
conf = config or configfile()
server = serve(conf, port=port, debug=False)
View File
View File
+1 -1
View File
@@ -9,7 +9,7 @@ pyfzf>=0.3.1
litellm>=1.40.0
grpcio>=1.62.0
grpcio-tools>=1.62.0
protobuf>=4.21.0,<6.0.0
protobuf>=6.31.1,<7.0.0
google-api-python-client>=2.125.0
google-auth-oauthlib>=1.2.0
google-auth-httplib2>=0.2.0
+1 -1
View File
@@ -36,7 +36,7 @@ install_requires =
litellm>=1.40.0
grpcio>=1.62.0
grpcio-tools>=1.62.0
protobuf>=4.21.0,<6.0.0
protobuf>=6.31.1,<7.0.0
google-api-python-client>=2.125.0
google-auth-oauthlib>=1.2.0
google-auth-httplib2>=0.2.0