requirements: Use a forked version of libthumbor for performance.

This optimizes the import performance of Zulip by using a fork of
pkgresources.  The fork just has a single commit, which replaces
libthumbor's use of pkgresources (which is really slow to import) with
a direct query to the version number.

This fixes part of #9953.
This commit is contained in:
Tim Abbott 2018-10-17 11:15:02 -07:00
parent d76f728dda
commit d58e5b8c16
3 changed files with 4 additions and 4 deletions

View File

@ -201,5 +201,5 @@ disposable-email-domains==0.0.30
yamole==2.1.5
# Needed for signing thumbnail requests so that they can be authenticated on the
# other end.
libthumbor==1.3.2
# other end. Using a fork to eliminate a really slow pkgresources import.
-e "git+https://github.com/zulip/libthumbor.git@60ed2431c07686a12f2770b2d852c5650f3ccfc6#egg=libthumbor==1.3.2zulip"

View File

@ -10,6 +10,7 @@
--no-binary psycopg2
git+https://github.com/zulip/django-bitfield@0d2b15cdb5af5ddec88d41cac19c0f2ce1b1ad38#egg=django-bitfield==1.9.3+dev.0d2b15cdb5af5ddec88d41cac19c0f2ce1b1ad38
git+https://github.com/zulip/libthumbor.git@60ed2431c07686a12f2770b2d852c5650f3ccfc6#egg=libthumbor==1.3.2zulip
git+https://github.com/zulip/talon.git@7d8bdc4dbcfcc5a73298747293b99fe53da55315#egg=talon==1.2.10.zulip1
git+https://github.com/zulip/ultrajson@70ac02bec#egg=ujson==1.35+git
git+https://github.com/zulip/python-zulip-api.git@0.5.5#egg=zulip==0.5.5_git&subdirectory=zulip
@ -88,7 +89,6 @@ jinja2==2.10
jmespath==0.9.3 # via boto3, botocore
jsondiff==1.1.1 # via moto
jsonpickle==0.9.5 # via aws-xray-sdk, python-digitalocean
libthumbor==1.3.2
lxml==4.2.3
markdown-include==0.5.1
markdown==2.6.11

View File

@ -10,6 +10,7 @@
--no-binary psycopg2
git+https://github.com/zulip/django-bitfield@0d2b15cdb5af5ddec88d41cac19c0f2ce1b1ad38#egg=django-bitfield==1.9.3+dev.0d2b15cdb5af5ddec88d41cac19c0f2ce1b1ad38
git+https://github.com/zulip/libthumbor.git@60ed2431c07686a12f2770b2d852c5650f3ccfc6#egg=libthumbor==1.3.2zulip
git+https://github.com/zulip/talon.git@7d8bdc4dbcfcc5a73298747293b99fe53da55315#egg=talon==1.2.10.zulip1
git+https://github.com/zulip/ultrajson@70ac02bec#egg=ujson==1.35+git
git+https://github.com/zulip/python-zulip-api.git@0.5.5#egg=zulip==0.5.5_git&subdirectory=zulip
@ -62,7 +63,6 @@ ipython-genutils==0.2.0 # via traitlets
ipython==6.5.0
jedi==0.11.0 # via ipython
jinja2==2.10
libthumbor==1.3.2
lxml==4.2.3
markdown-include==0.5.1
markdown==2.6.11