-
Notifications
You must be signed in to change notification settings - Fork 23
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
Migrate to Lua 5.1 #36
Conversation
|
Will be merged at the same time as tatuylonen/wiktextract#239, as long as scoder/lupa#238 is merged so that we don't have to deal with a temporary fork of lupa. |
Building package from setup.py is deprecated, pyproject.toml-based build method(PEP 518) is prefered for modern packages. Lupa patch: install Cython build dependency from setup.py lru-dict patch: fix build error with llvm 16
Some tests are still failing
Luaa 5.1 doesn't call `__len` in the `#x` syntax.
Scribunto uses LuaSandbox which backports them to Lua 5.1.
Global inline flags can only be used at the start of regular expressions: https://docs.python.org/3/whatsnew/3.11.html#porting-to-python-3-11
`--use-pep517` option is required to install build dependencies for Lupa.
My Lupa pull request was merged, but now we have to use |
Excellent! I have problems actually testing this without first merging it (because there are changes in both repos and if I try to Today is Friday, so hopefully things work out and I don't get the usual "Kaikki.org failed to generate" e-mails on the weekend (as usually happens when any changes are made on a Friday). |
Please don't forget to use the |
I will edit the regeneration script in the kaikki webgen repository, thanks for the reminder. Tested installing wiktextract locally, and everything seemed to install and tests passed, and the files in site-packages seem to be correct source files. I will test a couple of pages and maybe a small run, let's see how it goes. |
Do you require --use-pep517 when installing wiktextract or wikitextprocessor? Not using or using it seems to result in the same installation. I think having |
Without |
The changes include:
setup.py
topyproject.toml