Commit Graph

941 Commits

Author SHA1 Message Date
Harshit Bansal
2b7dd8e437 requirements: Add 'lxml' as a dependency required for parsing HTML.
We need to parse rendered HTML content of messages while preparing
content for mobile push notifications and for doing so we need to
use lxml's HTML parser.
2017-10-06 16:37:17 -07:00
Tim Abbott
a197b82eb5 requirements: Upgrade mypy to version 0.530. 2017-10-06 15:55:11 -07:00
Umair Khan
4ed182ef44 django-auth-ldap: Upgrade to 1.2.15.
In 1.2.15 version of django-auth-ldap, the authenticate() function of
LDAPBackend takes username and password as keyword arguments. This
commit updates the code to match this change.

Fixes #6588
2017-10-03 11:40:26 -07:00
Tim Abbott
5eddedd9f6 requirements: Switch talon to a zulip fork. 2017-10-03 09:03:53 -07:00
Tim Abbott
104d5f1142 requirements: Switch virtualenv-clone to a zulip fork. 2017-10-03 08:59:03 -07:00
Tim Abbott
d4fd2e5f41 requirements: Switch pyoembed to a zulip fork.
This helps us avoid the install process breaking if upstream has a
problem.
2017-10-03 08:56:42 -07:00
Tim Abbott
b8b9af3733 requirements: Switch fakeldap to a zulip fork.
This will help us avoid breaking installation of older versions of
Zulip.
2017-10-03 08:52:44 -07:00
Umair Khan
60b8cba7df django: Bump version to 1.11.5. 2017-10-03 08:27:06 -07:00
neiljp (Neil Pilgrim)
ee8d7de7c3 mypy: Upgrade mypy to mypy commit on Oct 2 2017.
Also fix the fact we apparently forgot to remove fonttools from
dev_lock.txt.
2017-10-02 15:15:08 -07:00
Harshit Bansal
0056f1c948 requirements: Remove fonttools as a dependency.
We used fonttools' ttx tool to extract glyphs from `NotoColorEmoji.ttf`.
But we no longer need to do so and hence fonttools is no longer required.
2017-09-24 04:51:33 -07:00
rht
58a31a8a9b requirements: Remove implicit dependencies used by the API. 2017-09-23 06:54:13 -07:00
Vishnu Ks
db124ee78e requirements: Upgrade cffi to 1.11.0. 2017-09-19 19:07:58 -07:00
Vishnu Ks
9a2dcf3e0b requirements: Upgrade babel to 2.5.1. 2017-09-19 19:07:58 -07:00
Vishnu Ks
dafdb9fe53 requirements: Upgrade moto to 1.1.10.
Upgrading to 1.1.11 breaks the code.
2017-09-19 19:07:58 -07:00
Vishnu Ks
3926f70444 requirements: Upgrade wheel to 0.30.0. 2017-09-19 19:07:58 -07:00
Vishnu Ks
6774eec84b requirements: Upgrade tornado 4.5.2. 2017-09-19 19:07:58 -07:00
Vishnu Ks
345a01bef2 requirements: Upgrade SQLAlchemy to 1.1.14. 2017-09-19 19:07:58 -07:00
Vishnu Ks
5bee2584d1 requirements: Upgrade setuptools to 36.5.0. 2017-09-19 19:07:58 -07:00
Vishnu Ks
77b93b864f requirements: Upgrade PyJWT to 1.5.3. 2017-09-19 19:07:58 -07:00
Vishnu Ks
20e03b541e requirements: Upgrade psycopg2 to 2.7.3.1. 2017-09-19 19:07:58 -07:00
Vishnu Ks
ae987bede9 requirements: Upgrade pika to 0.11.0. 2017-09-19 19:07:58 -07:00
Vishnu Ks
723662a948 requirements: Upgrade oauthlib to 2.0.4. 2017-09-19 19:07:58 -07:00
Vishnu Ks
e011dd6f21 requirements: Upgrade ndg-httpsclient to 0.4.3. 2017-09-19 19:07:58 -07:00
Vishnu Ks
7dbef90efa requirements: Upgrade ipython to 6.2.0. 2017-09-19 19:07:58 -07:00
Vishnu Ks
75276078d4 requirements: Upgrade google-api-python-client to 1.6.3. 2017-09-19 19:07:58 -07:00
Vishnu Ks
77360fb6fb requirements: Upgrade fonttools to 3.15.1. 2017-09-19 19:07:58 -07:00
Vishnu Ks
b077f3c70f requirements: Upgrade django-statsd-mozilla to 0.4.0. 2017-09-19 19:07:58 -07:00
Vishnu Ks
c2f8fc9500 requirements: Add premailer for inlining email CSS. 2017-09-16 18:54:29 +05:30
rht
107e6b4c51 requirements: Clean up dev.txt. 2017-09-15 07:58:40 -07:00
rht
2d06004ee9 requirements: Add documentation on regenerating lockfiles. 2017-09-15 07:58:19 -07:00
Greg Price
ceca96899a deps: Adjust the header comments in lock files to reflect our tools. 2017-09-15 00:23:20 -07:00
Greg Price
b362e21ebb deps: Simplify tools/update-locked-requirements slightly.
This makes the code a little more concise and also more uniform,
treating `future` the same in prod and in dev.  The non-uniformity
looks like an oversight in 2be8a793e, one of the commits that updated
this code for the Python 3-only world.
2017-09-15 00:23:20 -07:00
Greg Price
bab2078705 deps: Explain the -e oddness, and handle it uniformly. 2017-09-15 00:23:20 -07:00
Eeshan Garg
e39197a9b7 requirements: Upgrade to version 0.3.4 of the Zulip API packages. 2017-09-12 03:02:29 -07:00
Aditya Bansal
d7f10bf3a1 profiling: Add snakeviz to dev tools.
This adds snakeviz to dev tools and also updates the message displayed
upon running `test-backend` with `--profile` option to say how to run
snakeviz correctly when using vagrant development environment.
2017-09-06 13:46:24 -07:00
Eeshan Garg
0d2bb41f91 requirements: Upgrade versions of Zulip API libraries. 2017-09-02 07:48:13 -07:00
Greg Price
b0d34b030a py3: Bump ujson to our own fork to pick up a Python 3 fix.
See my PR upstream: https://github.com/esnme/ultrajson/pull/284 .

Fixes #6332.
2017-08-29 16:04:10 -07:00
Steve Howell
0106add546 mypy: Use TypedDict for UnreadMessageResult. 2017-08-28 14:48:19 -07:00
Tim Abbott
8c5525c5c6 requirements: Upgrade versions of Zulip API libraries. 2017-08-27 10:05:45 -07:00
Greg Price
c6d9fbd87b APNs: Replace apns dependency with apns2.
This is "PyAPNs2", which implements Apple's new (since 2015)
APNs provider API.
2017-08-26 14:16:05 -07:00
Tim Abbott
55f0555c8d requirements: Update mypy to latest master. 2017-08-25 10:53:10 -07:00
rht
e455284bb4 requirements: Remove pathlib2.
`pathlib2` is a backport of pathlib to Python 2.x. Ni!
This dependency can be removed since:
- Zulip 1.6.0+git has been on Python 3 nowadays.
  Ekki-ekki-ekki-ptang-zoom-boing.
- As stated in ticket #6211, having this removed, prevents the need to
  have lockfiles for each of 3.4, 3.5, (and maybe 3.6).

This fixes #6211.
2017-08-23 10:00:21 -07:00
Tim Abbott
8dff14430e tools: Remove old python 3 compatibility checker.
Now that we've migrated over to Python 3, this tool is no longer required.

Fixes #6217.
2017-08-22 14:58:59 -07:00
Tim Abbott
ff346f93b5 requirements: Add missing typing dependency. 2017-08-22 14:58:54 -07:00
Tim Abbott
bcf34fea33 requirements: Downgrade sphinx.
The latest version seems to not work for us on ReadTheDocs.
2017-08-22 13:21:15 -07:00
Tim Abbott
15c49679fe requirements: Document the process a bit more. 2017-08-22 10:42:01 -07:00
Tim Abbott
559dc40ebb requirements: Mark dateutil as being explicitly used by tests.
Since it's a library we might eventually start using in production
code without thinking about it, I'd rather just have it be available
in all environments.
2017-08-22 10:42:01 -07:00
Tim Abbott
f5fe9d24bb requirements: Remove unnecessary dateutil dependency.
This is only needed for some Nagios scripts, which don't use the Zulip
virtualenv anyway.  They already correctly install the relevant
package via apt.
2017-08-22 10:42:01 -07:00
Tim Abbott
bc63cdf538 requirements: Remove unnecessary netifaces dependency.
This is only used for
puppet/zulip_ops/files/zulip-ec2-configure-interfaces, and that
actually doesn't even use the Zulip virtualenv (and correctly already
has puppet configuration to install this dependency).
2017-08-22 10:42:01 -07:00
Tim Abbott
54ec4e9e34 requirements: Remove flup dependency.
This was needed for fastcgi, which we stopped using many months ago.
2017-08-22 10:42:01 -07:00
rht
95df787a1e requirements: Remove scandir implicit dependency. 2017-08-22 10:10:57 -07:00
rht
beba59bfd5 requirements: Remove socialauth.txt recursive dep file. 2017-08-22 10:10:57 -07:00
rht
3f343f4b7b requirements: Remove emailmirror.txt recursive dep file.
The libraries in emailmirror.txt, with the exception of talon, are
imported indirectly, and so these are better autogenerated.
2017-08-22 10:10:57 -07:00
rht
99511421d1 requirements: Rename py3_common.txt to common.txt. 2017-08-22 10:10:57 -07:00
rht
0a469fd4c8 requirements: Lock prod.txt instead of its py3_common dependency.
`py3_common.txt` is no longer locked.
2017-08-22 10:10:57 -07:00
rht
6a5869ec8d requirements: Rename py3_prod.txt to prod.txt. 2017-08-22 10:10:57 -07:00
rht
e2627df7f0 requirements: Rename py3_socialauth.txt to socialauth.txt. 2017-08-22 10:10:57 -07:00
rht
80f4ba7a76 requirements: Replace py3_dev.txt with dev_lock.txt. 2017-08-22 10:10:57 -07:00
rht
1519a243bf Remove ipython,moto,scrapy,twisted recursive dep files. 2017-08-21 18:24:55 -07:00
rht
2be8a793e4 Lock the recursive requirements in dev.txt via pip-compile.
First, all the lines of py3_dev.txt except for mypy.txt are mv-ed to
dev.txt. Then dev_lock.txt is generated from dev.txt to be used by
py3_dev.txt. `click` is removed from moto.txt since it is already a
dependency of several libraries and will appear as an autogenerated
dependency.
2017-08-21 18:24:55 -07:00
rht
2afbc7e4d7 requirements: Squash dev.txt into py3_dev.txt. 2017-08-21 18:24:55 -07:00
rht
e4e0d7effd requirements: Squash common.txt into py3_common.txt. 2017-08-21 18:24:55 -07:00
rht
f24b1f2057 requirements: Squash prod.txt into py3_prod.txt. 2017-08-21 18:24:55 -07:00
rht
6baef37564 requirements: Remove Python 2-specific files. 2017-08-21 18:24:55 -07:00
Vishnu Ks
ba16616961 requirements: Upgrade simplejson to 3.11.1. 2017-08-21 07:52:16 -07:00
Vishnu Ks
3351e2afb9 requirements: Upgrade Markdown to 2.6.9. 2017-08-21 07:52:16 -07:00
Vishnu Ks
55ce054bce requirements: Upgrade babel to 2.5.0. 2017-08-21 07:52:16 -07:00
Vishnu Ks
d431d50da0 requirements: Upgrade httpretty to 0.8.14. 2017-08-21 07:52:15 -07:00
Vishnu Ks
557c92c16f requirements: Upgrade idna to 2.6. 2017-08-21 07:52:15 -07:00
Vishnu Ks
2031c24eb0 requirements: Upgrade redis to 2.10.6. 2017-08-21 07:52:15 -07:00
Vishnu Ks
e46a5abe8d requirements: Upgrade fonttools to 3.15.0. 2017-08-21 07:52:15 -07:00
Vishnu Ks
12bb19a2cb requirements: Upgrade botocore to 1.6.3. 2017-08-21 07:52:15 -07:00
Vishnu Ks
1f90ad0a05 requirements: Upgrade w3lib to 1.18.0. 2017-08-21 07:52:15 -07:00
Vishnu Ks
d33cf45010 requirements: Upgrade urllib3 to 1.22. 2017-08-21 07:52:15 -07:00
Vishnu Ks
e17dd84d39 requirements: Upgrade typing to 3.6.2. 2017-08-21 07:52:15 -07:00
Vishnu Ks
2a03a02032 requirements: Upgrade SQLAlchemy to 1.1.13. 2017-08-21 07:52:15 -07:00
Vishnu Ks
6414d92560 requirements: Upgrade Sphinx to 1.6.3. 2017-08-21 07:52:15 -07:00
Vishnu Ks
09b8a2a0bc requirements: Upgrade setuptools to 36.2.7. 2017-08-21 07:52:15 -07:00
Vishnu Ks
3f758b4b0d requirements: Upgrade requests to 2.18.4. 2017-08-21 07:52:15 -07:00
Vishnu Ks
dcd6605591 requirements: Upgrade regex to 2017.7.28. 2017-08-21 07:52:15 -07:00
Vishnu Ks
7a04df728d requirements: Upgrade python-dateutil to 2.6.1. 2017-08-21 07:52:15 -07:00
Vishnu Ks
332ed4f986 requirements: Upgrade pyldap to 2.4.37. 2017-08-21 07:52:15 -07:00
Vishnu Ks
b1acab45a9 requirements: Upgrade PyJWT to 1.5.2. 2017-08-21 07:52:15 -07:00
Vishnu Ks
2cf74956a9 requirements: Upgrade pyflakes to 1.6.0. 2017-08-21 07:52:15 -07:00
Vishnu Ks
79c2216850 requirements: Upgrade pyasn1-modules to 0.0.11. 2017-08-21 07:52:15 -07:00
Vishnu Ks
63e48daf96 requirements: Upgrade pyasn1 to 0.3.2. 2017-08-21 07:52:15 -07:00
Vishnu Ks
cc2e94d7f4 requirements: Upgrade Pillow to 4.2.1. 2017-08-21 07:52:15 -07:00
Vishnu Ks
1af023fd16 requirements: Upgrade pathlib2 to 2.3.0. 2017-08-21 07:52:14 -07:00
Vishnu Ks
6973a06b35 requirements: Upgrade oauth2client to 4.1.2. 2017-08-21 07:52:14 -07:00
Vishnu Ks
3b4c3a9827 requirements: Upgrade ipython to 6.1.0. 2017-08-21 07:52:14 -07:00
Vishnu Ks
cb402ca9be requirements: Upgrade docutils to 0.14. 2017-08-21 07:52:14 -07:00
Vishnu Ks
4e99ddad68 requirements: Upgrade Django to 1.11.4. 2017-08-21 07:52:14 -07:00
Vishnu Ks
178beb81b7 requirements: Include egg fragment in mypy git url. 2017-08-20 22:59:20 -07:00
Vishnu Ks
f35f3441f2 requirements: Upgrade cryptography to 2.0.3. 2017-08-20 22:53:05 -07:00
Vishnu Ks
9d333492d6 requirements: Upgrade certifi to 2017.7.27.1. 2017-08-20 22:53:05 -07:00
Vishnu Ks
fe240278d0 requirements: Upgrade cchardetto to 2.1.1. 2017-08-20 22:53:05 -07:00
Vishnu Ks
a49f8c8f57 requirements: Upgrade botocore to 1.6.2. 2017-08-20 22:53:05 -07:00
Vishnu Ks
a47b67c50d requirements: Upgrade boto to 2.48.0. 2017-08-20 22:53:05 -07:00
Greg Price
1dc26ba250 Bump psycopg2 dependency to 2.7.3 to get a bugfix.
This should fix #6153.
2017-08-16 17:58:13 -07:00
Greg Price
67745f849b py3: Bump sourcemap dependency to get py3 bugfix.
The one difference between `sourcemap` 0.2.0 and 0.2.1 is this fix:
  https://github.com/mattrobenolt/python-sourcemap/pull/9
This addresses an issue that caused the Zulip server running on
Python 3 to raise exceptions when attempting to process a JS error.
2017-08-15 17:30:31 -07:00
neiljp (Neil Pilgrim)
aefc256f23 mypy: Upgrade mypy beyond release 0.521 to mypy commit on Aug 3 2017. 2017-08-05 17:53:23 -07:00
Eeshan Garg
ee0a03d547 python-zulip-api: Upgrade to latest release (0.3.2). 2017-07-31 21:23:31 -07:00
Eeshan Garg
148bb4db09 requirements: Update requirements/ to install bots/API packages.
This is required, since we just reorganized the python-zulip-api
repository into 3 packages.

A nice side effect is that we get to eliminate some now-unnecessary
code for editing sys.path.
2017-07-18 00:10:30 -07:00
Tim Abbott
f2f9494d17 requirements: Pin the version of python-cryptography.
This is a workaround for https://github.com/pyca/cryptography/pull/3603.
2017-07-14 17:22:20 -07:00
Eeshan Garg
938597c5da requirements: Use the python-zulip-api repo for API bindings.
Tweaked by tabbott to repoint at the final repository name, update the
dependencies with `pip-compile`, and update PROVISION_VERSION.
2017-07-06 12:24:38 -07:00
rht
8aaf34d06d Lock the recursive requirements in common.txt via pip-compile.
The commit is composed of: (1) distill out top-level dependencies in
common.txt, (2) add -e flag to the vcs-based packages because
pip-compile can't do without, (3) pip-compile/generate the locked files
then remove the -e flags from the lockfile, (4) pin pathlib2 to dev.txt
because it turns out it is a direct requirement of
documentation_crawler, (5) document the structure and add an automation
script (6) remove cryptography==1.9 from requirements/scrapy.txt since
cryptography is automatically added from pyopenssl (7) add sed command
to remove future/futures from the generated lock file in python3 (this
should have been automatically handled by pip-compile, so pending for
the feature from pip-compile)

Tweaked by tabbott to update PROVISION_VERSION and add a missing
`first` dependency.
2017-07-05 23:47:07 -07:00
Umair Khan
a66b7b7083 Remove Django Guardian dependency.
Guardian adds functionality on top of Django auth system to set
per object permissions. Its problem is that it is has poor performance.
So we decided to remove it in release 1.4.0, but we still kept the
option to revert back to an older version which used Guardian.
See commit 49799440a4 for more details.

This commit is the final piece in the string of commits which move
us towards completely removing guardian from our codebase. The way
we do it as follows:

If you are upgrading from a version <= 1.3.10, you first need to
upgrade to 1.4.x (we recommend 1.4.2). The reason is that we
deprecated Guardian in this version. Once you have upgraded to
1.4.x we can be sure that your Zulip installation doesn't depend
on Guardian and all the data has been successfully migrated away from
Guardian. The second step is to upgrade to latest release which will
not include any reference to Guardian in the codebase. After this
commit migrating directly to the latest release will not work because
in that case Guardian data will not migrate.

The backward incompatible change that this introduces is that
we have squashed all the migrations till version 1.4.0. This was
necessary to remove Guardian because it was needed by the reverse
migration. These migrations were from 0001 to 0028.

Fixes #5420
2017-06-23 08:40:57 -04:00
sinwar
8ff2e5a22b requirements: Upgrade moto to latest version.
Fixes #5454
2017-06-21 19:05:50 -04:00
Yago González
d2b3a52812 requirements: Fix dependencies for cryptography.
Apparently the module "cryptography" (used by service_identity) has some
dependencies that weren't initially included in requirements/scrapy.txt.

Python 2 and 3: six, cffi, asn1crypto, idna
Python 2 only: enum34, ipaddress

Out of these modules, the ones that were already included in
requirements/common.txt have been removed, resulting in:

Python 2 and 3: asn1crypto
Python 2 only: ipaddress

Credits as well to @adnrs96, whose help was essential to catch this issue.
2017-06-20 10:18:00 -04:00
sinwar
e9ec59c45d requirements: Upgrade requests to latest version.
Fixes #5455
2017-06-20 06:59:18 -04:00
Aditya Bansal
cf503017d2 Use requirements file for pip/setuptools/wheels in venv setup.
Fixes: #5158.
2017-06-19 16:37:50 -04:00
Vishnu Ks
61e74be61d requirements: Add service_identity to scrapy.txt. 2017-06-19 13:01:41 -04:00
Vishnu Ks
3c5cb48825 requirements: Remove glue from common.txt. 2017-06-19 06:40:18 -04:00
Vishnu Ks
4932789759 requirements: Upgrade zope.interface to 4.4.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks
3d3a507282 requirements: Upgrade xmltodict to 0.11.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
2802787a07 requirements: Upgrade Werkzeug to 0.12.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks
da858e6e41 requirements: Upgrade urllib3 to 1.21.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
ff3329fb2b requirements: Upgrade Twisted to 17.5.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
f15875c1fe requirements: Upgrade SQLAlchemy to 1.1.10. 2017-06-19 06:40:18 -04:00
Vishnu Ks
0a06624186 requirements: Upgrade Sphinx to 1.6.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks
5fa8507deb requirements: Upgrade sh to .12.14. 2017-06-19 06:40:18 -04:00
Vishnu Ks
797d68da12 requirements: Upgrade service-identity to 17.0.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
7149b84ef1 requirements: Upgrade regex to 2017.6.7. 2017-06-19 06:40:18 -04:00
Vishnu Ks
59ee952c9a requirements: Upgrade python-twitter to 3.3 and remove pytest-runner. 2017-06-19 06:40:18 -04:00
Vishnu Ks
4ff3a0890f requirements: Upgrade python-ldap to 2.4.39. 2017-06-19 06:40:18 -04:00
Vishnu Ks
c5bc4bd027 requirements: Upgrade pyasn1-modules to 0.0.9. 2017-06-19 06:40:18 -04:00
Vishnu Ks
4bf2ca25d6 requirements: Upgrade Pillow to 4.1.1 and remove olefile. 2017-06-19 06:40:18 -04:00
Vishnu Ks
dc245dfcd1 requirements: Upgrade pbr to 3.0.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
76afa8b493 requirements: Upgrade pathlib2 to 2.3.0.. 2017-06-19 06:40:18 -04:00
Vishnu Ks
deac266185 requirements: Upgrade parsel to 1.2.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
598c1bd5cf requirements: Upgrade lxml to 3.8.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
f5b6f972fb requirements: Upgrade django-bitfield to 1.9.3. 2017-06-19 06:40:18 -04:00
Vishnu Ks
fe09421718 requirements: Upgrade django-pipeline to 1.6.13. 2017-06-19 06:40:18 -04:00
Vishnu Ks
6da5d71461 requirements: Upgrade oauth2client to 4.1.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
40c4abdefe requirements: Upgrade ipython to 5.4.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
c51ed4c2ab requirements: Upgrade incremental to 17.5.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
c04f21c4fa requirements: Upgrade fonttools to 1.13.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
7c29045cd0 requirements: Upgrade Flask to 0.12.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks
0323c772df requirements: Upgrade django-auth-ldap to 1.2.12. 2017-06-19 06:40:18 -04:00
Vishnu Ks
45cf49800a requirements: Upgrade cryptography to 1.9. 2017-06-19 06:40:18 -04:00
Vishnu Ks
b0d6142793 requirements: Upgrade coverage to 4.4.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
6d792eaa89 requirements: Upgrade chardet to 3.0.4. 2017-06-19 06:40:18 -04:00
Vishnu Ks
70a206d36e requirements: Upgrade cchardet to 2.1.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
5264855b7e requirements: Upgrade boto to 2.47.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
f9bde4bd04 requirements: Upgrade beautifulsoup4 to 4.6.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
0c92495335 requirements: Upgrade attrs to 17.2.0. 2017-06-19 06:40:18 -04:00
Tim Abbott
f24df26862 requirements: Upgrade python-social-auth.
This fixes some warnings on Django 1.11.
2017-06-15 14:44:38 -07:00
Umair Khan
eeabc0f6a3 Django 1.11: Bump Django version to 1.11.
This commit also makes the following changes:

* Bumps the version of Django to 1.11.2.

* Fixes the HTTP response headers. Now CommonMiddleware sets Content-Length
  header for non-streaming response, see
  https://docs.djangoproject.com/en/1.11/ref/middleware/#module-django.middleware.common.
  Due to this, 'Transfer-Encoding: chunked' header is removed, which signifies
  a streaming response.
2017-06-15 14:44:38 -07:00
Mehanig
3f5d0e69fb Build and handle jsfiles using webpack instead of django-pipeline.
Also renames bundle.js to translations.js.
2017-05-24 18:38:03 -07:00
Eklavya Sharma
bda5517b5c mypy: Upgrade to latest version of mypy. 2017-05-23 10:42:44 -07:00
Tim Abbott
7bee733565 requirements: Upgrade to the latest Django release. 2017-05-16 15:56:16 -07:00
Tim Abbott
3fd1943eb6 requirements: Move api dependency out of common.txt.
This is preparation for using `pip compile` to help automate our
requirements files; `pip compile` does not support relative paths.
2017-05-13 22:13:00 -07:00
Tim Abbott
864bc99aeb requirements: Move common includes to py2/py3, not dev/prod.
This is a nonfunctional refactor of how the common.txt requirements
are included.  It is preparation for a new model for freezing our
recursive dependencies based on `pip compile`.
2017-05-13 22:09:42 -07:00
rht
7ad6a66340 requirements: Remove redundant library list.
The line `-r common.txt` can be found in dev.txt and prod.txt

This should speed up the build process by 2-3s, in addition to the speed
up from not having to prepare a python2 venv.
2017-05-11 08:52:42 -07:00
Rishi Gupta
e46cbaffa2 email: Remove Mandrill pathways and dependency.
Everything it was doing (send_future_email) can now be done using
ScheduledJob.
2017-05-05 14:38:23 -07:00
Tommy Ip
19adf2e327 requirements: Upgrade gitlint to 0.8.2.
As of Gitlint v0.8.2, the --extra-path option now accepts both
directories and standalone python modules.
2017-05-05 09:59:39 -07:00
rahuldeve
023730447e Outgoing Webhook System: Add ndg-httpsclient requirement. 2017-05-02 08:24:28 -07:00
sinwar
2e0c03ae2d requirements: Update psycopg2 to latest version.
Fixes #4580.
2017-05-01 23:43:28 -07:00
hackerkid
a768c94f9d requirements: Upgrade django-bitfield to 1.9.2. 2017-04-21 22:25:50 -07:00
hackerkid
0689954373 requirements: Upgrade zope.interface to 4.4.0. 2017-04-21 18:13:58 -07:00
hackerkid
7db87a452c requirements: Upgrade typing to 3.6.1. 2017-04-21 18:13:58 -07:00
hackerkid
60d3346369 requirements: Upgrade SQLAlchemy to 1.1.9. 2017-04-21 18:13:58 -07:00
hackerkid
8ca2ed1ce2 requirements: Upgrade Werkzeug to 0.12.1. 2017-04-21 18:13:58 -07:00
hackerkid
05a5a8bc40 requirements: Upgrade tornado to 4.5.1. 2017-04-21 18:13:58 -07:00
hackerkid
0707c8a58b requirements: Upgrade tblib to 1.3.2. 2017-04-21 18:13:58 -07:00
hackerkid
8d6ed0419c requirements: Upgrade sphinx-rtd-theme to 0.2.4. 2017-04-21 18:13:58 -07:00
hackerkid
12367a7580 requirements: Upgrade Sphinx to 1.5.5. 2017-04-21 18:13:58 -07:00
hackerkid
2f6d191ab8 requirements: Upgrade Scrapy to 1.3.3. 2017-04-21 18:13:58 -07:00
hackerkid
c5de115a51 requirements: Upgrade regex to 2017.4.5. 2017-04-21 18:13:58 -07:00
hackerkid
c9ee2b0c25 requirements: Upgrade pytz to 2017.2. 2017-04-21 18:13:58 -07:00
hackerkid
97563b4061 requirements: Upgrade pyOpenSSL to 17.0.0. 2017-04-21 18:13:58 -07:00
hackerkid
1ff9d6a600 requirements: Upgrade pylibmc to 1.5.2. 2017-04-21 18:13:58 -07:00
hackerkid
d8965691a4 requirements: Upgrade PyJWT to 1.5.0. 2017-04-21 18:13:58 -07:00
hackerkid
f68f898fc5 requirements: Upgrade prompt_toolkit to 1.0.14. 2017-04-21 18:13:58 -07:00
hackerkid
6b94cdc6f0 requirements: Upgrade Pillow to 4.1.0. 2017-04-21 18:13:58 -07:00
hackerkid
a9af3df67f requirements: Upgrade pbr to 3.0.0. 2017-04-21 18:13:58 -07:00
hackerkid
2929c15953 requirements: Upgrade oauthlib to 2.0.2. 2017-04-21 18:13:57 -07:00
hackerkid
5972679a50 requirements: Upgrade MarkupSafe to 1.0. 2017-04-21 18:13:57 -07:00
hackerkid
8b126cbb22 requirements: Upgrade Jinja2 to 2.9.6. 2017-04-21 18:13:57 -07:00
hackerkid
1600337e4e requirements: Upgrade ipython-genutils to 0.2.0. 2017-04-21 18:13:57 -07:00
hackerkid
b2db6f05fd requirements: Upgrade fonttools to 3.10.0. 2017-04-21 18:13:57 -07:00
hackerkid
28c704db01 requirements: Upgrade Flask to 0.12.1. 2017-04-21 18:13:57 -07:00
hackerkid
cf6cd3a447 requirements: Upgrade django-pipeline to 1.6.12. 2017-04-21 18:13:57 -07:00
hackerkid
0999227648 requirements: Upgrade django-auth-ldap to 1.2.10. 2017-04-21 18:13:57 -07:00
hackerkid
72b1db5920 requirements: Upgrade cryptography to 1.8.1. 2017-04-21 18:13:57 -07:00
hackerkid
afc835a91e requirements: Upgrade chardet to 3.0.2. 2017-04-21 18:13:57 -07:00
hackerkid
0915171868 requirements: Upgrade cffi to 1.10.0. 2017-04-21 18:13:57 -07:00
hackerkid
91011b74ef requirements: Upgrade certifi to 2017.4.17. 2017-04-21 18:13:57 -07:00
hackerkid
276ef60241 requirements: Upgrade cchardet to 2.0.0. 2017-04-21 18:13:57 -07:00
hackerkid
297964a0c1 requirements: Upgrade Babel to 2.4.0. 2017-04-21 18:13:57 -07:00
hackerkid
fdbdd665eb requirements: Upgrade alabaster to 0.7.10. 2017-04-21 18:13:57 -07:00
Tommy Ip
ec8e47192a lint: Add checks for commit messages using gitlint.
Fixes #1131.
2017-04-21 13:45:12 -07:00
sinwar
22b36ff2dc requirements: Upgrade python-twitter to latest version.
We no longer need a forked version, since our patches were merged into
master several months ago.

Fixes #3407.
2017-04-05 16:41:09 -07:00
Tim Abbott
35f3070927 requirements: Move incorrectly filed dependencies.
These are only used in development, and should never have been added
to common.txt.
2017-03-23 18:14:20 -07:00
Tim Abbott
ce2c3fbb06 requirements: Install api bindings in production. 2017-03-22 19:33:51 -07:00
Umair Khan
a2aeddba6b testing: Add infrastructure for running backend tests in parallel.
This doesn't yet provide an option to actually run the backend tests
parallelized yet.
2017-03-21 10:59:12 -07:00
sinwar
d8ff09cb42 requirements: Upgrade pycodestyle to latest version.
Fixes #3927.
2017-03-05 16:17:04 -08:00
Raghav Jajodia
4ef4026e6a requirements: Upgrade mypy to version 0.501. 2017-03-04 15:41:11 -08:00
hackerkid
8a2b7751a5 requirements: Move PyJWT to common.txt. 2017-02-27 16:04:49 -08:00
hackerkid
ea55b372ac requirements: Remove JWT.
We are using PyJWT, not JWT.
2017-02-27 16:04:49 -08:00
Tim Abbott
4090d409a4 requirements: Install cffi and pycparser in production.
It's needed for the argon2 password hasher.
2017-02-26 16:12:31 -08:00
hackerkid
9e6a7f0112 requirements: Upgrade cchardet to 1.1.3. 2017-02-26 15:59:23 -08:00
hackerkid
2bb4144e1c requirements: Upgrade pyasn1 to 0.2.3. 2017-02-26 15:59:23 -08:00
hackerkid
d1e85a654c requirements: Upgrade sphinx to 1.5.3. 2017-02-26 15:59:23 -08:00
hackerkid
e09093608b requirements: Upgrade boto to 2.46.1. 2017-02-26 15:59:23 -08:00
hackerkid
1119f75ba6 requirements: Upgrade w3lib to 1.17.0. 2017-02-26 15:59:23 -08:00
hackerkid
0a008def24 requirements: Upgrade Twisted to 17.1.0. 2017-02-26 15:59:23 -08:00
hackerkid
18b9c201ed requirements: Upgrade transifex-client to 0.12.4. 2017-02-26 15:59:23 -08:00
hackerkid
bcd8fca8ee requirements: Upgrade traitlets to 4.3.2. 2017-02-26 15:59:23 -08:00
hackerkid
c4fd148b42 requirements: Upgrade social-auth-core to 1.2.0. 2017-02-26 15:59:23 -08:00
hackerkid
5f49da7f50 requirements: Upgrade social-auth-app-django to 1.1.0. 2017-02-26 15:59:23 -08:00
hackerkid
7d895ae998 requirements: Upgrade Scrapy to 1.3.2. 2017-02-26 15:59:23 -08:00
hackerkid
cab584f803 requirements: Upgrade scandir to 1.5. 2017-02-26 15:59:23 -08:00
hackerkid
89c23834cb requirements: Upgrade requests_oauthlb to 0.8.0. 2017-02-26 15:59:23 -08:00
hackerkid
9d01b9f4a9 requirements: Upgrade requests to 2.13.0. 2017-02-26 15:59:23 -08:00
hackerkid
672245f72e requirements: Upgrade regex to 2017.2.8. 2017-02-26 15:59:23 -08:00
hackerkid
ea56d87f72 requirements: Upgrade python-ldap to 2.4.32. 2017-02-26 15:59:23 -08:00
hackerkid
77c9d3e382 requirements: Upgrade pytest-runner to 2.11.1. 2017-02-26 15:59:23 -08:00
hackerkid
0b3d21964a requirements: Upgrade Pygments to 2.2.0. 2017-02-26 15:59:23 -08:00
hackerkid
66817cd118 requirements: Upgrade prompt-toolkit to 1.0.13. 2017-02-26 15:59:23 -08:00
hackerkid
b4f4784764 requirements: Upgrade Markdown to 2.6.8. 2017-02-26 15:59:23 -08:00
hackerkid
34c55ce461 requirements: Upgrade lxml to 3.7.3. 2017-02-26 15:59:23 -08:00
hackerkid
b6a595c5a3 requirements: Upgrade Jinja2 to 2.9.5. 2017-02-26 15:59:23 -08:00
hackerkid
2a2328b725 requirements: Upgrade ipython to 5.3.0. 2017-02-26 15:59:23 -08:00
hackerkid
3810f5ffea requirements: Upgrade httplib2 to 0.10.3. 2017-02-26 15:59:23 -08:00
hackerkid
767f21c397 requirements: Upgrade google-api-python-client to 1.6.2. 2017-02-26 15:59:23 -08:00
hackerkid
f61bfb0186 requirements: Upgrade fonttools to 3.7.2. 2017-02-26 15:59:23 -08:00
hackerkid
6b672ea992 requirements: Upgrade django-auth-ldap to 1.2.9. 2017-02-26 15:59:23 -08:00
hackerkid
e5a1ccbed6 requirements: Upgrade defusedxml to 0.5.0. 2017-02-26 15:59:23 -08:00
hackerkid
d50efc6c4e requirements: Upgrade cryptography to 1.7.2. 2017-02-26 15:59:23 -08:00
hackerkid
903611c4f5 requirements: Upgrade certifi to 2017.1.23. 2017-02-26 15:59:23 -08:00
sinwar
483a351d44 Upgrade to argon password hasher.
The Argon2 password hasher is the currently recommended password
hasher for Django.

Fixes #3362.
2017-02-22 23:29:12 -08:00
Tim Abbott
bb5d81281c mypy: Upgrade to new package name and version 0.571.
Fixes #3448.
2017-02-10 23:53:44 -08:00
hackerkid
1d1dcab2b3 requirements: Add comment explaining why CommonMark can't be upgraded.
Fixes #3398.
2017-01-24 14:22:06 -08:00
Tim Abbott
8a8e0ea48b requirements: Upgrade moto and dateutil to latest version. 2017-01-24 13:02:57 -08:00
Rafid Aslam
1e9baf8ee0 deps: Upgrade docutils to 0.13.1.
Fixes #3399.
2017-01-23 15:23:58 -08:00
sinwar
f83da697ee requirements: Upgrade parsel to latest version
Fixes #3401
2017-01-22 15:26:11 -08:00
sinwar
b0efa58eb4 requirements: Upgrade python-social-auth to latest version
Fixes #3403
2017-01-21 21:22:59 +05:30
hackerkid
dbf17064c2 requirements: Upgrade pathlib2 to 2.2.1 2017-01-19 14:18:39 -08:00
hackerkid
57e4c925bc requirements: Add scandir package to ipython.txt.
Needed for pathlib2==2.2.1.
2017-01-19 14:18:39 -08:00
hackerkid
071ab7bf70 requirements: Upgrade Typing to 3.5.3.0. 2017-01-19 14:18:39 -08:00
hackerkid
dc5e09f5e1 requirements: Upgrade Jinja2 to 2.9.4. 2017-01-19 14:18:39 -08:00
hackerkid
9f5108ded2 requirements: Upgrade Pillow to 4.0.0. 2017-01-19 14:18:39 -08:00
hackerkid
7a20dc64d7 requirements: Add olefile package to common.txt.
Olefile is needed for running Pillow==4.0.0.
2017-01-19 14:18:39 -08:00
hackerkid
b5de4e06f1 requirements: Upgrade backports-abc to 0.5. 2017-01-19 14:18:39 -08:00
hackerkid
aeb9c4b485 requirements: Upgrade boto to 2.45.0. 2017-01-19 14:18:39 -08:00
hackerkid
11b15d1cc8 requirements: Upgrade sphinx to 1.5.1. 2017-01-19 14:18:39 -08:00
hackerkid
4dd0de33db requirements: Upgrade requests to 2.12.5. 2017-01-19 14:18:39 -08:00
hackerkid
1783e88531 requirements: Upgrade attrs to 16.3.0. 2017-01-19 14:18:39 -08:00
hackerkid
e1da6140eb requirements: Upgrade zope.interface to 4.3.3. 2017-01-19 14:18:39 -08:00
hackerkid
8c323e05ac requirements: Upgrade Twisted to 16.6.0. 2017-01-19 14:18:39 -08:00
hackerkid
a142b9801f requirements: Upgrade w3lib to 1.16.0. 2017-01-19 14:18:39 -08:00
hackerkid
0d000ec13c requirements: Upgrade cryptography to 1.7.1. 2017-01-19 14:18:39 -08:00
hackerkid
7a5d605ae4 requirements: Upgrade Scrapy to 1.3.0. 2017-01-19 14:18:39 -08:00
hackerkid
77e0fe012c requirements: Upgrade python-ldap to 2.4.28. 2017-01-19 14:18:38 -08:00
hackerkid
b4e979a23f requirements: Upgrade Werkzeug to 0.11.15 and click to 6.7. 2017-01-19 14:18:31 -08:00
hackerkid
bec790f4ca requirements: Upgrade Flask to 0.12. 2017-01-19 14:11:07 -08:00
hackerkid
a36b524e61 requirements: Upgrade prompt_toolkit to 1.0.9. 2017-01-19 14:11:07 -08:00
hackerkid
e82180a5c0 requirements: Upgrade urllib3 to 1.20. 2017-01-19 14:11:07 -08:00
hackerkid
94410c920f requirements: Upgrade decorator to 4.0.11. 2017-01-19 14:11:07 -08:00
hackerkid
65f7514a69 requirements: Upgrade regex to 2017.1.17. 2017-01-19 14:11:07 -08:00
hackerkid
3b1f6a4154 requirements: Upgrade lxml to 3.7.2. 2017-01-19 14:11:07 -08:00
hackerkid
76bf3982a6 requirements: Upgrade cssselect to 1.0.1. 2017-01-19 14:11:07 -08:00
hackerkid
5f56b9af97 requirements: Upgrade cchardet to 1.1.2. 2017-01-19 14:11:07 -08:00
hackerkid
4116da22a9 requirements: Upgrade pyflakes to 1.5.0. 2017-01-19 14:11:07 -08:00
hackerkid
8b45f5c8a3 requirements: Upgrade coverage to 4.3.4. 2017-01-19 14:11:07 -08:00
hackerkid
ae1bd2b0bc requirements: Upgrade beautifulsoup4 to 4.5.3. 2017-01-19 14:11:07 -08:00
hackerkid
43c4d7f39e requirements: Upgrade pcodestyle to 2.2.0. 2017-01-19 14:11:07 -08:00
hackerkid
6571d7c568 requirements: Upgrade polib to 1.0.8. 2017-01-19 14:11:07 -08:00
hackerkid
c29cd84ce9 requirements: Upgrade django-pipeline to 1.6.11. 2017-01-19 14:11:07 -08:00
hackerkid
60fbe093c1 requirements: Upgrade sourcemap to 0.2.0. 2017-01-19 14:11:07 -08:00
hackerkid
24426d4684 requirements: Upgrade simplejson to 3.10.0. 2017-01-19 14:11:07 -08:00
hackerkid
22c2c0144c requirements: Upgrade pytz to 2016.10. 2017-01-19 14:11:07 -08:00
hackerkid
f1c2156aae requirements: Upgrade oauthlib to 2.0.1. 2017-01-19 14:11:07 -08:00
hackerkid
82d8ef12cd requirements: Upgrade oauth2client to 4.0.0. 2017-01-19 14:11:07 -08:00
hackerkid
9d999dd524 requirements: Upgrade google-api-python-client to 1.6.1. 2017-01-19 14:11:07 -08:00
hackerkid
33e8be51e2 requirements: Upgrade fonttools to 3.5.0. 2017-01-19 14:11:07 -08:00
hackerkid
2ce60273f9 requirements: Upgrade SQLAlchemy to 1.1.5. 2017-01-19 14:11:07 -08:00
hackerkid
db9d0b74a7 requirements: Upgrade Django to 1.10.5. 2017-01-19 14:11:07 -08:00
Tim Abbott
464411833d requirements: Upgrade mypy to 0.4.6 release. 2017-01-08 22:48:25 -08:00
Tim Abbott
687d0cbf9e docs: Add support for including markdown files in others.
This uses a third-party dependency, python-markdown-include.

The example use for settings is intended primarily as a demonstration.
2016-12-30 17:16:29 -08:00
Umair Khan
8acf2609de ldap: Use newer commit of fakeldap in requirements. 2016-12-30 16:55:05 -08:00
Rishi Gupta
13d1a636d5 queue_processors.SignupWorker: Upgrade to MailChimp API v3.0.
Removes the dependence on postmonkey, which is a wrapper around
MailChimp API v1.3. MailChimp recommends using their v3.0 API directly,
rather than through a wrapper library.
2016-12-29 16:16:18 -08:00
Umair Khan
c24fbd28b2 Shift to python-gcm for Android push notifications.
Fixes #2650
2016-12-15 12:17:07 -08:00
Umair Khan
efccefc386 Upgrade to the latest Django release, 1.10.4.
Most of the changes to support this were merged some time ago; what
remains are these changes:

* Update requirements.txt
* Django 1.10: Upgrade success-http-headers.txt file.

- We no longer get the absolute urls, see
  https://docs.djangoproject.com/en/1.10/releases/1.9/#http-redirects-no-longer-forced-to-absolute-uris
- The headers are capitalized, previously, they were in upper case.

* Bump PROVISON_VERSION to 3.0 since this is a disruptive change.

Fixes #3.
2016-12-14 22:43:20 -08:00
Umair Khan
9f5c961a1b Django 1.10: Use django-bitfield from Disqus.
Disqus is the upstream for django-bitfield and has now merged in the
support for Django 1.10 we were previously getting from another
repository.
2016-12-14 22:38:35 -08:00
Umair Khan
336a041ac0 Django 1.10: Use uWSGI.
Fixes: #1121

With some tweaks by tabbott to make the number of processes configurable.
2016-12-13 21:40:43 -08:00
Tim Abbott
c77b1b2ac0 requirements: Stop using the -e feature for installing api bindings.
The `-e api/` line in requirements.txt caused various problems with
provisioning.  It's not entirely clearly why, but it seems likely to
be a bad interaction with our virtualenv caching logic.

Given that it only had marginal value over just installing the API
bindings in the first place, we're replacing this with just `api/`
instead.
2016-12-13 11:53:55 -08:00
Igor Tokarev
c93f1d4eda Add oembed/Open Graph/Meta tags data retrieval from inline links.
This change adds support for displaying inline open graph previews for
links posted into Zulip.

It is designed to interact correctly with message editing.

This adds the new settings.INLINE_URL_EMBED_PREVIEW setting to control
whether this feature is enabled.

By default, this setting is currently disabled, so that we can burn it
in for a bit before it impacts users more broadly.

Eventually, we may want to make this manageable via a (set of?)
per-realm settings.  E.g. I can imagine a realm wanting to be able to
enable/disable it for certain URLs.
2016-12-07 17:40:18 -08:00
Anders Kaseorg
70c977696d requirements: Upgrade flup to 1.0.3.dev20161029 for Python 3 support
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-11-26 13:20:22 -08:00
Chelsea Voss
32f5db16fb Add pytest-runner as a prereq to pip installing python-twitter.
While I was setting up the dev environment, pip failed to install
python-twitter: https://github.com/bear/python-twitter/issues/406

This was fixed by manually installing pytest-runner before trying to
install python-twitter, for both the python and python3 virtualenvs.
2016-11-20 13:06:41 -08:00
Tim Abbott
a960ff6773 requirements: Update cryptography packages. 2016-11-15 10:13:51 -08:00
Umair Khan
47e8a56870 Django 1.10: Use compatible django guardian. 2016-11-14 16:09:12 -08:00
Umair Khan
e89af4c470 Django 1.10: Fix django-bitfield.
SubfieldBase was deprecated in Django 1.10 so the version we use now
doesn't rely on that class.
2016-11-14 16:09:12 -08:00
paxapy
456e761294 lint: Add pep8 checker to the project.
We set this up initially with all of the rules that Zulip violates
disabled.

Also, the pep8 linter is substantially slower than the other Zulip
linters, so we've put it behind an option to `tools/lint-all`.
2016-11-09 15:17:49 -08:00
paxapy
93965a8e89 Add tools for dumping and comparing markdown renderings.
This adds a couple new tools that can be used to determine whether a
particular change in Zulip's backend markdown processor would impact
the rendering of historical messages, without a human actually looking
at the message content.  This is a useful way to verify whether a
change to our markdown syntax is likely to create problems.

[commit message and code tweaked by tabbott]
2016-11-07 07:49:56 -08:00
Tim Abbott
50382f153a requirements: Upgrade pillow to the latest version. 2016-11-06 20:52:04 -08:00
Tim Abbott
c6ceae868b requirements: Upgrade twisted, adding incremental and constantly.
Twisted 16.5.0 has a couple new dependencies.
2016-11-05 09:13:35 -07:00
Tim Abbott
be506d63f6 requirements: Upgrade a bunch of minor Python package versions.
These are all minor versions and thus shouldn't have any impact.
2016-11-05 09:13:28 -07:00
K.Kanakhin
09e17fbe17 run-dev: Use tornado for dev proxy server for HTTP requests.
- Use tornado as proxy server for development environment,
  replacing twisted (this doesn't support websockets).
- Upgrade tornado version to 4.4.1 (needs to be coupled to the
  above since neither change works without the other)
2016-11-01 20:35:31 -07:00
Tim Abbott
7a02ed42e7 requirements: Move fakeldap to dev.txt. 2016-10-28 11:04:08 -07:00
Umair Khan
50422e775b Add LDAP tests. 2016-10-28 09:27:55 -07:00
K.Kanakhin
6b31fcd63a docs-test: Add scrapy crawler to check documentation not having broken links.
- Add scrapy project with rewrited 'crawl' command and spider to check documentation.
  Command was rewrited due to return exit status by the exception existing,
  it returns exit code 0 if exception happens inside spider in standard behavour.

- Add scrapy requirements to for dev environment. It was added to twisted requirements list.

Fixes #1492
2016-10-25 11:35:16 -07:00
Tim Abbott
0784c4b339 requirements: Install the Zulip API bindings by default.
Now that we're no longer using the --install-option feature of
requirements.txt, we can add this back in again.
2016-10-17 23:21:43 -07:00
Tim Abbott
e91f227c0b requirements: Update python-social dependency.
Also, fix the use of `>=` in the version declarations; we want to be
precise about what versions we're installing.
2016-10-16 01:13:50 -07:00
Tim Abbott
14e2540b2f requirements: Upgrade a bunch of dependencies.
These are all minor version upgrades that should be safe.
2016-10-16 01:13:50 -07:00
Tim Abbott
ec9dcd7fb4 Upgrade mypy to version 0.4.5.
Now that 0.4.5 is out, we no longer need to use a forked version of mypy.
2016-10-16 01:10:43 -07:00
umkay
c028815385 bugdown: Update python-markdown to version 2.6.7.
This updates Bugdown to reflect the changes in the updated
markdown. In particular, we now pass a default config object in the
__init__ for the Bugdown extension, update the make_md_engine function
to take kwargs as opposed to a config list, and have UListProcessor
inherit from ulist as opposed to olist (which no longer works).

We update the (forked from upstream) fenced_code extension's
makeExtension to take args and kwargs, and update
FencedBlockPreprocessor __init__ method with updated Codehilite
arguments.

We update the (forked from upstream) Codehilite extension to
mirror the logic with the latest upstream Codehilite:
	Add parse_hl_lines function
	update makeExtension to take args and kwarfs instead of config
	list
	Add regex for highlight lines
	use linenums instead of linenos
	use get_formatter_by_name instead of HtmlFormatter
	user get_lexer_by_name instead of TextLexer
	add hl_lines and use_pygments arguments to the codehlite
	constructor
2016-10-15 23:38:32 -07:00
umkay
bfbf07fde2 Update pinned SQLAlchemy requirement to latest upstream version.
The prerequisite to this change is
278574a6ec
2016-10-14 14:45:43 -07:00
Umair Khan
624f79a892 Use a version of Talon hardcoded to use the --no-ml argument.
This works around https://github.com/pypa/pip/issues/3845, where the
`--install-option` argument was incorrectly polluting other
dependencies).
2016-10-12 22:32:34 -07:00
K.Kanakhin
e7642daa2a py3_prod: Add py3 production requirements file. 2016-10-11 14:19:00 -07:00
Tim Abbott
7639dc87a8 Revert "requirements: Install the Zulip API bindings by default."
This reverts commit de5b6d9e37.

This change appears to have caused problems provisioning due to a
conflict with the `--install-option` feature used by talon.
2016-10-10 23:36:01 -07:00
Tim Abbott
de5b6d9e37 requirements: Install the Zulip API bindings by default.
Fixes: #1957.
2016-10-10 17:41:46 -07:00
K.Kanakhin
06e70e1fbd run-dev-proxy: Fix twisted py3 compatibility.
- All necessary strings was converted to bytestring
 - Added twisted as py3 dependency
 - Change type annotation for method getchild of class Resource
 - Remove activating python2 env section from run-dev.py script

Fixes #1256
2016-10-06 20:21:25 -07:00
Tim Abbott
a17a6a21c0 Upgrade Django to 1.8.15 with Zulip patches. 2016-09-27 20:29:08 -07:00
Tim Abbott
535a40ded9 requirements: Add enum34 for ipython on python 2.
I guess we don't have anything that tests ipython in CI, so this was
missed when I upgraded ipython earlier this week.
2016-09-20 22:37:47 -07:00
Tim Abbott
59f3fd55c9 requirements: Upgrade moto and dependencies. 2016-09-19 22:55:05 -07:00
Umair Khan
e3078b226a Optimize incremental virtualenv creation.
This adds a new system for copying packages from old virtualenvs that
are sufficiently similar to the new virtualenv required.

In practice, this results in a huge performance improvement for
re-provisioning Zulip development environments when the requirements
files have changed (which is the dominant performance problem with
provision today).

Fixes: #1507.
2016-09-19 22:35:32 -07:00
Tim Abbott
27e4ed126f requirements: Upgrade various Python dependencies. 2016-09-19 22:32:02 -07:00
Tim Abbott
0cab02b58a Upgrade mypy to latest upstream git.
This new mypy version supports some performance improvements and
should also facilitate running mypy on our scripts more efficiently.
2016-09-19 22:19:38 -07:00
umkay
82d03d603a Update Pygments to latest upstream version.
In HTML, the line break immediately following a start tag is ignored
(see: https://www.w3.org/TR/html4/appendix/notes.html#h-B.3.1). An
extra span tag has been introduced in the upstream Pygments
HtmlFormatter in order to preserve the first new line. The Bugdown
Tests as well as our fenced_code.js frontend markdown processor have
been updated to reflect this new behavior.
2016-09-12 21:58:25 -07:00
Tim Abbott
317e2a63b3 Remove tools/deprecated/review and associated files.
This hasn't been used since before Zulip was open source, and isn't
super reusable, so we can remove it.  It'll always be there in the
history if someone ends up wanting it.

While we're at it, we remove the GitPython dependency (only used for
this tool) and the example MSMTP config for the review tool.
2016-09-10 10:53:02 -07:00
Tim Abbott
a4536cca1e emoji_dump: Generate a sprite sheet for the Zulip emoji. 2016-09-08 15:16:58 -07:00
Umair Khan
13159ab266 Provide versions through egg.
Giving version in the git urls will allow pip to compare the
installed version and skip the download if the installed
version is up to date.
2016-09-08 14:15:20 -07:00
ukhan
3c1027a584 Update sockjs-tornado to latest version. 2016-08-15 16:58:58 -07:00
ukhan
a7607f843b Update Tornado to 3.2.2, which does not break tests 2016-08-15 16:57:19 -07:00
ukhan
db81647b7b Update packages in requirements that won't break tests
upgrade moto, downgrade httpretty for compatibility

downgrade commonmark for compatibility
2016-08-12 17:56:23 -07:00
ukhan
180b438c44 Upgrade setuptools prior to updating mock 2016-08-12 17:56:23 -07:00
Umair Khan
2edb79776e Calculate translation percentages.
Fixes: #1397
2016-07-29 11:58:41 -07:00
Umair Khan
2df62d4539 Add socialauth requirements file. 2016-07-28 15:26:00 -07:00
Eklavya Sharma
80bb27570d Remove unneeded dependencies.
We install service-identity to prevent twisted from giving spammy
warnings.  However, we don't need the security features provided
by service-identity.  So we can remove most of its cryptographic
dependencies.
2016-07-28 14:52:09 -07:00
Eklavya Sharma
9922ecc7d6 Shift twisted to requirements/py2_dev.txt.
Since twisted is only used for running tools/run-dev.py, we only
need it in development.  Also twisted is not python 3 compatible.
So it should be shifter to requirements/py2_dev.txt.
2016-07-28 14:52:09 -07:00
Eklavya Sharma
af28d026e3 Upgrade coverage. 2016-07-28 14:38:23 -07:00
Eklavya Sharma
68058d6ca0 Upgrade transifex-client and urllib3. 2016-07-28 14:38:23 -07:00
Eklavya Sharma
cdf73ccf84 Upgrade lxml. 2016-07-28 14:38:23 -07:00
Eklavya Sharma
eb34c249d7 Upgrade doc-building dependencies.
Upgrade alabaster and sphinx to latest version.
commonmark can't be updated because recommonmark uses an old
version of commonmark which is incompatible with latest version.
2016-07-27 14:47:29 -07:00
Tim Abbott
65175ef15a Test upgrading Tornado to 3.1.1. 2016-07-27 13:47:34 -07:00
Eklavya Sharma
c51b5bced8 Upgrade regex. 2016-07-27 13:03:31 -07:00
Eklavya Sharma
933d327c1a Upgrade python-ldap. 2016-07-27 13:03:31 -07:00
Eklavya Sharma
3473891aa5 Upgrade enum34. 2016-07-27 13:03:31 -07:00
Eklavya Sharma
7c37316432 Upgrade pylibmc. 2016-07-27 13:03:31 -07:00
Eklavya Sharma
a2a8b54f6e Upgrade pillow.
Update test images because pillow's resize algorithm has changed.
2016-07-26 16:36:07 +05:30
Tim Abbott
b49b3d5899 Upgrade moto dependency versions. 2016-07-25 12:31:32 -07:00
Eklavya Sharma
fb62e5c7bd Upgrade Twisted. 2016-07-25 08:45:10 -07:00
Eklavya Sharma
6ed5163795 Upgrade Jinja2. 2016-07-24 19:45:52 -07:00
Tim Abbott
5b583c7417 Fix django statsd packages. 2016-07-20 19:03:29 -07:00
Umair Khan
9dad92f323 Switch to upstream Talon repository. 2016-07-20 10:47:05 -07:00
Eklavya Sharma
cfed816a52 tools/provision.py: Install a python2 venv with twisted.
Twisted is not python 3 compatible.  So for now create a python2
venv and install twisted in it when running provision.py in python3
mode and use twisted from the python2 venv.
2016-07-19 14:15:35 -07:00
Tim Abbott
139bca720d Upgrade ipython dependency versions. 2016-07-19 00:00:01 -07:00
Tim Abbott
ef4d11e906 Upgrade Python RSA module. 2016-07-19 00:00:01 -07:00
Tim Abbott
40371422cd Upgrade to typing 3.5.2.2. 2016-07-19 00:00:01 -07:00
Tim Abbott
fb86d91de2 Add missing django-statsd dependency.
This dependency is only needed if USING_STATSD is set, and so had
apparently been missed from our dependency list previously (since few
sites use that setting).
2016-07-18 11:01:13 -07:00
Eklavya Sharma
fb1d00fc6c Upgrade python-twitter to latest version.
Fixes #1145.
2016-07-17 10:23:25 -07:00
Alex Gaynor
a8a2e13096 Upgrade to the latest cryptography. 2016-07-15 12:25:48 -07:00
Eklavya Sharma
3894ea0e30 Upgrade mypy version. 2016-07-13 21:05:12 -07:00
Umair Khan
9f42fda7f4 Use stripped down version of Talon. 2016-07-13 11:24:18 -07:00
Umair Khan
f45848f62f Install mypy-lang as egg.
It seems that --install-option given in any pip requirement
pollutes the pollutes the global space and causes installation
of mypy-lang to give error.
2016-07-13 11:24:18 -07:00
Umair Khan
395e053ce3 Revert "Revert "Extract reply from email.""
This reverts commit f1ba3ded42.
2016-07-13 11:24:18 -07:00
Umair Khan
0aae0eab49 Switch to PyAPNS for sending push notifications.
Switch to [PyAPNS](https://github.com/djacobs/PyAPNs).

Fixes #538.
2016-07-13 10:55:07 -07:00
Tim Abbott
af8047967f Upgrade ujson to latest version (has indent option). 2016-07-12 22:39:06 -07:00
Tim Abbott
4f41aa0c0d Update ipython to version 5.0.0.
iPython 5.0.0 has awesome syntax highlighting.
2016-07-11 21:32:11 -07:00
Eklavya Sharma
f1ba3ded42 Revert "Extract reply from email."
This reverts commit f1f48f305e.

The use of sklearn unfortunately caused a substantial slowdown to the
Zulip provisioning process, which didn't seem worth it for a
relatively minor feature.
2016-07-10 11:30:30 -07:00
Umair Khan
043ae8ad65 Upgrade to Django-Pipeline==1.6.8. 2016-07-09 07:09:55 -07:00
Tim Abbott
d5be9e8b2d Upgrade django-auth-ldap to 1.2.8.
The new version is needed for Python 3 support.

Fixes #1175.
2016-07-08 11:08:08 -07:00
Umair Khan
f1f48f305e Extract reply from email. 2016-07-08 10:58:25 -07:00
Eklavya Sharma
52129c03c8 requirements/py3_common.txt: Add missing packages.
These packages are imported but not used during setup.  So it's
okay to include them even if zulip doesn't support them yet.
2016-07-08 11:38:57 +05:30
Eklavya Sharma
7daa40bf4f Add python3-specific requirements files. 2016-07-02 11:53:26 -07:00
Eklavya Sharma
fea6c56978 Move packages from prod.txt to py2_prod.txt. 2016-07-02 11:53:26 -07:00
Eklavya Sharma
bf345a0b30 Move packages from common.txt to py2_common.txt. 2016-07-02 11:53:26 -07:00
Eklavya Sharma
146dc310a7 Add python2-specific requirements files.
For now just make these files point to their non-specific
counterparts.
2016-07-02 11:53:26 -07:00
Eklavya Sharma
3177cee740 Upgrade pyflakes. 2016-07-02 08:01:53 +05:30
Eklavya Sharma
766e055229 Upgrade six. 2016-07-02 08:01:48 +05:30
Eklavya Sharma
61d052ae41 Upgrade mypy version. 2016-07-01 20:16:36 +05:30
Eklavya Sharma
bbd24168b6 requirements/prod.txt: Add netifaces, flup and python-dateutils.
netifaces is used in puppet/zulip_internal/files/zulip-ec2-configure-interfaces.
flup is used for fastcgi.
python-dateutils is used in some puppet scripts.
2016-06-27 19:12:32 -07:00
Tim Abbott
982cd5005b requirements: Remove duplicate coverage dependency. 2016-06-24 21:50:31 -07:00
Taranjeet
71c02c3391 Requirements: Add comments in common.txt.
Sourced primarily from puppet/zulip/manifests/app_frontend_base.pp.

[with some additions by tabbott]
2016-06-24 21:49:55 -07:00
Taranjeet
122fb8eb62 Requirements: Add comments in dev.txt. 2016-06-24 16:25:09 -07:00
Taranjeet
c52049a85b Requirements: Add comments in docs.txt. 2016-06-24 16:25:08 -07:00
Taranjeet
c5ceac9739 Requirements: Add comments in ipython.txt. 2016-06-24 16:24:05 -07:00
Taranjeet
c9720f9b74 Requirements: Add comments in moto.txt. 2016-06-24 16:24:03 -07:00
Eklavya Sharma
b30690e760 Move prod.txt to requirements/.
In 81ecfc5, prod.txt was unintentionally placed in Zulip's root directory
instead of requirements/.
2016-06-22 18:41:58 +05:30
Tim Abbott
2640cc44c7 Move coverage to dev requirements.txt. 2016-06-21 07:48:58 -07:00
Tim Abbott
5f958f46a5 Move pyflakes to dev requirements.txt. 2016-06-21 07:48:58 -07:00
Tim Abbott
1a876310bc Move ipython dependencies to their own requirements file. 2016-06-21 07:48:58 -07:00
Tim Abbott
09fcc079b4 Move moto dependencies to new requirements file. 2016-06-21 07:48:58 -07:00
Tim Abbott
fd1a134bef Move transifex dependencies to dev.txt. 2016-06-21 07:48:58 -07:00
Tim Abbott
b43bf10a93 Move recommonmark requirement to docs.txt. 2016-06-21 07:48:58 -07:00
Tim Abbott
7370fd69d7 Move doc building dependencies to requirements/docs.txt. 2016-06-20 16:05:42 -07:00
Eklavya Sharma
81ecfc5a43 Split requirements.txt into multiple files. 2016-06-20 11:09:20 -07:00
Tim Abbott
3899b4c913 Move py3k requirements to requirements/py3k.txt. 2016-06-18 16:41:40 -07:00
Tim Abbott
5c92639f81 Move mypy requirements to requirements/ directory. 2016-06-18 16:41:40 -07:00