-
Notifications
You must be signed in to change notification settings - Fork 81
Enable weak tests for build daemon and frontend server #1824
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
Enable weak tests for build daemon and frontend server #1824
Conversation
@@ -9,12 +9,12 @@ description: >- | |||
publish_to: none | |||
|
|||
environment: | |||
sdk: ">=2.5.0 <3.0.0" | |||
sdk: ">=2.18.0 <3.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically this is what makes the weak tests work. Filed an issue to investigate why this constraint solves at all: https://github.com/dart-lang/sdk/issues/50717
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently it is a feature (reply from the issue above) so the solution is confirmed:
(I believe <3.0.0 is treated the same as <4.0.0 when the lower bound is >= 2.12.0 (dart-lang/pana@9882d0e).
The cause of this resolution failure is because a lower bound below 2.12, in this case >=2.10.0, means that package does not support null safety which is required by Dart 3. See dart-lang/pub#3686 for more context on the resolution message.
No description provided.