Unable to run Lutris v0.5.14

I’m running Lutris 0.5.12 in a Python 3.11 venv and everything is working well. Recently I tried to upgrade to the current Lutris version (v0.5.14) where I’m now getting an error:

Traceback (most recent call last):
  File "/home/username/programs/lutris/lutris-0.5.14/bin/./lutris", line 57, in <module>
    from lutris.gui.application import Application  # pylint: disable=no-name-in-module
  File "/home/username/programs/lutris/lutris-0.5.14/lutris/gui/application.py", line 29, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

The previous version still working as expected. Also, the PyGObject module is installed. Also upgrading or reinstalling the module didn’t change anything.

These are the currently installed modules via pip list

Package            Version
------------------ ---------
certifi            2023.7.22
charset-normalizer 3.3.1
dbus-python        1.3.2
idna               3.4
lxml               4.9.3
Pillow             10.1.0
pip                23.3.1
pycairo            1.25.1
PyGObject          3.46.0
PyYAML             6.0.1
requests           2.31.0
setuptools         65.5.0
urllib3            2.0.7

Any ideas what I’m doing wrong?

Just on thing I want to clarify: I mentioned using venv, but running Lutris the regular way with Python 3.11 doesn’t work either.

I’m not using the Lutris version provided by my system’s (openSUSE) package manager because that version is very old.