Closed NobbZ closed 1 month ago
Probably https://github.com/elixir-lang/elixir/issues/13410. As a workaround you should be able to add {:floki, ">= 0.0.0", only: :test}
to the mix.exs
in your umbrella root and see if that helps.
https://github.com/elixir-lang/elixir/issues/13410 is very likely the issue and has been fixed in 1.17.0-rc.0. Unfortunately we have to wait for that release.
Closing this but if it's another issue we will reopen.
The behaviour described was initially discovered when updating dependencies in an internal application, and privately discussed with @ericmj.
Observed behaviour was, that
mix deps.get --only prod
eventually timed out fetchingfloki
which is aonly: :test
dependency in an umbrella projects "sub application":frontend
. The same:frontend
also had a dependency onphoenix_live_view
which after the update had an optional dependency on:floky
.Excerpt of the output:
This behaviour can be reproduced with a bare and freshly generated phoenix application:
Please note: The resolved dependencies do not even list
floki
.So far I have not managed to reproduce this in a non-umbrella application.