spruceid / wallet

A reference credential wallet built on Flutter and DIDKit.
https://spruceid.dev/docs/credible
Apache License 2.0
45 stars 24 forks source link

Dependency mismatch with DIDKit #17

Closed clehner closed 3 years ago

clehner commented 3 years ago

With https://github.com/spruceid/didkit/pull/60 and current Credible, there is a dependency conflict:

credible$ flutter pub get
Because path_provider >=1.6.17 <2.0.0-nullsafety depends on path_provider_windows ^0.0.4 which depends on ffi ^0.1.3, path_provider >=1.6.17 <2.0.0-nullsafety requires ffi ^0.1.3.
And because every version of didkit from path depends on ffi ^0.3.0-nullsafety.1, path_provider >=1.6.17 <2.0.0-nullsafety is incompatible with didkit from path.
So, because credible depends on both didkit from path and path_provider ^1.6.24, version solving failed.
Running "flutter pub get" in credible...                                
pub get failed (1; So, because credible depends on both didkit from path and path_provider ^1.6.24, version solving failed.)

Should Credible have dependency updates corresponding to the updates in DIDKit?

theosirian commented 3 years ago

Yes, I have already addressed this in #16.

clehner commented 3 years ago

@theosirian thanks, I should have seen that. But I still get this with #16 checked out:

credible$ flutter pub get
Because every version of flutter_test from sdk depends on meta 1.3.0 and bloc 7.0.0-nullsafety.1 depends on meta >=1.3.0-nullsafety.6 <1.3.0, flutter_test from sdk is incompatible with bloc 7.0.0-nullsafety.1.
And because no versions of bloc match >7.0.0-nullsafety.1 <8.0.0, flutter_test from sdk is incompatible with bloc ^7.0.0-nullsafety.1.
So, because credible depends on both bloc ^7.0.0-nullsafety.1 and flutter_test any from sdk, version solving failed.
Running "flutter pub get" in credible...                                
pub get failed (1; So, because credible depends on both bloc ^7.0.0-nullsafety.1 and flutter_test any from sdk, version solving failed.)

Is there something else to update?

https://github.com/spruceid/credible/commit/a06dddbd96c7e13d71fd81de8e276612c0f28196 (profile) https://github.com/spruceid/didkit/commit/c71e521c5e481a42ba485c879e5db4fe4861b8a2 (main) https://github.com/spruceid/ssi/commit/541b6d48a6723573790eedfedef317cfcd35607c (main)

clehner commented 3 years ago

Fixed by switching to Flutter dev channel.

$ flutter channel dev
$ flutter upgrade