From acca99ef86acd692778fd54e0929fdff053dca84 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Fri, 13 Mar 2026 07:45:41 -0700 Subject: [PATCH] Fix SDK constraints in analysis_server, front_end, and kernel. Yesterday I bumped the SDK constraints for these packages to 3.12.0 (see https://dart-review.googlesource.com/c/sdk/+/487521 and https://dart-review.googlesource.com/c/sdk/+/487542). Today I realized that this makes a pub solve impossible, since Dart version 3.12.0 hasn't been published yet. That in turn prevents unit tests from being run in the VSCode IDE. Changing the SDK constraints to `3.12.0-0` fixes the problem, allowing the tests to be run under any unreleased version of 3.12.0. Change-Id: Ia018558dafae9dc958b2b39d19ec1e1d6a6a6964 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/487880 Reviewed-by: Johnni Winther Auto-Submit: Paul Berry Commit-Queue: Paul Berry Commit-Queue: Johnni Winther Reviewed-by: Samuel Rawlins --- pkg/analysis_server/pubspec.yaml | 2 +- pkg/front_end/pubspec.yaml | 2 +- pkg/kernel/pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/analysis_server/pubspec.yaml b/pkg/analysis_server/pubspec.yaml index 66e5a1531d9..e5aa192a721 100644 --- a/pkg/analysis_server/pubspec.yaml +++ b/pkg/analysis_server/pubspec.yaml @@ -3,7 +3,7 @@ name: analysis_server publish_to: none environment: - sdk: '^3.12.0' + sdk: '^3.12.0-0' resolution: workspace diff --git a/pkg/front_end/pubspec.yaml b/pkg/front_end/pubspec.yaml index 1a8c57b74dd..4e4c639370a 100644 --- a/pkg/front_end/pubspec.yaml +++ b/pkg/front_end/pubspec.yaml @@ -6,7 +6,7 @@ name: front_end publish_to: none environment: - sdk: '^3.12.0' + sdk: '^3.12.0-0' workspace: - testcases diff --git a/pkg/kernel/pubspec.yaml b/pkg/kernel/pubspec.yaml index 55f76c995f0..605c7017ca1 100644 --- a/pkg/kernel/pubspec.yaml +++ b/pkg/kernel/pubspec.yaml @@ -6,7 +6,7 @@ name: kernel publish_to: none environment: - sdk: '^3.12.0' + sdk: '^3.12.0-0' resolution: workspace