-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Make flutter tool enforce >= kotlin 1.7.0, Gradle 7.0.2, and AGP 7.0.0, and Fix test failures blocking androidx upgrade #149204
Make flutter tool enforce >= kotlin 1.7.0, Gradle 7.0.2, and AGP 7.0.0, and Fix test failures blocking androidx upgrade #149204
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Three tests fail in |
Bonus, the refactor to the dependency version checker tests should make it very easy for us to set up a suite of tests that range our Gradle/AGP/KGP versions |
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cant tell if this is a staging pr or one that you intend to land. The engine.version is still present that your comment says should not be landed but this is not a draft and this pr set the minimum kotlin version.
If this is the pr to set the error version of kotlin then lets me that the title and first points in the pr description.
This is the PR I intend to land, I'd left the engine hash to show tests passing. I've reverted that change now though so it's clearer. Also changed title and added summary to description Sorry for the confusion! |
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…AGP 7.0.0, and Fix test failures blocking androidx upgrade (flutter/flutter#149204)
…lutter#151845) Not needed after flutter#149204 (as long as nothing has changed since the comment was made ð���). Fixes flutter#145105.
…lutter#151845) Not needed after flutter#149204 (as long as nothing has changed since the comment was made ð���). Fixes flutter#145105.
PR to pave the way for flutter/engine#53001 to re-land
Summary:
1.7.0
(please see below note)Details:
Because it landed initially, we are able to fake the roll in this PR to fix all the tests (see my comment).
Fixes all the tests that failed:
module_test
failing on multiple platforms (3/9 of the failures).Failure is
This is a rather unhelpful error message but some folks online suggest that upgrading your
compileSdk
version fixes this.These resolve when I remove the dependency on the long discontinued package_info and device_info packages, perhaps because they are transitively pulling in low
compileSdk
versions? This is unclear to me.module_custom_host_app_name_test
was failing for the same reason (another 3/9, or cumulative 6/9).tool_integration_tests_3_4
was a flake 🙂 (7/9)framework_tests_slow
needed a newer version of the Kotlin Gradle plugin (the flutter tool tells us this, so I just upgraded as suggested) and it resolved (8/9)5.
android_preview_tool_integration_tests
needed newer AGP and KGP versions. I also refactored the tests, and bumped our error versions, fixing Activate error versions for Gradle, Java, AGP, and KGP #142653.Note that the bump to KGP is not in line with our policy - we didn't warn for
1.5.0-1.6.x
for a release (or at all) before dropping support. But I think it might still be justified:Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.