Skip to content

fix(deps): relax protobuf constraint to <7.0.0 for opentelemetry compatibility (#3971)#3979

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-3971-new
Apr 8, 2026
Merged

fix(deps): relax protobuf constraint to <7.0.0 for opentelemetry compatibility (#3971)#3979
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-3971-new

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 8, 2026

Problem: Protobuf constraint was too narrow (>=5.29.6,<6.0.0), preventing pip from resolving dependencies that require protobuf 6.x.

Root cause: TensorFlow 2.19.1 was cited as requiring <6.0.0, but TensorFlow is not actually a project dependency. Meanwhile, opentelemetry-proto>=1.40.0 (a real transitive dependency) explicitly declares protobuf<7.0,>=5.0, which includes protobuf 6.x.

Solution: Relax the upper bound to <7.0.0 to:

  • Allow protobuf 6.x which is fully compatible with all dependencies
  • Align with opentelemetry-proto's actual constraint
  • Prevent pip conflicts on fresh installs

Testing:

  • Current installed version: 6.33.6
  • All imports verified working: chromadb, opentelemetry.proto, onnxruntime
  • No breaking changes

Closes #3971

@mrveiss mrveiss merged commit 6a0f778 into Dev_new_gui Apr 8, 2026
1 of 3 checks passed
@mrveiss mrveiss deleted the fix/issue-3971-new branch April 8, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant