From 58f056da6810259e0f3905fddd85976b4d74a52d Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Tue, 24 Nov 2015 08:26:39 -0800 Subject: [PATCH] Pin `package:test` to an exact revision We use a number of non-public APIs in the test package, which makes our dependency quite fragile. This patch pins a specific, known-good version. We should update to the lastest version in a follow-up patch. --- packages/cassowary/pubspec.yaml | 2 +- packages/flutter/pubspec.yaml | 3 +++ packages/flutter_test/pubspec.yaml | 2 +- packages/flutter_tools/pubspec.yaml | 2 +- packages/flx/pubspec.yaml | 2 +- packages/newton/pubspec.yaml | 2 +- packages/playfair/pubspec.yaml | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/cassowary/pubspec.yaml b/packages/cassowary/pubspec.yaml index 558387778b..6c37d896a2 100644 --- a/packages/cassowary/pubspec.yaml +++ b/packages/cassowary/pubspec.yaml @@ -6,6 +6,6 @@ homepage: https://github.com/flutter/flutter/tree/master/packages/cassowary environment: sdk: '>=1.0.0 <2.0.0' dev_dependencies: - test: '>=0.12.0 <0.13.0' + test: 0.12.5+2 test_runner: '<=0.2.16' dart_coveralls: '<=0.3.0' diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index 0c32b186b8..22b314d75c 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -11,6 +11,9 @@ dependencies: sky_services: 0.0.62 vector_math: '>=1.4.3 <2.0.0' + # To pin the transitive dependency through mojo_sdk. + test: 0.12.5+2 + cassowary: path: ../cassowary newton: diff --git a/packages/flutter_test/pubspec.yaml b/packages/flutter_test/pubspec.yaml index b286981ab9..96a1d753c4 100644 --- a/packages/flutter_test/pubspec.yaml +++ b/packages/flutter_test/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_test dependencies: - test: ^0.12.5 + test: 0.12.5+2 quiver: ^0.21.4 flutter: path: ../flutter diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml index 0a9b584d82..da3b404510 100644 --- a/packages/flutter_tools/pubspec.yaml +++ b/packages/flutter_tools/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: mustache4dart: ^1.0.0 path: ^1.3.0 stack_trace: ^1.4.0 - test: ^0.12.5 + test: 0.12.5+2 yaml: ^2.1.3 flx: diff --git a/packages/flx/pubspec.yaml b/packages/flx/pubspec.yaml index 0e5c7e92e4..ea11cd2ec2 100644 --- a/packages/flx/pubspec.yaml +++ b/packages/flx/pubspec.yaml @@ -13,4 +13,4 @@ environment: sdk: '>=1.12.0 <2.0.0' dev_dependencies: - test: ^0.12.5 + test: 0.12.5+2 diff --git a/packages/newton/pubspec.yaml b/packages/newton/pubspec.yaml index 801aac31b4..c411a8af6b 100644 --- a/packages/newton/pubspec.yaml +++ b/packages/newton/pubspec.yaml @@ -6,6 +6,6 @@ homepage: https://github.com/flutter/flutter/tree/master/packages/newton environment: sdk: '>=1.0.0 <2.0.0' dev_dependencies: - test: '>=0.12.0 <0.13.0' + test: 0.12.5+2 test_runner: '<=0.2.16' dart_coveralls: '<=0.3.0' diff --git a/packages/playfair/pubspec.yaml b/packages/playfair/pubspec.yaml index 1f5b9a6043..792c2db843 100644 --- a/packages/playfair/pubspec.yaml +++ b/packages/playfair/pubspec.yaml @@ -9,7 +9,7 @@ dependencies: path: ../flutter dev_dependencies: - test: '>=0.12.0 <0.13.0' + test: 0.12.5+2 environment: sdk: '>=1.12.0 <2.0.0'