Skip to content

Support wrapt 2.0 in pyproject.toml #3903

@pamelafox

Description

@pamelafox

Describe your environment

Package version: opentelemetry-instrumentation==0.59b0
Python version: all

What happened?

wrapt now has a 2.0.0 release, but we cannot upgrade it due to the version specifier in the pyproject.toml. Is there a verified incompatibility with 2.0.0, or can that specifier be loosened?

This is the changelog for wrapt:
https://wrapt.readthedocs.io/en/latest/changes.html

Steps to Reproduce

Try to upgrade wrapt, see error message:

Run uv pip install -r requirements-dev.txt
× No solution found when resolving dependencies:
╰─▶ Because opentelemetry-instrumentation==0.59b0
depends on wrapt>=1.0.0,<2.0.0 and you require
opentelemetry-instrumentation==0.59b0, we can conclude that you require
wrapt>=1.0.0,<2.0.0.
And because you require wrapt==2.0.0, we can conclude that your
requirements are unsatisfiable.

Expected Result

It's always nice if we can upgrade to latest versions of packages.

Actual Result

Pip constraint error

Additional context

No response

Would you like to implement a fix?

None

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions