-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
lua 5.4.1 #57133
lua 5.4.1 #57133
Conversation
Shouldn't the |
I was literally thinking the same thing just now :D I will update that. |
Should be good now. |
10.13
10.14
10.15
|
rebased to latest master and fixed the merge conflict with vim |
04b26a1
to
b4fb171
Compare
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -41,7 +41,7 @@ PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris | ||
@@ -41,7 +41,7 @@ PLATS= guess aix bsd c89 freebsd generic linux linux-readline macosx mingw posix |
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.
Looks like solaris
is still missing here - does it need to be added back?
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.
This won't impact the git patch. (more just like reference line)
Lua 5.4 support for SILE is ready to go upstream (tracking issue, pending PR), but it's held up being released until there is a published version of lua-zlib that works (tracking issue). I'll be sure to cut a release as soon as that's available, at which point SILE won't be a hold up for Homebrew switching to Lua 5.4! |
As of v0.10.9 SILE supports Lua 5.4 (Homebrew PR here). After that is merged the formula can be updated to use Lua 5.4 at any time. Note some of the LuaRocks being installed are being built from the Github tagged versions. Several projects have released new Rocks on LuaRocks by bumping the rockrel without tagging a release on Github. For every project where that is the case the upper bound restriction can just be removed from the rockspec before building. If you want me to submit a patch with `sed command to take care of that universally for that formula I can. |
Going to refresh this PR now. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Oh stow it @Stale, Rome wasn't built in a day. |
😄 |
Not sure what happened to Homebrew#57133 but it seems to not have progressed, so I'm trying this again. Also adding [email protected] because lua is known for making quite a few drastic (read: API-breaking) changes between versions. Ref: neovim/neovim#9760 (comment) Some formulae may need to continue to depend on [email protected]. At minimum, it may make sense to temporarily accept [email protected] into homebrew/core while formulae that depend on lua are slowly migrated to the latest version. This is probably better than lua not being upgraded at all because of unresolved dependency issues.
I tried opening a PR to try to update lua, but I can now see that that's not going to work. Would the following work?
|
Adding a [email protected] formula to try to address build failures in Homebrew#57133 Not sure if this is going to work, but I figured that it couldn't hurt.
@carlocab all formulas that are not currently working with lug 5.4 need to be investigated: is upstream aware of the issue, when is a fix planned, etc. We don't want to migrate formulas to an older version if they are not going to be migrated over time to something more recent |
Thanks @fxcoudert. I'm aware of that. That's what step 3 in my last comment was for. (We can even open a tracking issue for it...) I'm just thinking it makes more sense to migrate all the formulae that get stuck on I think my suggestion to migrate formulae separately rather all in one big PR also benefits from allowing the community to pitch in more with the migration. Right now it's really only those with write access who can try fixes for the build failures, and I think that needlessly adds to the burden on maintainers. I would also like to point out that different versions of lua aren't quite like different versions of other packages. Here's Neovim's lead maintainer on the subject:
|
@fxcoudert I hear what you are saying, but I don't think it quite fits the circumstances here. What @carlocab proposed isn't "migrating formulas to and older version" per se, it is holding them on the current version they are using successfully while not holding back other projects that could/should use a new Lua release. Unfortunately the Lua ecosystem is somewhat fragmented and different language VMs have different features. 5.1→5.2→5.3 is not as straightforward a version bump upgrade path as the numbers would lead you to believe. Some projects will require 5.3 for some time yet. Some may never get ported, but that doesn't make them obsolete. There are actively maintained projects out there that still depend on 5.1 language features. This shouldn't by such a road block to updating the default Lua interpreter. The proposal here to upgrade everything that can be while not needing to hold forever or mass-remove a bunch of working formula makes great sense given the state of the Lua ecosystem. I don't like it either, but I don't manage Lua releases upstream 🤷♂️. As a downstream Lua developer quite familiar with different projects' approaches to interpreter versioning I can vouch for the sanity of this idea. |
From https://www.lua.org/versions.html#numbering:
The way I read it, applications stick with a specific Lua version to embed, and move only when required. Also, the "top-level" Lua dylib symlinks actually embed the version in their names ( IMO, Lua versions should be treated as completely different entities, as upstream clearly intended, so a saner naming scheme that causes the fewest problems in the long term is (If we take this route, |
No, please don't. We are aware that lua has several versions with differences, and therefore a |
@carlocab excellent then. Only thing is: this cannot be done in separate PRs, it needs to be the same PR that moves lua to 5.4, creates a [email protected], rebuilds the formulas that build against 5.4, and migrate the other ones to 5.3 I only wish to make sure, before we accept that, that all formulas that are "stuck" on 5.3 have been notified, and we add a link to the upstream tracking issue above the dependency in the formula. That way, we can check we when update them, if support for latest lua is available. |
I may have expressed myself poorly then because this is exactly what I meant. Apologies for the miscommunication. To be clear, step 3 was meant to handle the formulae that get stuck with |
Merged in #65993 |
Created with
brew bump-formula-pr
.