Skip to content
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

Stash 3.0.0 is incompatible with flutter_test #12

Closed
tjarvstrand opened this issue May 28, 2021 · 3 comments
Closed

Stash 3.0.0 is incompatible with flutter_test #12

tjarvstrand opened this issue May 28, 2021 · 3 comments
Assignees
Labels
bug Something isn't working
Projects

Comments

@tjarvstrand
Copy link
Contributor

Describe the bug
By extension Stash is unfortunately pretty much incompatible with most flutter projects

Because every version of flutter_test from sdk depends on async 2.6.1 and stash >=3.0.0-dev.2 depends on async ^2.7.0, flutter_test from sdk is incompatible with stash >=3.0.0-dev.2.
And because stash_dio >=3.0.0 depends on stash ^3.0.0, flutter_test from sdk is incompatible with stash_dio >=3.0.0.
So, because alltold depends on both stash_dio 3.0.0 and flutter_test any from sdk, version solving failed.
@github-actions github-actions bot added this to To do in stash May 28, 2021
@tjarvstrand
Copy link
Contributor Author

FWIW adding this to pubspec.yaml seems to work as a temporary fix:

dependency_overrides:
  async: 2.6.1

@ivoleitao ivoleitao self-assigned this May 28, 2021
@ivoleitao
Copy link
Owner

I can go back to the previous version I think I'm not using anything special from 2.7.0. Let me check

@ivoleitao ivoleitao moved this from To do to In progress in stash May 28, 2021
@ivoleitao ivoleitao added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels May 28, 2021
ivoleitao added a commit that referenced this issue May 28, 2021
@ivoleitao
Copy link
Owner

I've downgraded to version 2.6.1 of async in version 3.0.1 that I've just published

stash automation moved this from In progress to Done May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
stash
Done
Development

No branches or pull requests

2 participants