-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
I encounter the problem with pub 2.17.6 that pubspec_overrides.yaml is not taken into account for local (non-published) packages.
pubspec.yaml:
dependencies:
local_package: any
pubspec_overrides.yaml:
dependency_overrides:
local_package:
path: ../../utils/local_package
Output of dart pub outdated
:
Package not available (could not find package local_package at https://pub.dartlang.org).
On the other hand dart pub upgrade
is working as expected and upgrades other dependencies accordingly. It also prints the warning that overrides are used:
Warning: pubspec.yaml has overrides from pubspec_overrides.yaml
btrautmann, ClaireDavis, jean-gblr, leehack, Krysl and 2 more
Metadata
Metadata
Assignees
Labels
type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)