Skip to content

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

Merged
merged 7 commits into from
Dec 14, 2022

Conversation

annagrin
Copy link
Contributor

No description provided.

@annagrin annagrin marked this pull request as draft December 14, 2022 19:18
@@ -9,12 +9,12 @@ description: >-
publish_to: none

environment:
sdk: ">=2.5.0 <3.0.0"
sdk: ">=2.18.0 <3.0.0"
Copy link
Contributor Author

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

Copy link
Contributor Author

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.

@annagrin annagrin changed the title [WIP] Enable weak tests for build daemon Enable weak tests for build daemon Dec 14, 2022
@elliette elliette changed the title Enable weak tests for build daemon Enable weak tests for build daemon and frontend server Dec 14, 2022
@elliette elliette merged commit 243fe42 into dart-lang:master Dec 14, 2022
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.

2 participants