Skip to content

Remove version restriction for snappi and update OTEL packages to be compatible with snappi.#24211

Merged
kperumalbfn merged 1 commit intosonic-net:masterfrom
r12f:user/riffjiang/fix-otel
Oct 7, 2025
Merged

Remove version restriction for snappi and update OTEL packages to be compatible with snappi.#24211
kperumalbfn merged 1 commit intosonic-net:masterfrom
r12f:user/riffjiang/fix-otel

Conversation

@r12f
Copy link
Contributor

@r12f r12f commented Oct 4, 2025

Why I did it

The latest OTEL package has dependency on fairly recent gRPC and protobuf packages, which the latest snappi package does not support.

Work item tracking
  • Microsoft ADO (number only):

How I did it

This commit fix the OTEL package version to a relatively old version, so it doesn't have the dependency on the gRPC and protobuf package. We cannot use newer version than 1.27.0 until snappi packages are updated with more loose dependency.

This change also removes the snappi package version, as we always prefer to use the latest version. This is one of the directions that mgmt container build is moving towards, in order to reduce maintenance effort.

How to verify it

Run pip install locally without error.

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@r12f r12f requested a review from lguohan as a code owner October 4, 2025 21:22
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kperumalbfn kperumalbfn merged commit c0bf6bb into sonic-net:master Oct 7, 2025
21 checks passed
@kperumalbfn
Copy link
Contributor

@r12f Is this change required in other branches?

FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…compatible with snappi. (sonic-net#24211)

Remove version restriction for snappi and update OTEL packages to be compatible with snappi

Signed-off-by: Feng Pan <fenpan@microsoft.com>
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.

3 participants