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

Upgrading to v2.0.0 failing #14

Closed
devopsokdone opened this issue Sep 1, 2020 · 4 comments
Closed

Upgrading to v2.0.0 failing #14

devopsokdone opened this issue Sep 1, 2020 · 4 comments
Assignees
Labels
status: done This issue is considered resolved. type: bug This issue reports a bug.

Comments

@devopsokdone
Copy link

When trying to upgrade SDK version to 2.0.0 giving following error:

Because pubnub >=1.4.4 depends on xml ^4.3.0 which depends on meta ^1.2.0, pubnub >=1.4.4 requires meta ^1.2.0.
And because every version of flutter from sdk depends on meta 1.1.8, pubnub >=1.4.4 is incompatible with flutter from sdk.
So, because appname_pubnub depends on both flutter any from sdk and pubnub ^2.0.0, version solving failed.
pub get failed (1; So, because appname_pubnub depends on both flutter any from sdk and pubnub ^2.0.0, version solving failed.)

Our Flutter version:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.18363.1016], locale en-IN)

We checked the pubsec.yaml file of SDK and the version of package "meta" is 1.1.0 and it seems minimum required is 1.1.8 or 1.2.0 due to which upgrade is failing.

@are are added status: accepted This issue is accepted as valid, but it's not being worked on yet. type: bug This issue reports a bug. labels Sep 2, 2020
@are are self-assigned this Sep 2, 2020
@devopsokdone
Copy link
Author

Quick message to check if this will take time to resolve as our testing for history and reconnection is dependent on this release.

@mohitpubnub
Copy link
Contributor

Most probably next week this will get fixed!
May be @are will communicate exact date soon.

@client-engineering-bot
Copy link
Contributor

@devopsokdone this issue is addressed in v2.0.1

@client-engineering-bot client-engineering-bot added status: done This issue is considered resolved. and removed status: accepted This issue is accepted as valid, but it's not being worked on yet. labels Sep 7, 2020
@mohitpubnub
Copy link
Contributor

mohitpubnub commented Sep 7, 2020

As per - flutter/flutter#61427

This fix won't work as it is yet on flutter 1.20.2! Please wait for next upgrade.

Meanwhile, You can override the dependency in your pubspec.yaml by adding

dependency_overrides:
  meta: 1.1.8

Or whatever version you want to use of meta in your flutter application.
So the version upgrade to v2.0.0 won't be the blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: done This issue is considered resolved. type: bug This issue reports a bug.
Projects
None yet
Development

No branches or pull requests

4 participants