Skip to content

Fix interceptors insert tuple -> list#2088

Merged
RobertSamoilescu merged 1 commit intoSeldonIO:masterfrom
lawrence-c:fix-grpc-opentele
Mar 28, 2025
Merged

Fix interceptors insert tuple -> list#2088
RobertSamoilescu merged 1 commit intoSeldonIO:masterfrom
lawrence-c:fix-grpc-opentele

Conversation

@lawrence-c
Copy link
Copy Markdown
Contributor

@lawrence-c lawrence-c commented Mar 24, 2025

Resolves #2028

   kwargs["interceptors"].insert(
AttributeError: 'tuple' object has no attribute 'insert'

Wasn't able to run make test locally, and install dependencies due to TF 2.18.0 no longer supported on intel x86, and make test failing out with a c++ compiler issue :/

Tested separately with

opentelemetry-instrumentation = "0.48b0"
opentelemetry-exporter-otlp-proto-grpc = "1.27.0"

and running

poetry run opentelemetry-instrument --metrics_exporter none --traces_exporter otlp mlserver start some-project/

which successfully works

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 24, 2025

CLA assistant check
All committers have signed the CLA.

@lawrence-c lawrence-c changed the title Fix interceptors insert tuple insert Fix interceptors insert tuple -> list Mar 24, 2025
@lawrence-c lawrence-c marked this pull request as ready for review March 24, 2025 16:51
@lawrence-c
Copy link
Copy Markdown
Contributor Author

@RobertSamoilescu as you previously edited this file in the PR, would you be able to help verify?
Thanks in advance!

Copy link
Copy Markdown
Contributor

@RobertSamoilescu RobertSamoilescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for your contribution.

@RobertSamoilescu RobertSamoilescu merged commit f189fa6 into SeldonIO:master Mar 28, 2025
50 checks passed
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.

Opentelemetry dependency mismatch

3 participants