Filippo Giunchedi has submitted this change and it was merged. Change subject: Upgrade to 0.1.27 ......................................................................
Upgrade to 0.1.27 Bug: T147919 Change-Id: I6b0fc40bd01174b88423e65d9e31f8bee48ec713 --- M debian/changelog M setup.py M tests/integration/__init__.py M wikimedia_thumbor/app.py 4 files changed, 13 insertions(+), 4 deletions(-) Approvals: Filippo Giunchedi: Looks good to me, approved jenkins-bot: Verified diff --git a/debian/changelog b/debian/changelog index cbf894e..63f4364 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-thumbor-wikimedia (0.1.27-1) jessie-wikimedia; urgency=low + + * New upstream release + + -- Gilles Dubuc <gil...@wikimedia.org> Thu, 13 Oct 2016 13:28:00 +0000 + python-thumbor-wikimedia (0.1.26-1) jessie-wikimedia; urgency=low * New upstream release diff --git a/setup.py b/setup.py index 7256c2f..542992b 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='wikimedia_thumbor', - version='0.1.26', + version='0.1.27', url='https://phabricator.wikimedia.org/diffusion/THMBREXT/', license='MIT', author='Gilles Dubuc, Wikimedia Foundation', diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index dbddd27..954431d 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -13,7 +13,7 @@ from thumbor.importer import Importer from thumbor.utils import which -from tc_core.app import App +from wikimedia_thumbor.app import App class WikimediaTestCase(AsyncHTTPTestCase): @@ -98,7 +98,6 @@ def get_app(self): server_params = ServerParameters(None, None, None, None, None, None) - server_params.gifsicle_path = which('gifsicle') cfg = self.get_config() diff --git a/wikimedia_thumbor/app.py b/wikimedia_thumbor/app.py index 03bcae8..0827181 100644 --- a/wikimedia_thumbor/app.py +++ b/wikimedia_thumbor/app.py @@ -9,7 +9,7 @@ import os.path import tempfile -from thumbor.utils import logger +from thumbor.utils import logger, which from tc_core.app import App as CommunityCoreApp @@ -26,4 +26,8 @@ manhole.install(socket_path=socket_path) + # The gifsicle engine needs to work, regardless of + # USE_GIFSICLE_ENGINE being on or not + context.server.gifsicle_path = which('gifsicle') + super(App, self).__init__(context) -- To view, visit https://gerrit.wikimedia.org/r/315663 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6b0fc40bd01174b88423e65d9e31f8bee48ec713 Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/python-thumbor-wikimedia Gerrit-Branch: master Gerrit-Owner: Gilles <gdu...@wikimedia.org> Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits