copas
copas copied to clipboard
deps(luasocket): bump to 3.x
based on this issue: https://github.com/lunarmodules/copas/issues/159, trying to recreate the issues we had previously.
- PR pinning it to version 3rc2: #114
- LuaSocket issue: https://github.com/lunarmodules/luasocket/issues/371
- LuaSocket issue: https://github.com/lunarmodules/luasocket/issues/375
- LuaSocket issue: bind fails with an error luasocket#375
Just FYI, but with newer versions of luasocket it seems to no longer be a stopper. I just tested this code and can't reproduce the issue:
[N] vasily@cachyos ~> luajit -v -e "require('socket').bind('*', 20000); print(require('socket')._VERSION)"
LuaJIT 2.1.1702233742 -- Copyright (C) 2005-2023 Mike Pall. https://luajit.org/
LuaSocket 3.0.0
[I] vasily@cachyos ~> lua5.1 -v -e "require('socket').bind('*', 20000); print(require('socket')._VERSION)"
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
LuaSocket 3.0.0
Rebased it, let's see...