-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
choreChanges that don't modify source code or testsChanges that don't modify source code or testsdependenciesPull requests that update a dependency filePull requests that update a dependency fileinvestigatingThis is currently being looked into to understand the cause/scopeThis is currently being looked into to understand the cause/scope
Description
Description
Hi,
It seems the new version of go_router_builder 4.1.2 is not compatible with mockingjay 2.0.0 because of the version constraints on test ^1.25.7.
Would it be possible to upgrade the version for test ?
New go_router_builder version changelog:
Updates supported analyzer versions to 8.x or 9.x.
Updates minimum supported SDK version to Flutter 3.32/Dart 3.8.
I tried with Flutter 3.32.8 and 3.35.7
Flutter 3.32.8:
Note: matcher is pinned to version 0.12.17 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Note: test_api is pinned to version 0.7.4 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because test >=1.25.9 <1.26.3 depends on analyzer >=6.0.0 <8.0.0 and test >=1.24.3 <1.25.13 depends on matcher >=0.12.16 <0.12.17, test >=1.24.3 <1.26.3 requires analyzer >=6.0.0 <8.0.0 or matcher >=0.12.16 <0.12.17.
And because test >=1.27.0 depends on test_api 0.7.8, test >=1.24.3 <1.26.3-∞ or >=1.27.0 requires analyzer >=6.0.0 <8.0.0 or matcher >=0.12.16 <0.12.17 or test_api 0.7.8.
And because test >=1.26.3 <1.27.0 depends on test_api 0.7.7 and every version of flutter_test from sdk depends on matcher 0.12.17, if test >=1.24.3 and flutter_test from sdk then analyzer >=6.0.0 <8.0.0 or test_api 0.7.7 or 0.7.8.
And because every version of flutter_test from sdk depends on test_api 0.7.4 and mockingjay >=0.6.0 depends on test ^1.25.7, if flutter_test from sdk and mockingjay >=0.6.0 then analyzer >=6.0.0 <8.0.0.
And because go_router_builder >=4.1.2 depends on analyzer >=8.1.0 <10.0.0 and my_redacted_app depends on flutter_test from sdk, mockingjay >=0.6.0 is incompatible with go_router_builder >=4.1.2.
So, because my_redacted_app depends on both go_router_builder ^4.1.2 and mockingjay ^2.0.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on go_router_builder: flutter pub add dev:go_router_builder:^4.1.1
Failed to update packages.
Flutter 3.35.7:
Note: matcher is pinned to version 0.12.17 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Note: test_api is pinned to version 0.7.6 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because test >=1.25.9 <1.26.3 depends on analyzer >=6.0.0 <8.0.0 and test >=1.24.3 <1.25.13 depends on matcher >=0.12.16 <0.12.17, test >=1.24.3 <1.26.3 requires analyzer >=6.0.0 <8.0.0 or matcher >=0.12.16 <0.12.17.
And because test >=1.27.0 depends on test_api 0.7.8, test >=1.24.3 <1.26.3-∞ or >=1.27.0 requires analyzer >=6.0.0 <8.0.0 or matcher >=0.12.16 <0.12.17 or test_api 0.7.8.
And because test >=1.26.3 <1.27.0 depends on test_api 0.7.7 and every version of flutter_test from sdk depends on matcher 0.12.17, if test >=1.24.3 and flutter_test from sdk then analyzer >=6.0.0 <8.0.0 or test_api 0.7.7 or 0.7.8.
And because every version of flutter_test from sdk depends on test_api 0.7.6 and mockingjay >=0.6.0 depends on test ^1.25.7, if flutter_test from sdk and mockingjay >=0.6.0 then analyzer >=6.0.0 <8.0.0.
And because go_router_builder >=4.1.2 depends on analyzer >=8.1.0 <10.0.0 and my_redacted_app depends on flutter_test from sdk, mockingjay >=0.6.0 is incompatible with go_router_builder >=4.1.2.
So, because my_redacted_app depends on both go_router_builder ^4.1.2 and mockingjay ^2.0.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on go_router_builder: flutter pub add dev:go_router_builder:^4.1.1
Failed to update packages.
flutter doctor -v
[✓] Flutter (Channel stable, 3.35.7, on macOS 26.1 25B78 darwin-arm64, locale en-FR) [7.3s]
• Flutter version 3.35.7 on channel stable at [REDACTED]
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision adc9010625 (6 weeks ago), 2025-10-21 14:16:03 -0400
• Engine revision 035316565a
• Dart version 3.9.2
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [12.5s]
• Android SDK at [REDACTED]/Library/Android/sdk
• Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: /Library/Java/JavaVirtualMachines/openjdk-17.jdk/Contents/Home/bin/java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment Homebrew (build 17.0.13+0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 26.1.1) [12.2s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17B100
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [9ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.2) [8ms]
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
[✓] VS Code (version 1.106.2) [7ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.122.0
[✓] Connected device (2 available) [8.1s]
• macOS (desktop) • macos • darwin-arm64 • macOS 26.1 25B78 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 140.0.7339.133
[✓] Network resources [3.4s]
• All expected network resources are available.
! Doctor found issues in 1 category.
Steps To Reproduce
- Set both
go_router_builder 4.1.2inmockingjay 2.0.0in your pubspec.yaml - run
flutter pub get - See error
Expected Behavior
flutter pub get run without error and packages are compatible with each others.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
choreChanges that don't modify source code or testsChanges that don't modify source code or testsdependenciesPull requests that update a dependency filePull requests that update a dependency fileinvestigatingThis is currently being looked into to understand the cause/scopeThis is currently being looked into to understand the cause/scope