-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Update dependencies #99874
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
Update dependencies #99874
Conversation
|
@christopherfujino I'm not sure how to fix this failure. I attempted to update the failing test to use It looks like |
|
looking |
So there are several issues with this, especially surrounding the test setup. However, I think there may legitimately be a breaking change in When I run this test: testUsingContext('FlutterManifest parses major.minor+build version clause', () {
const String manifest = '''
name: test
version: 1.0+2
dependencies:
flutter:
sdk: flutter
flutter:
''';
final BufferLogger logger = BufferLogger.test();
final FlutterManifest flutterManifest = FlutterManifest.createFromString(
manifest,
logger: logger,
);
expect(flutterManifest, matchesManifest(
appVersion: '1.0+2',
buildName: '1.0',
buildNumber: '2',
));
});I get this error: When I revert the |
|
Oh wait, I think if we just change the sample manifest to have this line: and then update the expectations it will work |
How ironic that we potentially didn't follow semver when releasing a new version of Is this maybe just worth pinning at |
|
this was the breaking change: dart-archive/pub_semver@cee044a |
|
and yes, very ironic ;) |
|
So, to summarize:
|
Awesome, thanks for investigating! To confirm I understand correctly, we should be able to resolve the issue by simply updating the sample manifest, right? |
Yep, and the expectation. |
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.
LGTM
|
This pull request is not suitable for automatic merging in its current state.
|
No description provided.