-
Notifications
You must be signed in to change notification settings - Fork 65
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
Updating some dependencies, part 1 #771
Conversation
@micahmo I'll leave it to you to perform some testing on this with the upgraded dependencies for Android if thats okay? I'll go ahead and do a general run through on iOS just to double check that nothing immediately shows up! |
Before I look at this, are we expecting |
In It is important for libraries to be open with their dependency version requirements so that they can be compatible with each other. But for applications like thunder, you want to pin version requirements so that everyone who builds the project gets identical versions of the dependencies. The
So |
Thanks for the response!
Just a point of clarification, I believe This is probably more of a philosophical question than a technical one, but is there any reason to not also update the packages in Anyway, I know every package management system has its own quirks and tries to solve dependency hell in its own ways. So far, haven't had too many issues with Dart/Flutter's implementation. Also @hjiangsu I ran through a few tests on Android and everything seems fine to me. |
I think Hmm.. I don't know the answer, but here are some thoughts: Thunder is an application and not a library (thunder isn't the dependency of another project), so it shouldn't break anything to make the minimum versions in Also because Thunder is an application the point of truth for package versions is the lock file, the main purpose of the yaml file is to generate the lock file. So if we are generating a good lock file, then the yaml file is probably also good. So from my limited understanding, I don't think it should make a difference to update the yaml versions to match the lock. I will try to update a couple of things in the yaml in a follow-up PR. For example, the Hopefully getting all of the dependencies updated will fix some of the issues, and hopefully it fixes more issues that it creates. But I think packages tend to improve with time. |
I would just like to say that I'm learning more about how package resolvers work because of this discussion 😅 I think @gwbischof is correct here in terms of how
One slight correction here is that if a version is below Anyways, if this looks good, I can go ahead and merge this in! Thanks again @gwbischof and @micahmo 😁 |
Another thing - I'm indifferent about updating the |
Ohh interesting, I didn't know that |
I had to run
flutter pub upgrade
to get it to build for linux.So this PR is just a
flutter pub upgrade
App seems to be working for me correctly on linux.
I will update some of the other deps in follow-up PRs, for example
extended_image