Repository navigation
[material_ui] Declare Flutter SDK dependencies in the pubspec.yaml for tool/gen_defaults - #12623
Conversation
…r tool/gen_defaults This is required for running the Dart analyzer within the tool/gen_defaults package.
There was a problem hiding this comment.
Code Review
This pull request adds a Flutter SDK environment constraint and dependency to the pubspec.yaml file in the gen_defaults tool. The review feedback points out that the specified Flutter SDK version constraint (>=3.44.0) is invalid as it has not been released yet, which will cause pub get to fail, and suggests correcting it to a valid version.
|
|
||
| environment: | ||
| sdk: ^3.12.0 | ||
| flutter: ">=3.44.0" |
There was a problem hiding this comment.
The Flutter SDK version constraint is set to >=3.44.0. However, Flutter 3.44.0 is not a released version yet (current stable versions are in the 3.2x range). This constraint will cause flutter pub get to fail on all current Flutter SDKs. This is likely a typo for >=3.24.0 or another existing version. Please correct this to a valid version.
flutter: ">=3.24.0"There was a problem hiding this comment.
flutter: ">=3.44.0" matches the constraint in https://github.com/flutter/packages/blob/main/packages/material_ui/pubspec.yaml
(The latest version in Flutter's stable branch is currently 3.47.1)
|
Detected the If you add the The "Merge" button is also unlocked. To bypass presubmits as well as the tree status, press the GitHub "Add to Merge Queue". |
|
cc @stuartmorgan-g @elliette @jason-simmons This is causing failures in post submit with the formatter: I think it may be caused by |
|
Yes, How are we not seeing these things in presubmit? |
And to be clear, the fix is just to check that change in. |
|
I can make the PR. |
…pub get` on pacakage (#12626) Fix tool package in `material_ui`. Post submit fix for #12623 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
…r tool/gen_defaults (flutter#12623) This is required for running the Dart analyzer within the tool/gen_defaults package.
…pub get` on pacakage (flutter#12626) Fix tool package in `material_ui`. Post submit fix for flutter#12623 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
…r#191886) flutter/packages@740f093...bd3cbc1 2026-08-26 [email protected] Roll Flutter from 9a82789 to 15d8908 (37 revisions) (flutter/packages#12619) 2026-08-26 [email protected] [google_maps_flutter] Convert simple object controllers to Swift (flutter/packages#12618) 2026-08-26 [email protected] [material_ui] `gen_defaults` should follow new versioning strategy (flutter/packages#12627) 2026-08-25 [email protected] [material_ui] Fixes analysis_options migration from calling `flutter pub get` on pacakage (flutter/packages#12626) 2026-08-25 [email protected] [material_ui] Declare Flutter SDK dependencies in the pubspec.yaml for tool/gen_defaults (flutter/packages#12623) 2026-08-25 [email protected] [material_ui] Set-up `tool/gen_defaults` sub-directory (flutter/packages#12469) 2026-08-25 [email protected] [google_maps_flutter] Convert top-level classes to Swift in `_sdk*` packages (flutter/packages#12307) 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] 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…r tool/gen_defaults (flutter#12623) This is required for running the Dart analyzer within the tool/gen_defaults package.
…pub get` on pacakage (flutter#12626) Fix tool package in `material_ui`. Post submit fix for flutter#12623 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
…pub get` on pacakage (flutter#12626) Fix tool package in `material_ui`. Post submit fix for flutter#12623 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
This is required for running the Dart analyzer within the tool/gen_defaults package.