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
Bump the Lua minimum version to 5.3. #1738
Bump the Lua minimum version to 5.3. #1738
Conversation
The 986be66 commit introduced a use of lua_rotate(), which is not available in Lua 5.2.
Yes, something needs to be done here. I am not merging this right away, as we are pretty late in 4.17 and I am not that much into this code. Bumping required versions for something like lua requires a bit of consideration (although lua 5.3 is probably fine). As it is vacation time this may take a while, but we will definitely do something about this before the 4.17 release. Thanks for the report (and patch)! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's a problem to merge this, we clearly intended to raise the Lua version accordingly when we gutted all the backwards compat code and reworked it for Lua 5.4 support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introducing a dependency on 5.3 in that commit was unintentional, but then again... 5.3 is almost seven years old by now, it doesn't seem like an entirely unreasonable requirement 😆
However INSTALL needs to be updated accordingly.
Thanks for spotting this and the patch! |
Bump the Lua minimum version to 5.3. The 986be66 commit introduced a use of lua_rotate(), which is not available in Lua 5.2, unintentionally causing a dependency on 5.3. Rather than work around it, just bump the requirement to 5.3, it's almost seven years old by now... (cherry picked from commit 24b6c45)
Bump the Lua minimum version to 5.3. The 986be66 commit introduced a use of lua_rotate(), which is not available in Lua 5.2, unintentionally causing a dependency on 5.3. Rather than work around it, just bump the requirement to 5.3, it's almost seven years old by now... (cherry picked from commit 24b6c45)
Hi,
First of all, thanks a lot for working on rpm and the related projects!
The 986be66 commit introduced a use of
lua_rotate(), which is not available in Lua 5.2. Hence, bump the dependency in
the configure script's pkg-config check.
Thanks in advance for your time, and keep up the great work!
G'luck,
Peter