Lektor builds in jenkins sometimes fail with templates problems
Some builds of lektor in jenkins fail with:
jinja2.exceptions.UndefinedError: '_' is undefined
But if you click on 'build now' on the jenkins web interface, they usually build.
It seems like if some machines had the software needed to compile, and some not. As in many other languages, _ is the shortened expression for i18n, so it could be that the lektor-i18n plugin is missing? It looks like it installs, though, even if there is an error about 'wheels':
09:16:52 Updating packages in /home/jenkins/.cache/lektor/packages/1b7e03f6dbb11eed7da0c1e12dd75608 for project 09:16:52 Obtaining file:///srv/jenkins-workspace/workspace/lektor-website-tpo-translation/website/packages/i18n 09:16:53 Installing collected packages: lektor-i18n 09:16:53 Running setup.py develop for lektor-i18n 09:16:53 Successfully installed lektor-i18n 09:16:53 /usr/lib/python3/dist-packages/pip/_internal/commands/install.py:222: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
Example: https://jenkins.torproject.org/job/lektor-website-tpo-translation/448/consoleFull or most of failed builds at https://jenkins.torproject.org/job/lektor-website-tpo-translation