Skip to content

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Jan 25, 2021

This updates vm_service and package:test* in particular.

I have not run all tests on this yet.

I've added some analysis ignores for files that will be rolled into g3 to hopefully make rolls easier.

@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels. labels Jan 25, 2021
@google-cla google-cla bot added the cla: yes label Jan 25, 2021
@dnfield dnfield marked this pull request as ready for review January 25, 2021 20:18
@dnfield dnfield requested a review from jonahwilliams January 25, 2021 20:18
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Future<void> initialize({bool soundNullSafety}) async {}

@override
Future<bool> updateDependencies(Map<String, ModuleInfo> modules) async => true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is not used in the monorepo and should be perfectly safe to roll.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this something the tool needs to implement? @grouma

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Since you guys use the Frontend Server your dependencies are always up to date and it is always initialized with the correct null safety support.


@override
void dispose() {
Future<void> dispose() async {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this code won't cause problems in g3 but it potentially could.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, that is what frob is for :)

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite Linux customer_testing has failed. Please fix the issues identified (or deflake) before re-applying this label.
  • The status or check suite Mac customer_testing has failed. Please fix the issues identified (or deflake) before re-applying this label.
  • The status or check suite Windows customer_testing has failed. Please fix the issues identified (or deflake) before re-applying this label.
  • The status or check suite customer_testing-linux has failed. Please fix the issues identified (or deflake) before re-applying this label.

@dnfield
Copy link
Contributor Author

dnfield commented Jan 25, 2021

This is failing due to some package conflicts with the new gallery.

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite Linux flutter_plugins has failed. Please fix the issues identified (or deflake) before re-applying this label.

@dnfield
Copy link
Contributor Author

dnfield commented Jan 26, 2021

This is now blocked on Mockito.

Currently, there is no version 4.x of Mockito that supports a new enough analyzer to use a null-safe package:crypto.

Checking with @srawlins to see if we can do anything about that. If not, we might want to wait on this until after stable release.

@dnfield
Copy link
Contributor Author

dnfield commented Jan 26, 2021

Full error text, which is not showing up in CI logs unfortunately, is:

Because mockito >=4.1.3 <5.0.0-nullsafety.0 depends on analyzer >=0.39.15 <0.41.0 which depends on crypto ^2.0.0, mockito >=4.1.3 <5.0.0-nullsafety.0 requires crypto ^2.0.0.
And because every version of flutter_driver from sdk depends on crypto 3.0.0-nullsafety.0, mockito >=4.1.3 <5.0.0-nullsafety.0 is incompatible with flutter_driver from sdk.
So, because camera depends on both flutter_driver any from sdk and mockito ^4.1.3, version solving failed.
Running "flutter pub get" in camera...                                  
pub get failed (1; So, because camera depends on both flutter_driver any from sdk and mockito ^4.1.3, version solving failed.)

@dnfield
Copy link
Contributor Author

dnfield commented Jan 26, 2021

Mockito 4.1.4 was published to help with this.

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite Linux flutter_plugins has failed. Please fix the issues identified (or deflake) before re-applying this label.

@dnfield
Copy link
Contributor Author

dnfield commented Jan 26, 2021

Tree is actually green

@dnfield dnfield merged commit d153832 into flutter:master Jan 26, 2021
@dnfield dnfield deleted the roll_pkg branch January 26, 2021 17:16
christopherfujino added a commit to chris-forks/flutter that referenced this pull request Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests c: contributor-productivity Team-specific productivity, code health, technical debt. framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants