Skip to content

[Request]: Version solving failed. #2680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kjxbyz opened this issue Mar 13, 2024 · 3 comments
Closed

[Request]: Version solving failed. #2680

kjxbyz opened this issue Mar 13, 2024 · 3 comments
Labels
enhancement New feature or request triage

Comments

@kjxbyz
Copy link
Contributor

kjxbyz commented Mar 13, 2024

Plugin

package_info_plus

Use case

Version compatibility error reported when upgrading firebase.

  firebase_analytics: ^10.8.10
  firebase_core: ^2.27.1
  firebase_messaging: ^14.7.20
Because no versions of sentry_flutter match >7.17.0 <8.0.0 and sentry_flutter 7.17.0 depends on package_info_plus >=1.0.0 <=5.0.1, sentry_flutter ^7.17.0 requires
  package_info_plus >=1.0.0 <=5.0.1.
And because package_info_plus 5.0.1 depends on web >=0.3.0 <0.5.0 and firebase_messaging_web >=3.7.0 depends on web ^0.5.1, if sentry_flutter ^7.17.0 and
  firebase_messaging_web >=3.7.0 then package_info_plus >=1.0.0 <5.0.1.
And because homing_pigeon depends on firebase_messaging ^14.7.20 which depends on firebase_messaging_web ^3.7.0, sentry_flutter ^7.17.0 requires package_info_plus
  >=1.0.0 <5.0.1.
So, because homing_pigeon depends on both package_info_plus ^5.0.1 and sentry_flutter ^7.17.0, version solving failed.

Proposal

Please refer to the user case.

@pamafe1976
Copy link

Appart from the new Firebase update, in my case it is preventing me from upgrading http package to 1.2.1

Resolving dependencies...
Because no versions of package_info_plus match >5.0.1 <6.0.0 and package_info_plus 5.0.1 depends on web >=0.3.0 <0.5.0, package_info_plus ^5.0.1 requires web >=0.3.0 <0.5.0.
And because http >=1.2.1 depends on web ^0.5.0, package_info_plus ^5.0.1 is incompatible with http >=1.2.1.

@EricPHassey
Copy link

Appart from the new Firebase update, in my case it is preventing me from upgrading http package to 1.2.1

Resolving dependencies...
Because no versions of package_info_plus match >5.0.1 <6.0.0 and package_info_plus 5.0.1 depends on web >=0.3.0 <0.5.0, package_info_plus ^5.0.1 requires web >=0.3.0 <0.5.0.
And because http >=1.2.1 depends on web ^0.5.0, package_info_plus ^5.0.1 is incompatible with http >=1.2.1.

Same issue here. http 1.2.1 has issues. If I downgrade that to 1.2.0 then my other firebase packages have issues that need to be resolved.

@miquelbeltran
Copy link
Member

This is discussed in the pinned issue: #2653

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

4 participants