-
Notifications
You must be signed in to change notification settings - Fork 30.4k
pubspec.lock is ignored when upgrading to flutter 3.7.0 #119091
Copy link
Copy link
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: regressionIt was better in the past than it is nowIt was better in the past than it is nowdependency: dartDart team may need to help usDart team may need to help usfound in release: 3.7Found to occur in 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: regressionIt was better in the past than it is nowIt was better in the past than it is nowdependency: dartDart team may need to help usDart team may need to help usfound in release: 3.7Found to occur in 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Steps to Reproduce
pubspec.yaml
pubspec.lock
flutter pub getand notice that the package version is NOT upgraded since there is a lock file.flutter pub getand notice that the package version IS upgraded because the lock file was totally regenerated and the old one was ignored.Expected results:
pubspec.lock should always be honored.
Actual results:
pubspec.lock is ignored when upgrading to flutter 3.7.0