You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]"
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: