Skip to content

Conversation

@polina-c
Copy link
Contributor

@polina-c polina-c commented Jan 2, 2024

Pin some dependencies to unblock upgrades for other packages.

Breaking changes: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8759996669305826785/+/u/flutter_config_--clear-features/stdout
Fixes for the static errors lead to other test failures.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jan 2, 2024
@polina-c polina-c changed the title Pin path_provider_android. Pin path_provider_android and dwds. Jan 2, 2024
/// in ways that prevent them from ever upgrading Flutter again!
const Map<String, String> kManuallyPinnedDependencies = <String, String>{
// Add pinned packages here. Please leave a comment explaining why.
'dwds': '22.1.0', // https://github.com/flutter/flutter/issues/140796
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does DWDS need to be pinned?

Copy link
Contributor

Choose a reason for hiding this comment

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

Never mind:

flutter%20sdk/packages/flutter_tools/lib/src/isolated/devfs_web.dart:102:16: Error: The method 'WebExpressionCompiler.initialize' has fewer positional arguments than those of overridden method 'ExpressionCompiler.initialize'.
  Future<void> initialize({String? moduleFormat, bool? soundNullSafety}) async {}
               ^
/home/chrome-bot/.pub-cache/hosted/pub.dev/dwds-23.0.0/lib/src/services/expression_compiler.dart:86:16: Context: This is the overridden method ('initialize').
  Future<void> initialize(CompilerOptions options);
               ^
flutter%20sdk/packages/flutter_tools/lib/src/isolated/devfs_web.dart:289:23: Error: The argument type 'Uri?' can't be assigned to the parameter type 'BuildSettings'.
 - 'Uri' is from 'dart:core'.
 - 'BuildSettings' is from 'package:dwds/src/loaders/strategy.dart' ('/home/chrome-bot/.pub-cache/hosted/pub.dev/dwds-23.0.0/lib/src/loaders/strategy.dart').
        packageConfig.toPackageUri(
                      ^

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8759996669305826785/+/u/flutter_config_--clear-features/stdout

@christopherfujino
Copy link
Contributor

superceded by #140810 (which fixes dwds and pins path_provider_android)

@polina-c polina-c deleted the path_provider_android branch January 2, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

2 participants