shaqian / flutter_ssh

SSH and SFTP client for Flutter
https://pub.dartlang.org/packages/ssh
MIT License
117 stars 83 forks source link

version solving failed #8

Open kay4ik opened 5 years ago

kay4ik commented 5 years ago

Hey, My App uses some other packages depending on uuid ^2.0.0. The ssh package depends on uuid ^1.0.3. Could you please update youre this package?

Here some changelogs from pub.dev:

- v2.0.1
Fix regression where CryptoRNG was default, moved back to MathRNG
Added ability to set RNG globally to skip having to set it in every function call
Allows you to set the v1 clock sequence, nodeID, and seed bytes to use cryptoRNG separately from globalRNG.

- v2.0.0
Fixup the API to split out Buffer and Non-buffer usages.
Switch to build in Random.secure() and remove custom AES implementation.
Less dependencies.
Docs
Cleanup

- v1.0.3
Fix SDK constraints to allow Dart 2.0 stable.

Here the output from flutter:


Because no versions of flutter_cache_manager match >0.3.2 <0.4.0 and flutter_cache_manager 0.3.2 depends on uuid ^2.0.0, flutter_cache_manager ^0.3.2 requires uuid ^2.0.0.

And because every version of ssh depends on uuid ^1.0.3, flutter_cache_manager ^0.3.2 is incompatible with ssh.

So, because MyApp depends on both ssh ^0.0.3 and flutter_cache_manager ^0.3.2, version solving failed.

Thank you very much!

shaqian commented 5 years ago

Hi Kay,

Sure. I will update in next version. I think you can manually overwrite the version in the line below as a workaround? https://github.com/shaqian/flutter_ssh/blob/master/pubspec.yaml#L14

Thanks, Qian

dariolr commented 4 years ago

as workaround:

dependency_overrides: uuid: ^2.0.0