Couldn't they have used virtualenv with Python? Also, Python packages have a way of declaring dependencies including specifying the Python version that your package requires. This should've guarded against any incompatibilities. I don't think any of this was specific to Lua.