flutter/dev/automated_tests
Christopher Fujino 730d6d44b7
Don't pin package:macros (#148087)
Full context https://github.com/flutter/flutter/issues/148004

TL;DR

1. Because `package:macros` depends on `package:_macros` via [a Dart SDK
dependency](https://github.com/dart-lang/sdk/blob/main/pkg/macros/pubspec.yaml#L13);
and
2. `package:macros` exactly pins `package:_macros`; and
3. Each new version of `package:macros` will increment its exact pin of
`package:_macros`
([comment](https://github.com/flutter/flutter/issues/148004#issuecomment-2103099893));
and
4. The [flutter/flutter](https://github.com/flutter/flutter) repository
exactly pins the Dart SDK (via its exact pin on the
[flutter/engine](https://github.com/flutter/engine) repository

Therefore, the [flutter/flutter](https://github.com/flutter/flutter)
repository effectively pins both `package:macros` and `package:_macros`
already (as in, there exists only a single version of each that pub will
successfully be able to solve within the context of a particular Flutter
SDK).

Therefore, it is safe for
[flutter/flutter](https://github.com/flutter/flutter) repository to
*not* pin `package:macros`, which will allow engine -> framework rolls
that contain a new Dart SDK that contains a new `package:_macros`
version to land automatically, provided all tests pass.
2024-05-09 16:28:49 -07:00
..
flutter_test Factor out use of "print" in flutter_goldens (#144846) 2024-03-17 01:56:19 +00:00
icon Enable widget load assets in its own package in test (#35991) 2019-07-16 09:47:42 -07:00
integration_test Revert "Init licenses for test bindings (#81961)" (#82337) 2021-05-13 21:29:03 -07:00
test_smoke_test Reland "Fail tests on exceptions raised after test completed (#144706)" (#144980) 2024-03-12 18:17:10 +00:00
pubspec.yaml Don't pin package:macros (#148087) 2024-05-09 16:28:49 -07:00
README.md Fix tests (#3977) 2016-05-17 12:45:37 -07:00

This is a fake package for use by automated testing. For example, the flutter_tools package uses this to test flutter test.