Skip to content

chore(deps): pin Flutter 3.47.2 so mockito 5.8.1 and build_runner 2.16.1 resolve - #22

Merged
Dhi13man merged 1 commit into
mainfrom
chore/flutter-3.47-mockito-build-runner
Sep 9, 2026
Merged

Dhi13man merged 1 commit into
mainfrom
chore/flutter-3.47-mockito-build-runner

Conversation

@Dhi13man

@Dhi13man Dhi13man commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • mockito 5.8.1 and build_runner 2.16.1 both pull analyzer 13, which needs meta ^1.18.3. Flutter 3.44.8 flutter_test pins meta 1.18.0, so flutter pub get fails on CI.
  • First stable whose flutter_test allows meta ^1.18.3 is 3.47.0. Pin CI to 3.47.2 (latest stable patch of that line) and raise the Flutter SDK constraint to >=3.47.0.
  • Land both upgrades together (same analyzer jump). No dependency_overrides. Not beta/master.
  • Local flutter pub get, dart format, and flutter analyze succeed on 3.47.2 (analyzer 13.3.0, meta 1.19.0).

Supersedes #17 and #20.

Test plan

  • flutter pub get succeeds on Flutter 3.47.2
  • build_format_test, build_macos, and Analyze (actions) are SUCCESS

mockito 5.8.1 and build_runner 2.16.1 need analyzer 13, which needs meta ^1.18.3. Flutter 3.44.8 flutter_test pins meta 1.18.0. Stable 3.47.0+ allows meta ^1.18.3; pin CI to 3.47.2 so both upgrades resolve together.
@Dhi13man
Dhi13man force-pushed the chore/flutter-3.47-mockito-build-runner branch from a481f9e to 89cfb42 Compare September 9, 2026 04:09
@Dhi13man
Dhi13man merged commit 1763309 into main Sep 9, 2026
5 checks passed
@Dhi13man
Dhi13man deleted the chore/flutter-3.47-mockito-build-runner branch September 9, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant