-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Roll pub packages #157392
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
Roll pub packages #157392
Conversation
|
auto label is removed for flutter/flutter/157392, due to - The status or check suite Mac tool_integration_tests_5_5 has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
integration test failure: |
Given this, it looks like this integration test is using special test deps not from one of our pubspec.yamls in the tree, and thus the autoroller isn't rolling it. |
Ahh, ok, it's because we're "pinning" these deps (by essentially deleting the carets): https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/isolated/native_assets_test_utils.dart#L40 @dcharkes this will essentially block any pub autoroll that changes one of the transitive deps of this test app. I'm guessing we started pinning this because otherwise newly published packages would sometimes break these tests? I think we need to either: a. figure out a way for the pub autoroller to also roll the lower constraints of the template pubspecs; or |
Correct, I broke the test once by pushing a new version.
No very strong opinions here. But I'd like to run at least one integration test for Option a might not work if the roll actually change the syntax of what is in (I'm OOO for two more weeks, please refer to @mkustermann in the meantime.) |
|
I don't understand much how auto-rolling works, but if + native_assets_cli: 0.8.0
- native_assets_cli: 0.9.0then we could rewrite the test (and the package template) to re-use the pinned value. |
|
So from my understanding this isn't related to The situation seems to be as follows and only problematic due to
So from my view
The problematic part is the test: It makes the ladder depend on the former and on top of that it makes dependencies pinned to an incompatible version. => So what I suggest we do is to make the test package (created via template) use the pinned package versions from |
|
I've landed 31c1292 which should make the native asset test more robust and not cause this version constraint conflict despite still using pinned deps for it's test. @christopherfujino @matanlurey how to make the flutter-pub-roller make another roll attempt with updated pub deps?
I'm working on a PR to bump to the new |
Thanks! Sorry, I've been distracted this week, but I appreciate you landing the fix and opening the new manual roll PR. |
|
I'm gonna close this PR so that the bot will open a new one, including the regenerating gradle lockfiles. |
This PR was generated by
flutter update-packages --force-upgrade.