-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 <transitive-dep>
wrongly updates mix.lock
if deps/
dir empty
#14067
Comments
In case this should be considered an invalid scenario for |
Yes, this is a bug. We will need to look deeper but |
As far as I could debug, it's being caused by Hex remote converger not able to get the "manager" value in because of the So, yes, making sure we fetch before solving the new lock guess would fix it... |
Is the bug that |
The bug is that |
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Elixir 1.17.3 (compiled with Erlang/OTP 27)
Operating system
Linux
Current behavior
Hey there 👋
Add a dependency to
mix.exs
that has at least one package dependency. Example usedmint
, which depends only onhpax
.Actual behaviour
mix.lock
is updated and the[:mix]
manager value is removed forhpax
.Expected behavior
Either
mix.lock
mix deps.update
should not be run ifdeps/
not populated?The text was updated successfully, but these errors were encountered: