Skip to content

Starlette instrumentation's instruments version is too restrictive #3300

@aabmass

Description

@aabmass

The starlette instrumentation specifies

[project.optional-dependencies]
instruments = [
"starlette ~= 0.13.0",
]

This does not mean >=0.13, it actually means starlette>=0.13.0,<0.14.dev0. Concretely this overly narrow requirement is causing resolution issues with the new UV workspace introduced in #3124 and the google-genai instrumentation PR #3256.

...
      And because opentelemetry-instrumentation-starlette[instruments] depends on starlette>=0.13.0,<0.14.dev0 and opentelemetry-instrumentation-fastapi[instruments] depends on fastapi>=0.58, we can conclude that all of:
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions