marcglasberg / async_redux

Flutter Package: A Redux version tailored for Flutter, which is easy to learn, to use, to test, and has no boilerplate. Allows for both sync and async reducers.
Other
230 stars 41 forks source link

Version 3.0.5 is incompatible with flutter_dirver 1.22.0-12.1.pre #87

Closed dluksza closed 3 years ago

dluksza commented 4 years ago

After upgrading flutter to latest beta version my project dependencies are broken because incompatible version of file used in async_reduxt 3.0.5 with latest flutter_driver

Flutter is already up to date on channel beta
Flutter 1.22.0-12.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 8b3760638a (4 days ago) • 2020-09-15 17:47:13 -0700
Engine • revision 4654fc6cf6
Tools • Dart 2.10.0 (build 2.10.0-110.3.beta)
Because every version of flutter_driver from sdk depends on file 6.0.0-nullsafety.1 and async_redux >=2.8.1 depends on file ^5.1.0, flutter_driver from sdk is incompatible with async_redux >=2.8.1.
So, because habit_challenge depends on both async_redux 3.0.5 and flutter_driver any from sdk, version solving failed.
Running "flutter pub upgrade" in habit_challenge...                     
pub upgrade failed (1; So, because habit_challenge depends on both async_redux 3.0.5 and flutter_driver any from sdk, version solving failed.)
marcglasberg commented 4 years ago

So, I can't change this before file 6.0.0 goes to the stable channel. I'd suggest you could fork it from GitHub just to change this dependency. And then go back to pub.dev in the future.

dluksza commented 4 years ago

Makes sense. For anyone that needs to be on Flutter beta channel, here is an updated pubspec.yaml entry:

  async_redux:
    git:
      url: git://github.com/dluksza/async_redux
      ref: 404262c8230a081859742b22a7380f953d34d855
marcglasberg commented 3 years ago

Version [4.00] is now good for Flutter 1.22. Accepts file 6.0.0-nullsafety.2.

catalunha commented 3 years ago

Congratulations on your careful work. This library is fantastic.