Skip to content

When we pinned pip==24.0 in python, Installing sentry-sdk[django,pure_eval]==2.18.0 doesn't install pure_eval dependencies #3754

Closed
@JayDarjiAubergine

Description

@JayDarjiAubergine

How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.18.0

Steps to Reproduce

When I create fresh virtualenv from python 3.9 and install sentry-sdk[django,pure_eval]==2.18.0 then it correctly install its pure_eval dependencies which are asttokens, executing and pure_eval

Notice that here by default pip version is 24.2

Image


Now, when we manually pin pip version to 24.0 which we need for our other dependencies to work, it's not installing pure_eval dependencies at all!

Notice that here we have one warning which was not there in the previous one where we had pip > 24.0!

pure_eval dependencies are: https://github.com/getsentry/sentry-python/blob/2.18.0/setup.py#L73

Warning was:

WARNING: sentry-sdk 2.18.0 does not provide the extra 'pure-eval'

Image

And now check the dependencies, which don't have asttokens, executing and pure_eval at all

Image


Is it a problem from sentry-sdk or is it something problematic with pip itself?
The workaround I used for now is to manually pinned those 3 dependencies in my requirements.txt file as of now, but that's not good.
Help will be appreciated.

Expected Result

The expected installation would be to install those dependencies automatically when we specify it in installation without depending on pip version.

Actual Result

Installed without specified dependencies which we can see above in the Summary section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDependenciesPull requests that update a dependency file

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions