-
Notifications
You must be signed in to change notification settings - Fork 185
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
mix.deps.update --all downgrades deps even when there are no conflicts #901
Comments
Please include your mix.exs and mix.lock files. |
We have seen similar reports to the issue, but we are not able to reproduce the issue unless we get a mix.exs and mix.lock file in a project where the issue occurs. If you run into this issue please share your project files here. Extra credit if you can reduce the number of dependencies in your project for which the issue still occurs. Thanks! |
@ericmj I created a stub project basing on one of our projects that reproduces the issue.
|
@lukaszsamson Do you have project without an umbrella where you have seen the error? The umbrella with that many dependencies makes it hard for us to debug. |
I've found a smaller non umbrella repro
I don't recall seeing it that much in smaller projects though |
@ericmj I isolated it even further. In fact leaving just 2 deps is enough to reproduce it
|
@lukaszsamson Thank you, that's super helpful! |
Hi, I have a similar problem and have take a look to the example from @lukaszsamson . I noticed that the order of the dependencies is also important.
results in
and
results in
|
Wow, I've been trying to figure out why plug was downgraded after
|
We may have possible fix for this issue in the main branch. Please try it and report back if the issue is fixed or you are still having issues. Install main: |
Thanks for the instructions @ericmj.
... and I am left with a diff in git of just the dependency order in Cheers, |
In one of our projects we observe a strange behaviour (on elixir 1.12, hex master)
runs fine
for some reason it downgrades those packages
all work fine
There are no conflicts
The text was updated successfully, but these errors were encountered: