url preview: Add python-magic dependency for content-type sniffing.

This commit is contained in:
Puneeth Chaganti 2019-05-05 08:58:13 +05:30 committed by Tim Abbott
parent bc2ebd0f09
commit 0884764421
5 changed files with 5 additions and 1 deletions

View File

@ -173,6 +173,7 @@ ijson==2.3
# Needed for link preview # Needed for link preview
beautifulsoup4==4.7.1 beautifulsoup4==4.7.1
pyoembed==0.1.2 pyoembed==0.1.2
python-magic==0.4.15
# The Zulip API bindings, from its own repository. We integrate with # The Zulip API bindings, from its own repository. We integrate with
# these tightly, including fetching content not included in the normal # these tightly, including fetching content not included in the normal

View File

@ -143,6 +143,7 @@ python-digitalocean==1.14.0
python-gcm==0.4 python-gcm==0.4
python-jose==2.0.2 # via moto python-jose==2.0.2 # via moto
python-ldap==3.2.0 # via django-auth-ldap, pyldap python-ldap==3.2.0 # via django-auth-ldap, pyldap
python-magic==0.4.15
python-twitter==3.5 python-twitter==3.5
python3-openid==3.1.0 # via social-auth-core python3-openid==3.1.0 # via social-auth-core
pytz==2019.1 pytz==2019.1

View File

@ -102,6 +102,7 @@ pysocks==1.6.8 # via twilio
python-dateutil==2.8.0 python-dateutil==2.8.0
python-gcm==0.4 python-gcm==0.4
python-ldap==3.2.0 # via django-auth-ldap python-ldap==3.2.0 # via django-auth-ldap
python-magic==0.4.15
python-twitter==3.5 python-twitter==3.5
python3-openid==3.1.0 # via social-auth-core python3-openid==3.1.0 # via social-auth-core
pytz==2019.1 pytz==2019.1

View File

@ -39,6 +39,7 @@ VENV_DEPENDENCIES = [
"libxslt1-dev", # Used for installing talon "libxslt1-dev", # Used for installing talon
"libpq-dev", # Needed by psycopg2 "libpq-dev", # Needed by psycopg2
"libssl-dev", # Needed to build pycurl and other libraries "libssl-dev", # Needed to build pycurl and other libraries
"libmagic1", # Used for install python-magic
# This is technically a node dependency, but we add it here # This is technically a node dependency, but we add it here
# because we don't have another place that we install apt packages # because we don't have another place that we install apt packages

View File

@ -11,4 +11,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-relea
# Typically, adding a dependency only requires a minor version bump, and # Typically, adding a dependency only requires a minor version bump, and
# removing a dependency requires a major version bump. # removing a dependency requires a major version bump.
PROVISION_VERSION = '30.4' PROVISION_VERSION = '31.0'