-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Roll pigeon dependency to unblock flutter framework deps roll #4383
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
Conversation
cc @zanderso |
|
||
* Update pigeon dependency for url_launcher_windows to "^9.2.4". |
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.
Nit: Updates
Per repo style guide.
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.
Done
@@ -24,5 +24,5 @@ dependencies: | |||
dev_dependencies: | |||
flutter_test: | |||
sdk: flutter | |||
pigeon: ^5.0.1 | |||
pigeon: ^9.2.4 |
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.
Pigeon is a code generator, so updates to it need to update the generated code. Running update-dependency --pub-package=pigeon --packages/url_launcher_windows
via the repo tooling will do the right thing.
(Generally we want to update to the latest Pigeon, but if you really need 9.2.4 for some reason you can add --version=9.2.4
)
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.
Main reason I chose 9.2.4 was that it is the version that is used by other url_launcher. Going to the latest for this package works too. Of course it is possible to rev up pigeon across all plugins, but I tried to minimize the scope of the change.
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.
Pigeon is a code generator, so updates to it need to update the generated code. Running
update-dependency --pub-package=pigeon --packages/url_launcher_windows
via the repo tooling will do the right thing.
This hasn't been addressed; the generated code update is still not part of the PR.
Updates to the latest version of Pigeon. This is largely a no-op, the generated output changes are formatting tweaks and picking up one bugfix to the error code/message ordering. The goal here is just to be using a newer version of Pigeon to minimize future dependency issues along the lines of #4383
@@ -24,5 +24,5 @@ dependencies: | |||
dev_dependencies: | |||
flutter_test: | |||
sdk: flutter | |||
pigeon: ^5.0.1 | |||
pigeon: ^9.2.4 |
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.
Pigeon is a code generator, so updates to it need to update the generated code. Running
update-dependency --pub-package=pigeon --packages/url_launcher_windows
via the repo tooling will do the right thing.
This hasn't been addressed; the generated code update is still not part of the PR.
@stuartmorgan said:
Ah, I didn't realize that as I ran the command it reported errors:
|
…rl-launcher-win' into update-pigeon-dep-url-launcher-win
Odd, I've never seen that when updating plugin dependencies with the script. I'm not sure why the behavior isn't consistent, but I can fix the call tomorrow. |
I hacked the script so it ran |
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
Is submit-queue failure relevant? It seems to report failure on android tests, which seems to have been skipped. |
Please don't ever land a PR with red checks in a flutter/* unless you have explicit permission from a relevant lead or gardener. |
flutter/packages@9bcf4bf...b61eea1 2023-07-07 [email protected] Roll pigeon dependency to unblock flutter framework deps roll (flutter/packages#4383) 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 [email protected],[email protected] 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
Update pigeon dependency for url_launcher_windows.
This is required to unblock flutter dependency update - see flutter/flutter#130032