emqtt icon indicating copy to clipboard operation
emqtt copied to clipboard

hex package out of date

Open brianmay opened this issue 3 years ago • 2 comments

Hello,

Just wondering if there are any plans to update the hex package to 1.4.2?

https://hex.pm/packages/emqtt

Regards

brianmay avatar Jul 17 '21 01:07 brianmay

Any news on this part? :slightly_smiling_face:

MartinElvar avatar Sep 23 '22 09:09 MartinElvar

I think there is an issue with gun, because this project is using gun 1.3.7 but this version doesn't exists in hex.

Just wondering if there is ~any think~ anything we can do to speed up publishing 1.4.2?

slashmili avatar Feb 10 '23 11:02 slashmili

I realize there is no quick fix, but I'd just like to register my interest in an updated hex package as well -- I'm working on a Gleam wrapper library for emqtt, and it will be stuck on an ancient version until this is resolved.

jhillyerd avatar Mar 15 '24 19:03 jhillyerd

ping @HJianBo

id avatar Mar 15 '24 20:03 id

All recent emqtt versions are now available on hex.pm https://hex.pm/packages/emqtt/versions

id avatar Mar 19 '24 10:03 id

Thanks for updating. Unfortunately you have a diamond dependency problem:

  • gun 1.3.3 depends on cowlib 2.7.0 <= v < 2.8.0 and emqtt 1.11.0 depends on gun 1.3.3
    • then emqtt 1.11.0 depends on cowlib 2.7.0 <= v < 2.8.0.
  • but emqtt 1.11.0 depends on cowlib 2.12.1 directly

So dependency resolution fails for me.

jhillyerd avatar Mar 19 '24 19:03 jhillyerd

The problem here is that emqtt originally has emqx/gun as a dependency. But since we don't have this fork on hex.pm, it was replaced with nineninces/gun-1.3.3. We understand that it's an issue, but do not have a good solution for it yet.

For now I could suggest to manually set gun dependency to emqx/gun-1.3.7 in your project.

id avatar Mar 19 '24 19:03 id