-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Dependency mismatch between cowboy and gun 2.0 #1596
Comments
If there was a way to publish cowboy 2.9.1 with the requirement relaxed to the equivalent of Mix's |
I'm not using Rebar anyway. Right now I can't do what you're asking, the requirement in Gun is because it really requires this version of Cowlib. The So your only option is to wait for a Cowboy update and not update Gun in the meantime I suppose, or see with the Hex people about removing some of their checks and restrictions which are a bit much IMO. Out of curiosity which library is this? |
Cowboy 2.10 has the same Cowlib as the most recent Gun. I do not expect to increase the Cowlib version for the next Cowboy update so I'll defer this to later. |
Closing in favor of #1591 where I am working on fixing this issue. There's an open question on there you may want to answer. Thank you! |
Currently,
gun
2.0 depends oncowlib
2.12.0, butcowboy
2.9 depends oncowlib
2.11.This makes it impossible for
gun
to be updated to 2.0 on an Elixir project that also depends oncowboy
(elixir_grpc
in this case).Setting
override: true
is not an option because as a library, we cannot publish to Hex.pm with:override
specified in the mix.exs file.Could we get either an updated
cowboy
or a rollback on the requirement ingun
?The text was updated successfully, but these errors were encountered: