-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[path_provider, video_player] Tweak pubspecs to pass bulk analysis. #2959
Conversation
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 on video_player
. Ping @stuartmorgan for the macos change.
Not sure why "any" wouldn't pass CI tho.
My theory is that on a previous PS: My |
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 thought we needed any
because of some detail of the complicated tangle of circular dependencies, to avoid conflicting with something else. But if it passes tests, LGTM.
@stuartmorgan yes, without "any" and specifying the _macos dependency by path it fails (because in the versioned dependency of the plugin, the _macos dependency is set with a version). Using dependency_overrides is another way of fixing this issue with the desired result, I think. I'll merge this, but please, let me know if there are any problems with _macos development/example later! |
Merging on red to see if the |
Looks like this made the tree green, yay! |
* master: [url_launcher, url_launcher_web]Added webOnlyWindowName parameter to launch() (flutter#2979) [battery_platform_interface] Introduce package. (flutter#2975) [url_launcher_platform_interface] Add webOnlyWindowName parameter to launch() (flutter#2974) [share] Add sharing file support (android & ios) (flutter#970) [integration_test] add support to get timeline (flutter#2947) [battery] Moved battery to its own subdir (flutter#2969) [integration_test] Fix channel name for iOS, docs (flutter#2972) [integration_test] Show stack trace of widget test errors on the platform side (flutter#2967) [video_player] Fix `setWithOthers` test (flutter#2970) [video_player_platform_interface] fix `setMixIWithOthers` test channel (flutter#2968) Add README instructions for enablePendingPurchases (flutter#2921) Rebase previous commits (flutter#2966) Avoid walleye 26 Updating documentation to use isEmpty check. (flutter#2955) [integration_test] Minor cleanup (flutter#2956) [path_provider, video_player] Tweak pubspecs to pass bulk analysis. (flutter#2959) [android_intent] fix platform package dep (flutter#2948) [shared_preferences_linux] update `file` package dep version to be compatible with framework (flutter#2950)
Description
It seems the
./script/incremental_build.sh analyze
script is failing to analyze some random packages, and failing CI.It seems
pub get
is not downloading the latest versions of some dependencies, and this is causing analyzer problems (missing classes, etc).This change fixes a couple of pubspec.yaml files to ensure pub is downloading the appropriate packages for the packages I saw failing on my machine (
path_provider_macos/example
andvideo_player
).Related Issues
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?