From 8d5e35c809e61033834e09e08f84d5bbd22d88e1 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 10 May 2023 09:22:42 -0700 Subject: [PATCH 1/3] Require the release version of Dart 3.0.0 --- pkgs/http/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/http/pubspec.yaml b/pkgs/http/pubspec.yaml index e6d259a018..850ed308f6 100644 --- a/pkgs/http/pubspec.yaml +++ b/pkgs/http/pubspec.yaml @@ -4,7 +4,7 @@ description: A composable, multi-platform, Future-based API for HTTP requests. repository: https://github.com/dart-lang/http/tree/master/pkgs/http environment: - sdk: '>=3.0.0-417.4.beta <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: async: ^2.5.0 From 93c96bd080a88a311e3adda8de719dc5e73d59b2 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 10 May 2023 09:26:32 -0700 Subject: [PATCH 2/3] Update dart.yml --- .github/workflows/dart.yml | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index f0444a92ac..ca1ae26f1e 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -70,23 +70,23 @@ jobs: if: "always() && steps.pkgs_http_client_conformance_tests_pub_upgrade.conclusion == 'success'" working-directory: pkgs/http_client_conformance_tests job_003: - name: "analyze_and_format; Dart 3.0.0-417.4.beta; PKG: pkgs/http; `dart analyze --fatal-infos`" + name: "analyze_and_format; Dart 3.0.0; PKG: pkgs/http; `dart analyze --fatal-infos`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http;commands:analyze" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http;commands:analyze" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: - sdk: "3.0.0-417.4.beta" + sdk: "3.0.0" - id: checkout name: Checkout repository uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab @@ -178,23 +178,23 @@ jobs: if: "always() && steps.pkgs_http_client_conformance_tests_pub_upgrade.conclusion == 'success'" working-directory: pkgs/http_client_conformance_tests job_006: - name: "unit_test; Dart 3.0.0-417.4.beta; PKG: pkgs/http; `dart run --define=no_default_http_client=true test/no_default_http_client_test.dart`" + name: "unit_test; Dart 3.0.0; PKG: pkgs/http; `dart run --define=no_default_http_client=true test/no_default_http_client_test.dart`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http;commands:command" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http;commands:command" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: - sdk: "3.0.0-417.4.beta" + sdk: "3.0.0" - id: checkout name: Checkout repository uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab @@ -214,23 +214,23 @@ jobs: - job_004 - job_005 job_007: - name: "unit_test; Dart 3.0.0-417.4.beta; PKG: pkgs/http; `dart test --platform chrome`" + name: "unit_test; Dart 3.0.0; PKG: pkgs/http; `dart test --platform chrome`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http;commands:test_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http;commands:test_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: - sdk: "3.0.0-417.4.beta" + sdk: "3.0.0" - id: checkout name: Checkout repository uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab @@ -250,23 +250,23 @@ jobs: - job_004 - job_005 job_008: - name: "unit_test; Dart 3.0.0-417.4.beta; PKG: pkgs/http; `dart test --platform vm`" + name: "unit_test; Dart 3.0.0; PKG: pkgs/http; `dart test --platform vm`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http;commands:test_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta;packages:pkgs/http - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0-417.4.beta + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:pkgs/http + os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: - sdk: "3.0.0-417.4.beta" + sdk: "3.0.0" - id: checkout name: Checkout repository uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab From 77b8da5506a3e3dba9543161aa917c2f79e007bd Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 10 May 2023 09:43:50 -0700 Subject: [PATCH 3/3] Update pkgs/http/pubspec.yaml Co-authored-by: Nate Bosch --- pkgs/http/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/http/pubspec.yaml b/pkgs/http/pubspec.yaml index 850ed308f6..ef6adfddee 100644 --- a/pkgs/http/pubspec.yaml +++ b/pkgs/http/pubspec.yaml @@ -4,7 +4,7 @@ description: A composable, multi-platform, Future-based API for HTTP requests. repository: https://github.com/dart-lang/http/tree/master/pkgs/http environment: - sdk: '>=3.0.0 <4.0.0' + sdk: ^3.0.0 dependencies: async: ^2.5.0