Skip to content

flutter update-packages --force-upgrade no longer can make edits #170455

@matanlurey

Description

@matanlurey

This is probably a bug due to the workspace changes:

diff --git a/dev/conductor/core/pubspec.yaml b/dev/conductor/core/pubspec.yaml
index d78519417c8..fd54286594f 100644
--- a/dev/conductor/core/pubspec.yaml
+++ b/dev/conductor/core/pubspec.yaml
@@ -13,7 +13,6 @@ dependencies:
   meta: any
   path: any
   process: any
-  protobuf: any
 
   file: any
   fixnum: any
$ flutter-dev update-packages --force-upgrade
Upgrading packages...
Verifying pubspecs...
Pubspec in /Users/matanl/Developer/flutter/dev/conductor/core has out of date dependencies. Please run "flutter update-packages --force-upgrade" to update them correctly. The hash does not
match the expectation.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: regressionIt was better in the past than it is nowteam-toolOwned by Flutter Tool team

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions