-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[google_maps_flutter_web] Migrate to google_maps: 8.0.0
#7077
base: main
Are you sure you want to change the base?
[google_maps_flutter_web] Migrate to google_maps: 8.0.0
#7077
Conversation
Why are the integration tests skipped? Is it because other steps are failing? |
package:web
migrationgoogle_maps: 8.0.0
Because they are currently disabled @ditman FYI in case you aren't aware; maybe something you could look at while gardening? @bparrishMines That's assigned to you, are you actively working on it? We shouldn't leave whole tests suites disabled for extended periods if we can avoid it. |
@stuartmorgan Yea im going to take a look into it now. I'll try to narrow down the specific test to skip, so we no longer skip all the integration tests. |
@stuartmorgan is there an issue to track running integration tests compiled to WASM in CI? |
@@ -32,6 32,12 @@ dev_dependencies: | |||
flutter_test: | |||
sdk: flutter | |||
|
|||
dependency_overrides: |
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.
you'll want to drop this override, I think
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.
Definitely
We also likely DON'T want to publish this package depending on a pre-release package. |
Also definitely the case |
@Rexios80 – can we help you here? |
@kevmoo I have a deployed WASM site with these changes here: https://beta.madadmaps.com. The performance upgrade from Skia is unreal! I think @ditman is busy with other things right now so that's probably what's actually blocking this from landing. |
I'll prioritize this one over |
(PS: As for testing in WASM, we definitely want to have it, but that's something that can be punted for another PR (for now). For now the "official" test is that the |
Update deps, a small bit of convert code and CHANGELOG.
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.
This looks good to me, once google_maps 8.0.0 lands! Integration Tests (in JS) are working in my machine (and should be OK in CI as well!)
packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart
Show resolved
Hide resolved
...utter/google_maps_flutter_web/lib/src/third_party/to_screen_location/to_screen_location.dart
Outdated
Show resolved
Hide resolved
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.
The package LGTM as is now, but temporarily blocking merges until google_maps 8.0.0 (dev3 )
gets published.
warning - pubspec.yaml:26:5 - Publishable packages can't have 'git' dependencies. Try adding a 'publish_to: none' entry to mark the package as not for publishing or remove the git dependency. - invalid_dependency
@ditman That all sounds good to me. We can push this through now if it helps with the web 1.0.0 transition and clean it up later if necessary. |
@Rexios80 I had to request a small change from @a14n in the |
…th with web 0.5.1 and 1.0.0.
Updated my test app with the latest of this branch a14n's changes web: 1.0.0, and it looks pretty good!
|
The |
@Rexios80 what do you think, should we ask a14n to publish 8.0.0 final? He doesn't like having some issues/warnings with |
Does that pubspec have
I say we wait until after flutter/flutter#152262 lands since it's so close. Then I should be able to run WASM integration tests locally and make sure there aren't any lingering issues. As for the warnings they're getting, they seem pretty open to changes so you can just contribute an encapsulation of the example into its own project. We should absolutely wait to land this until they release (#7162 would help too if we can push that through real quick) |
It does, but the CHANGELOG requirement comes from the flutter/packages tooling, not pub's. Because things in the
Good point, I'll get that one landed so this PR can focus only in the
Yep, I'm going to wait to see what a14n prefers and send them that (it might be done by the time I wake up tomorrow, and if not, I'll try to catch them on discord :P)
I think that #7162 is lacking the changes to spin up a bunch of new testers (like these), but with a new
|
I just want that to run tests locally. If there are more changes required to run in CI we can add them later. |
Ah ok, I misunderstood and thought you wanted to enable them in CI as well. Then your change should be enough I think! |
It's actually a little more complex than that; the tool knows which file actually shows up on pub.dev for a given package, and requires a version change when changing that file so that it can be published; the CHANGELOG check is so that if someone thinks about whether a change to the example that's not part of what should be displayed should get a mention in the CHANGELOG. Mostly that's because there are cases where we change example code explicitly to demonstrate something relevant (e.g., adding a missing permission to the project, or adjusting non-main-file example code). Often the answer is no and we override it, which is fine. |
Migrates
google_maps_flutter_web
togoogle_maps: ^8.0.0
Blocked on the following:
--wasm
flutter#151426flutter drive --wasm
does not report results even though tests completed flutter#151561Fixes flutter/flutter#148624