You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× No solution found when resolving dependencies:
╰─▶ Because graphene-sentry==0.4.0 depends on sentry-sdk>=0.5.2,<=0.10.1 and only graphene-sentry==0.4.0 is available, we can conclude that all versions of graphene-sentry depend on sentry-sdk>=0.5.2,<=0.10.1.
And because your project depends on graphene-sentry and sentry-sdk>=2.14.0,<2.15, we can conclude that your project's requirements are unsatisfiable.
To improve compatibility with other packages, it would be helpful to remove the strict version cap on sentry-sdk in setup.py. Instead of pinning it to an exact version range, consider specifying only a minimum version if certain APIs are required, while leaving the maximum version unbounded. This approach maximizes downstream compatibility and reduces the likelihood of dependency conflicts for users.
Removing or relaxing version caps for both graphene_django and sentry-sdk could prevent dependency resolution issues with other projects that depend on newer versions, as some package managers will block users from compatible releases due to strict constraints.
The text was updated successfully, but these errors were encountered:
Description
Installing via
uv
(repo, docs, PyPI) ran into thesentry-sdk
constraint in setup.py: https://github.com/phalt/graphene-django-sentry/blob/49e05345d84605ddad7cec36da7410a3100658ec/setup.py#L13What I Did
uv 0.5.1 with these dependencies:
Suggested solution
To improve compatibility with other packages, it would be helpful to remove the strict version cap on
sentry-sdk
insetup.py
. Instead of pinning it to an exact version range, consider specifying only a minimum version if certain APIs are required, while leaving the maximum version unbounded. This approach maximizes downstream compatibility and reduces the likelihood of dependency conflicts for users.Currently, the
setup.py
specifies:To make it more flexible, this could be changed to:
Or, if a minimum version is necessary:
Removing or relaxing version caps for both
graphene_django
andsentry-sdk
could prevent dependency resolution issues with other projects that depend on newer versions, as some package managers will block users from compatible releases due to strict constraints.The text was updated successfully, but these errors were encountered: