-
Notifications
You must be signed in to change notification settings - Fork 243
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
Tests fail under Lua 5.4 #320
Comments
https://build.opensuse.org/request/show/819286 by user mcepl + dimstar_suse - Add lua54.patch adding compatiblity with Lua 5.4 (gh#lunarmodules/Penlight#320) - Add lua54 as new build target
I see the same issue with Arch Linux. Should we use the patch from @mcepl until a better solution arrives? |
Hey @Tieske this is a pretty minor thing but a major hold up for downsteam projects and distros. Lua 5.4 is starting to hit distros (Arch Linux, Homebrew, OpenSUSE, and probably more have active migration efforts in staging) and |
@alerque thx for the nudge, I'll have a look shortly |
I don’t understand. Do you consider the fix when you just switch off testing on 5.4? (which is what #323 does, isn’t it?) |
So overall 5.4 is being tested and passes the tests. Linting and coverage is disabled, but already covered by the tests across the other versions. wrt reenabling those;
So other than fixing that one test, there is nothing else to fix imo. |
@Tieske Ah, makes sense, I haven’t noticed that it is only coverage and linter. Those don’t bother me at all. What about new release? |
wokring my way through some issues, planning to do a new release one of these days |
When running tests under 5.4, it fails with
The problem is obviously in https://github.com/Tieske/Penlight/blob/e469fa08b71055e1bc419f78754a1d830956e8d5/tests/lua/mod52.lua#L15 where the version of Lua is hardcoded.
I have created this patch
but that’s obviously wrong solution, something more sophisticated should be created.
The text was updated successfully, but these errors were encountered: