File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ WEBLATE_HOME=~weblate
7171
7272# Install Weblate and deps
7373sudo -u weblate virtualenv --python=python3 " $WEBLATE_HOME /weblate-env"
74- sudo -u weblate " $WEBLATE_HOME /weblate-env/bin/pip" install " Weblate[all,zxcvbn]$WEBLATE_VERSION " wllegal
74+ sudo -u weblate " $WEBLATE_HOME /weblate-env/bin/pip" install " Weblate[all,zxcvbn]$WEBLATE_VERSION " wllegal ' pygobject<3.52 '
7575
7676PYVER=$( python3 -c ' import sys; print("{}.{}".format(*sys.version_info[:2]))' )
7777
Original file line number Diff line number Diff line change 138138 # Prebuild wheels, they are stored in the cache
139139 WHEELS=$( mktemp -d)
140140 chown " $USERNAME " " $WHEELS "
141- sudo -u " $USERNAME " " $WEBLATE_ENV /bin/pip" wheel --wheel-dir " $WHEELS " " Weblate[${WEBLATE_FLAGS} ]"
141+ sudo -u " $USERNAME " " $WEBLATE_ENV /bin/pip" wheel --wheel-dir " $WHEELS " " Weblate[${WEBLATE_FLAGS} ]" ' pygobject<3.52 '
142142 rm -rf " $WHEELS "
143143
144144 if [ $LAZY_RESTART -eq 0 ]; then
175175 cd " $OLD_DIR "
176176 fi
177177 # shellcheck disable=SC2086
178- sudo -u " $USERNAME " " $WEBLATE_ENV /bin/pip" install --upgrade-strategy eager --upgrade $PIP_ARGS " ${WEBLATE_PKG} [${WEBLATE_FLAGS} ]"
178+ sudo -u " $USERNAME " " $WEBLATE_ENV /bin/pip" install ' pygobject<3.52 ' --upgrade-strategy eager --upgrade $PIP_ARGS " ${WEBLATE_PKG} [${WEBLATE_FLAGS} ]"
179179
180180 # Adjust configuration
181181 if [ " $DO_DIFF " -eq 1 ]; then
You can’t perform that action at this time.
0 commit comments