8000 Relax upper bound for hslua, allow hslua-2.2. by tarleb · Pull Request #7929 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Relax upper bound for hslua, allow hslua-2.2. #7929

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

Merged
merged 2 commits into from
Feb 19, 2022
Merged

Conversation

tarleb
Copy link
Collaborator
@tarleb tarleb commented Feb 19, 2022

This change allows to use pandoc with Lua 5.4.

@tarleb
Copy link
Collaborator Author
tarleb commented Feb 19, 2022

Lua 5.4 would be used by default after this is merged. Packagers may still include Lua 5.3 instead by building pandoc with --constraint='hslua <2.2'.

This change allows to use pandoc with Lua 5.4.
@tarleb
Copy link
Collaborator Author
tarleb commented Feb 19, 2022

Adding more info about the Lua 5.3 / Lua 5.4 switch: It should be unnoticeable to script authors, incompatible changes are negligible IMHO.

An argument against merging this: allowing both 5.3 and 5.4 could lead to confusion, as the pandoc version would not correspond to a specific Lua version. This is already the case, but to a lesser extend: e.g., Lua 5.3.3, shipped in Ubuntu Docker images, behaves slightly different in rare edge cases than the default Lua 5.3.6.

Most major distributions already ship Lua 5.4 packages, with the exception of Ubuntu LTS. However, the next LTS release, to be release Apr. 21, will include Lua 5.4.4, same as the version shipping with hslua. So if we are ok with breaking Ubuntu LTS builds for 2 months, then we could just require hslua-2.2 instead of allowing both hslua-2.1 and hslua-2.2.

@jgm
Copy link
Owner
jgm commented Feb 19, 2022

If the differences btw 5.3 and 5.4 are minor, then I think this is okay. I'd rather avoid breaking Ubuntu LTS builds. Maybe add an issue as a reminder to tighten this constraint in two months?

@jgm jgm merged commit a3117bc into jgm:master Feb 19, 2022
@tarleb tarleb deleted the hslua-2.2 branch February 19, 2022 20:17
jgm added a commit that referenced this pull request Feb 22, 2022
This will help us determine which version of Lua pandoc
is compiled against. See #7929.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0