Skip to content

[various] Remove unused flutter_driver dependencies - #4347

Merged
auto-submit[bot] merged 4 commits into
flutter:mainfrom
stuartmorgan-g:flutter-driver-cleanup-part-i
Jun 29, 2023
Merged

[various] Remove unused flutter_driver dependencies#4347
auto-submit[bot] merged 4 commits into
flutter:mainfrom
stuartmorgan-g:flutter-driver-cleanup-part-i

Conversation

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

flutter_driver has been mostly replaced by integration_test, but we still have a lot of remaining dependencies on the package. This removes the dependency from pubspec.yaml for all plugins that aren't actually importing it.

It also removes an old video_player test that has been disabled for years that was never updated from flutter_driver to integration_test; we've since added a lot more testing to video_player, so in practice this is cruft that we can just remove.

Closesflutter/flutter#85224

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

@stuartmorgan-gstuartmorgan-g added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Jun 29, 2023
@stuartmorgan-g

Copy link
Copy Markdown
CollaboratorAuthor

Overrides: these are dev dependencies, so don't need to be versioned or mentioned in the changelog.

@ditmanditman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yikes, big offender on this one. Thanks for the cleanup! LGTM!

@stuartmorgan-g

Copy link
Copy Markdown
CollaboratorAuthor

Yikes, big offender on this one. Thanks for the cleanup! LGTM!

I think I'm the offender; IIRC I did a bunch of the switch of the driver files to integration_test, and that's when the flutter_driver dependencies should have been removed but weren't.

@stuartmorgan-gstuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 29, 2023
@auto-submit
auto-submitBot merged commit 0ef3938 into flutter:mainJun 29, 2023
@stuartmorgan-g
stuartmorgan-g deleted the flutter-driver-cleanup-part-i branch June 30, 2023 10:34
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 30, 2023
auto-submitBot pushed a commit to flutter/flutter that referenced this pull request Jun 30, 2023
flutter/packages@d4752c4...53ed5a0
2023-06-30 me@jxstxn.dev [google_maps_flutter_web] Add padding to newLatLngBounds implementation (flutter/packages#3452)
2023-06-29 stuartmorgan@google.com [various] Remove unused flutter_driver dependencies (flutter/packages#4347)
2023-06-29 stuartmorgan@google.com [ci] Add LUCI version of dart unit tests (flutter/packages#4265)
2023-06-29 49699333+dependabot[bot]@users.noreply.github.com [pigeon]: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.8.21 to 1.8.22 in /packages/pigeon/platform_tests/test_plugin/android (flutter/packages#4189)
2023-06-29 tarrinneal@gmail.com [shared_preferences] Adds new clearWithParameters and getAllWithParameters methods to all platforms. (flutter/packages#4262)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@reidbakerreidbaker mentioned this pull request Aug 4, 2023
11 tasks
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
`flutter_driver` has been mostly replaced by `integration_test`, but we still have a lot of remaining dependencies on the package. This removes the dependency from pubspec.yaml for all plugins that aren't actually `import`ing it.
It also removes an old video_player test that has been disabled for years that was never updated from flutter_driver to integration_test; we've since added a lot more testing to video_player, so in practice this is cruft that we can just remove.
Closesflutter/flutter#85224
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
`flutter_driver` has been mostly replaced by `integration_test`, but we still have a lot of remaining dependencies on the package. This removes the dependency from pubspec.yaml for all plugins that aren't actually `import`ing it.
It also removes an old video_player test that has been disabled for years that was never updated from flutter_driver to integration_test; we've since added a lot more testing to video_player, so in practice this is cruft that we can just remove.
Closesflutter/flutter#85224
JSUYA added a commit to JSUYA/plugins that referenced this pull request Aug 14, 2026
Reformat with dart format from Flutter 3.47.0 (Dart 3.13.0), and remove
unused flutter_driver test files in sync with flutter/packages#4347.
JSUYA added a commit to JSUYA/plugins that referenced this pull request Aug 14, 2026
Reformat with dart format from Flutter 3.47.0 (Dart 3.13.0), and remove
unused flutter_driver test files in sync with flutter/packages#4347.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[video_player] Migrate legacy integration test

3 participants

@stuartmorgan-g@ditman@hellohuanlin