Skip to content

flutter_test from sdk is incompatible with get_it >=7.1.4. #204

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

Closed
saigkl opened this issue Jun 16, 2021 · 9 comments
Closed

flutter_test from sdk is incompatible with get_it >=7.1.4. #204

saigkl opened this issue Jun 16, 2021 · 9 comments

Comments

@saigkl
Copy link

saigkl commented Jun 16, 2021

[app] flutter pub get
Running "flutter pub get" in app...                         
Because every version of flutter_test from sdk depends on async 2.6.1 and get_it >=7.1.4 depends on async ^2.7.0, flutter_test from sdk is incompatible with get_it >=7.1.4.

So, because app depends on both get_it ^7.1.4 and flutter_test any from sdk, version solving failed.
pub get failed (1; So, because app depends on both get_it ^7.1.4 and flutter_test any from sdk, version solving failed.)
exit code 1
@escamoteur
Copy link
Collaborator

please stay for now on 7.1.3. Latest version has only a fix for a really rare bug

@henry-hz
Copy link

but it works with flutter-2.3-candidate.26

@escamoteur
Copy link
Collaborator

it also works when you are on mastr

@mauriceraguseinit
Copy link

Because every version of flutter_test from sdk depends on async 2.6.1 and get_it 7.1.4 depends on async ^2.7.0, flutter_test from sdk is incompatible with get_it 7.1.4.
So, because verbraucherschutz depends on both get_it 7.1.4 and flutter_test any from sdk, version solving failed.
pub get failed (1; So, because verbraucherschutz depends on both get_it 7.1.4 and flutter_test any from sdk, version solving failed.)

Flutter 2.2.2 with get_it 7.1.4 ...

:-(

@escamoteur
Copy link
Collaborator

@mauriceraguseinit the latest change won't have an impact on you probably because it was a very rare edge case.

@mauriceraguseinit
Copy link

hmm.. ok now I use get_it 7.1.3

@sachin-dahal
Copy link

I was also facing the same issue with flutter_test from sdk is incompatible which is because of the get_it version ^7.1.4
I downgrade the version to ^7.1.3 and there is no issue
Hope, this issue would get fixed soon in the upcoming version of get_it

@escamoteur
Copy link
Collaborator

fixed with V7.2.0

@UsamaEjaz0
Copy link

Because every version of flutter_test from sdk depends on async 2.5.0 and get_it >=7.2.0 depends on async ^2.6.0, flutter_test from sdk is incompatible with get_it >=7.2.0.
So, because watermark depends on both get_it ^7.2.0 and flutter_test any from sdk, version solving failed.
pub get failed (1; So, because watermark depends on both get_it ^7.2.0 and flutter_test any from sdk, version solving failed.)

V7.2.0 still has this issue, v7.1.3 works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants