Skip to content
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

Make checks: 0.2.X compatible with Flutter 3.20 #2189

Open
passsy opened this issue Feb 25, 2024 · 1 comment
Open

Make checks: 0.2.X compatible with Flutter 3.20 #2189

passsy opened this issue Feb 25, 2024 · 1 comment
Labels
package:checks Issues related to pkg:checks

Comments

@passsy
Copy link
Contributor

passsy commented Feb 25, 2024

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?

@passsy passsy added the package:checks Issues related to pkg:checks label Feb 25, 2024
@natebosch
Copy link
Member

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.

passsy added a commit to wiredashio/wiredash-sdk that referenced this issue Mar 4, 2024
The build step should always work,
Testing dependencies might need overrides for specific versions (checks is problematic here dart-lang/test#2189)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:checks Issues related to pkg:checks
Projects
None yet
Development

No branches or pull requests

2 participants