xclud / web3dart

Ethereum library, written in Dart.
https://pub.dev/packages/web3dart
MIT License
170 stars 94 forks source link

Version incompatibility #90

Open yevhen-samoilov opened 1 year ago

yevhen-samoilov commented 1 year ago

Because no versions of web3dart match >2.6.1 <3.0.0 and web3dart 2.6.1 depends on stream_channel ^2.1.1, web3dart ^2.6.1 requires stream_channel ^2.1.1. And because every version of flutter_test from sdk depends on stream_channel 2.1.0, web3dart ^2.6.1 is incompatible with flutter_test from sdk. And because firebase_analytics >=10.0.3 depends on firebase_core_platform_interface ^4.5.2 which depends on flutter_test from sdk, web3dart ^2.6.1 is incompatible with firebase_analytics >=10.0.3. So, because shell_game_nft depends on both firebase_analytics ^10.1.0 and web3dart ^2.6.1, version solving failed. pub get failed (1; So, because shell_game_nft depends on both firebase_analytics ^10.1.0 and web3dart ^2.6.1, version solving failed.) exit code 1

moesaid commented 1 year ago

Because every version of flutter_test from sdk depends on stream_channel 2.1.0 and web3dart >=2.5.2 depends on stream_channel ^2.1.1, flutter_test from sdk is incompatible with web3dart >=2.5.2.

same here flutter_test && integration_test depends on stream_channel 2.1.0

4xMafole commented 1 year ago

A temporary fix, just override the stream channel package on pubspec.yaml. E.g override_dependencies: stream_channel: ^2.1.0

makinghappen commented 1 year ago

@moesaid no such issue in https://github.com/devopsdao/webthree a fork of web3dart 2.3.5