test
test copied to clipboard
Make checks: 0.2.X compatible with Flutter 3.20
Note: test_api is pinned to version 0.7.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_test from sdk depends on test_api 0.7.0 and checks ^0.2.2 depends on test_api >=0.5.0 <0.7.0, flutter_test from sdk is incompatible with checks ^0.2.2.
So, because wiredash depends on both flutter_test from sdk and checks ^0.2.2, version solving failed.
[!] Flutter (Channel beta, 3.20.0-1.1.pre, on macOS 14.2.1 23C71 darwin-arm64, locale en-DE)
• Flutter version 3.20.0-1.1.pre on channel beta at /Users/pascalwelsch/.puro/envs/beta/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d7e373c6c2 (10 days ago), 2024-02-15 11:34:03 -0800
• Engine revision 9869d47a27
• Dart version 3.4.0 (build 3.4.0-99.0.dev)
I know about checks: 0.3.0 which is compatible with Flutter 3.20. But due to the breaking changes in 0.3.0, I'd like to use 0.2.X for a bit longer.
@natebosch can you release 0.2.3, compatible with test_api: ^0.6.0?
Unfortunately checks isn't currently supported at a level where we'd want to do back publishes for things like this.
In this case - can you try a dependency override on checks? I don't think the changes in test_api 0.7.0 should impact checks, so a dependency override should ignore the restriction and get you unblocked temporarily.