For openSUSE Leap 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Cloud:CI/openSUSE_Leap_15.5/Cloud:CI.repo
zypper refresh
zypper install python-pygerrit2
For openSUSE Leap 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Cloud:CI/openSUSE_Leap_15.4/Cloud:CI.repo
zypper refresh
zypper install python-pygerrit2
For SLE 15 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Cloud:CI/SLE_15/Cloud:CI.repo
zypper refresh
zypper install python-pygerrit2