-
Notifications
You must be signed in to change notification settings - Fork 58
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
precompile fails with Julia < 1.6 #236
Comments
Forgot repro:
then: using Pkg
Pkg.add("ZMQ")
pkg"precompile" fails with:
|
Interesting 🤔 I'm not that inclined to keep supporting versions less than 1.6 since it's the LTS, but if this is all we need for compatibility then it's ok. I'll have a look. |
Yes, makes sense. I'll keep compatibility for now because this is quite an old package and I'm aware that there are people using it on older Julia versions. If compatibility is trickier later I'll bump the compat bounds. Anyway, thank you very much for the report and the bug fix ❤️ I've registered a new version which should be available soon: JuliaRegistries/General#107787 |
The use of
bind('tcp://localhost:*')
fails precompile on zmq < 4.3.5, because binding to hostnames is not supported in zmq 4.3.2, the latest version packaged by ZeroMQ_jll for Julia < 1.6.Using 127.0.0.1 will almost always work. I think
*
/0.0.0.0
will always work, but binding to public interfaces may not be desirable.You could also lookup localhost's ip with
Sockets.getaddrinfo("localhost")
, which is ultimately what the current code is doing, but the getaddrinfo is in libzmq itself in the supported versions.The text was updated successfully, but these errors were encountered: