Skip to content
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

Ship Lua 5.1 with default lupa installation #256

Closed
serozhenka opened this issue Feb 7, 2024 · 3 comments
Closed

Ship Lua 5.1 with default lupa installation #256

serozhenka opened this issue Feb 7, 2024 · 3 comments

Comments

@serozhenka
Copy link

There is such a good library as the fakeredis-py, which fully emulates Redis behavior in pure Python. One of the emulated things are Lua scripts, whose execution is done with lupa. However, as the only supported Lua runtime in Redis is 5.1, and 5.x versions are not fully backward-compatible there is breakage when testing scripts and executing them in real-world environments. So there is this suggestion to ship it with default installation along with other versions.

Another valid option might be to ship additional Lua versions by specifying package extras. As an example:

pip install "lupa[lua51,lua54]"
@scoder
Copy link
Owner

scoder commented Feb 21, 2024

Lua 5.1 will be included in Lupa 2.1.

@scoder scoder closed this as completed Feb 21, 2024
@serozhenka
Copy link
Author

@scoder when the release is planned to happen?

@scoder
Copy link
Owner

scoder commented Feb 21, 2024

Try the master branch. The CI build has wheels.

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

No branches or pull requests

2 participants