Skip to content
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

[Request]: package_info_plus should be compatilbe with web: ^0.5.0 #2657

Closed
RoarGronmo opened this issue Mar 5, 2024 · 2 comments
Closed
Labels
enhancement New feature or request triage

Comments

@RoarGronmo
Copy link

RoarGronmo commented Mar 5, 2024

Plugin

package_info_plus

Use case

When trying to upgrade some of our plugins, package_info_plus seem to be the one to blame because of following dependency defiency when pinning i.e. plugin http: ^1.2.1:

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.
So, because m_office depends on both http ^1.2.1 and package_info_plus ^5.0.1, version solving failed.

Could you please update the dependencies in package_info_plus so it is compatible with web: ^0.5.0 ?

secondly:

If we try to pin plugin drift: ^2.16.0, we got same result:

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 drift >=2.16.0 depends on web ^0.5.0, package_info_plus ^5.0.1 is incompatible with drift >=2.16.0.
So, because m_office depends on both drift ^2.16.0 and package_info_plus ^5.0.1, version solving failed.

We appriciate if it could be resolved relatively soon or do you have another suggestion to remedy ?

Proposal

Could you please update the dependencies in package_info_plus so it is compatible with web: ^0.5.0 ?

@RoarGronmo RoarGronmo added enhancement New feature or request triage labels Mar 5, 2024
@RoarGronmo RoarGronmo changed the title [Request]: package_info_plus should be compatilbe with 'web ^0.5.0' [Request]: package_info_plus should be compatilbe with web ^0.5.0 Mar 5, 2024
@RoarGronmo RoarGronmo changed the title [Request]: package_info_plus should be compatilbe with web ^0.5.0 [Request]: package_info_plus should be compatilbe with web: ^0.5.0 Mar 5, 2024
@hnvn
Copy link
Member

hnvn commented Mar 6, 2024

I stuck with this issue too, it blocks me from upgrading google_maps_flutter to its latest version

@miquelbeltran
Copy link
Member

Please use the search function, this has been already discussed here: #2653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

3 participants