Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using dependency_overrides, dependency is direct overridden which not considering #33

Open
WilliamMaybe opened this issue Sep 29, 2021 · 6 comments · Fixed by VeryGoodOpenSource/very_good_cli#930 · May be fixed by #36 or #39

Comments

@WilliamMaybe
Copy link

When using dependency_overrides, dependency is direct overridden which not considering

xxxxxxx:
dependency: "direct overridden"
description:
path: "."
ref: master
resolved-ref: xxxxx
url: "xxxxxxxxxx"
source: git
version: "0.0.1"

@alexei-sintotski
Copy link
Owner

@WilliamMaybe Thank you for reporting! This seems a new pub feature, I will check it out.

@alexei-sintotski
Copy link
Owner

@WilliamMaybe I cannot reproduce this issue with Dart 2.14.3. What Dart or Flutter version do you use?

@WilliamMaybe
Copy link
Author

Flutter 2.2.3

@PoloLacoste
Copy link

I got the same error !

I have this in my pubspec.yaml file:

dependency_overrides:
  analyzer: ^3.4.1

In my pubspec.lock file i have this:

analyzer:
 dependency: "direct overridden"
 description:
  name: analyzer
  url: "https://pub.dartlang.org"
 source: hosted
 version: "3.4.1"

I'm using the version 3.0.1 of pubspec_lock.

@PoloLacoste PoloLacoste linked a pull request Apr 1, 2022 that will close this issue
PieterAelse added a commit to PieterAelse/pubspec_lock that referenced this issue Aug 21, 2023
@mvolpato
Copy link

mvolpato commented Nov 30, 2023

Hi, is it possible to publish this change? @alexei-sintotski

@alestiago
Copy link

@alexei-sintotski any updates here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment