Commit Graph

878 Commits

Author SHA1 Message Date
Vishnu Ks ec5fad4cac requirements: Upgrade Sphinx to 1.7.6. 2018-07-30 10:06:23 -07:00
Vishnu Ks 46338f5418 requirements: Upgrade setuptools to 40.0.0. 2018-07-30 10:06:23 -07:00
Vishnu Ks 95c35e70d5 requirements: Upgrade Scrapy to 1.5.1. 2018-07-30 10:06:23 -07:00
Vishnu Ks ebad4d3aaa requirements: Upgrade python-twitter to 3.4.2.
Minor changes and cleanups.
2018-07-30 10:06:23 -07:00
Vishnu Ks 060ed8cb92 requirements: Upgrade pyasn1-modules to 0.2.2.
rfc2986 module added and some documentation changes.
2018-07-30 10:06:23 -07:00
Vishnu Ks dedb8735ec requirements: Upgrade pyasn1 to 0.4.4.
Two minor bug fixes.
2018-07-30 10:06:23 -07:00
Vishnu Ks 77f88ca0d7 requirements: Upgrade py3dns to 3.2.0.
A bunch of minor bug fixes.
2018-07-30 10:06:23 -07:00
Vishnu Ks d58cb80f9d requirements: Upgrade psycopg2 to 2.7.5.
Bunch of bug fixes.

* Allow non-ascii chars in namedtuple fields (regression
  introduced fixing ticket #211).
* Fixed adaptation of arrays of arrays of nulls (ticket #325).
* Fixed building on Solaris 11 and derivatives such as
  SmartOS and illumos (ticket #677).
* Maybe fixed building on MSYS2 (as reported in ticket #658).
* Allow string subclasses in connection and other places (ticket #679).
* Don’t raise an exception closing an unused named cursor (ticket #716).
* Wheel package compiled against PostgreSQL 10.4 libpq and OpenSSL 1.0.2o.
2018-07-30 10:06:23 -07:00
Vishnu Ks d144eac101 requirements: Upgrade pip to 18.0. 2018-07-30 10:06:23 -07:00
Vishnu Ks ba8dcbff0d requirements: Upgrade ndg-httpsclient to 0.5.1.
Some minor changes.
* Clean up handling for description file - pull in content
  from this file into setup()
* Allows the nightly build to fail
* Add Trove version classifiers to make it explicit what
  is supported
* Add python_requires to help pip
* Drop support for EOL Python 2.6 and 3.3
2018-07-30 10:06:23 -07:00
Vishnu Ks e466400799 requirements: Upgrade lxml to 4.2.3.
Only one bug fix -> Fix sporadic crash during
GC when parse-time schema validation is used.
2018-07-30 10:06:23 -07:00
Vishnu Ks be16e1e509 requirements: Upgrade ipython to 6.5.0.
No major changes. Miscellaneous bug fixes
and compatibility with Python 3.7.
2018-07-30 10:06:23 -07:00
Vishnu Ks c0bbea377d requirements: Upgrade httpretty to 0.9.5. 2018-07-30 10:06:23 -07:00
Vishnu Ks a8bd83cbd6 requirements: Upgrade alabaster to 0.7.11.
A bug fix and some new features like showing next
and previous links at the bottom and top of the
page content.
2018-07-30 10:06:23 -07:00
Vishnu Ks 0a3eba2c0a requirements: Upgrade google-api-python-client to 1.7.4.
Mostly cleanups. Also updated to catch ServerNotFoundError
and retry the request.
2018-07-30 10:06:23 -07:00
Vishnu Ks fbbd43719b requirements: Upgrade django to 1.11.14. 2018-07-30 10:06:23 -07:00
Vishnu Ks 9deae31b09 requirements: Upgrade disposable-email-domains to 0.0.30. 2018-07-30 10:06:23 -07:00
Vishnu Ks 96b9007aa8 requirements: Upgrade cryptography to 2.3.
Has a security fix involving finalize_with_tag
function.
2018-07-30 10:06:23 -07:00
Vishnu Ks 7e93df2262 requirements: Upgrade boto to 2.49.0.
Updated the CA Bundle as well as some bucket encryption fixes.
2018-07-30 10:06:23 -07:00
Rhea Parekh ddf011c915 requirements: Upgrade mypy to 0.620.
Fixes #9975.
2018-07-28 15:35:32 -07:00
Eeshan Garg 73e8daffbe pypi: Upgrade to release 0.5.2. 2018-07-27 00:11:52 -07:00
Anders Kaseorg f5d44e7355 Fork django-bitfield to save a few hundred ms of startup time
See #9953, https://github.com/zulip/django-bitfield/pull/1.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-18 15:24:15 -04:00
Aditya Bansal 0e50afb599 thumbor: Add ldap and django as a dependancy.
We add this dependancy to thumbor for no use other than making an
import possible in one of the upcoming commits. Basically we wanted to
import LOCAL_UPLOADS_DIR from zproject.prod_settings or
zproject.dev_settings and prod_settings_template.py imports
django-auth-ldap (which depends on python-ldap and django).

This seems counterproductive, but it makes it possible for us to save
significant thumbor server startup time that would have been consumed
in `get-django-setting`, and once thumbor supports Python 3, we'll
probably be merging the virtualenvs anyway (in which case this change
would become a no-op).
2018-07-15 00:03:21 +05:30
Tim Abbott 52f5d83c90 thumbor: Add libthumbor dependency.
We need this for signing thumbnail requests from within Zulip.
2018-07-14 21:46:02 +05:30
Eeshan Garg 3f40240017 pypi_packages: Upgrade to release 0.5.1. 2018-07-01 08:17:17 -07:00
Yago González 93e75b9c84 requirements: Upgrade yamole to 2.1.5. 2018-06-23 12:42:11 +02:00
Aditya Bansal 998fb038a9 django-pylibmc: Add dependancy and use as cache backend for memcached. 2018-06-16 05:24:19 -07:00
Eeshan Garg 4446b76427 pypi: Upgrade to release 0.5.0. 2018-06-07 08:31:21 -07:00
Tim Abbott d615e84421 requirements: Update thumbor dependencies. 2018-06-05 10:09:09 -07:00
Eeshan Garg 2d6d8fe5d8 zulip_bots: Upgrade to latest commit.
This upgrade fixes a dependency conflict between one of the bots
in zulip_bots and the main repo.
2018-06-04 16:20:00 -07:00
Eeshan Garg ea6a1750f5 pypi: Upgrade to release 0.4.7. 2018-06-04 11:48:36 -07:00
Yago González 9f98002b76 tests: Allow testing our REST API against the OpenAPI docs. 2018-06-01 12:03:31 -07:00
Vishnu Ks 97e143e987 requirements: Upgrade Django to 1.11.13. 2018-05-28 09:06:10 -07:00
Yago González 5a0911980e requirements: Add dependency for parsing OpenAPI-formatted YAML files. 2018-05-26 06:26:14 -07:00
Yago González 018442cae2 requirements: Improve README's format. 2018-05-26 06:26:14 -07:00
Vishnu Ks e458da5327 requirements: Upgrade PyJWT to 1.6.4. 2018-05-24 15:16:02 -07:00
Vishnu Ks 36cb395e2a requirements: Upgrade setuptools to 39.2.0. 2018-05-24 11:31:48 -07:00
Vishnu Ks 09970b3aea requirements: Upgrade stripe to 1.82.1. 2018-05-24 11:31:48 -07:00
Vishnu Ks e35cbb55c9 requirements: Upgrade twilio to 6.14.0. 2018-05-24 11:31:48 -07:00
Vishnu Ks 1d1b6b29fc requirements: Upgrade pytz to 2018.4. 2018-05-24 11:31:47 -07:00
Vishnu Ks 54a002c2e2 requirements: Upgrade pyflakes to 2.0.0.
We fix a few errors that only the new version finds.
2018-05-24 11:31:36 -07:00
Vishnu Ks 1ef994c992 requirements: Upgrade pyasn1 to 0.4.3. 2018-05-24 23:53:49 +05:30
Vishnu Ks e380dd50f2 requirements: Upgrade oauthlib to 2.1.0. 2018-05-24 23:53:49 +05:30
Vishnu Ks 04e9a30351 requirements: Upgrade ipython to 6.4.0. 2018-05-24 23:53:49 +05:30
Vishnu Ks 0dd8521e75 requirements: Upgrade disposable-email-domains to 0.0.28. 2018-05-24 23:53:49 +05:30
Vishnu Ks ff99fd0348 requirements: Upgrade apns to 0.4.1. 2018-05-24 23:53:49 +05:30
Umair Khan f38d6ac6fe ldap: Make Zulip compatible with django-auth-ldap==1.5.
In version 1.5, get_or_create_user method is not used. It exists just
for the compatibility. The main function to use now is
get_or_build_user.

See the changelog:
https://django-auth-ldap.readthedocs.io/en/latest/changes.html#id1

Fixes #9307
2018-05-22 08:13:41 -07:00
Michael J. Sullivan fe9e017406 mypy: Update mypy to a version from master.
We want to be able to take advantage of some new features added
to dmypy.
2018-05-21 22:41:05 -07:00
Tim Abbott 2cc5d2d398 requirements: Add httpretty to dependencies.
We'll be using this for a range of testing mocks in our auth code.
2018-05-20 23:31:36 -07:00
Tim Abbott f5ea661c1f tools: Upgrade pycodestyle.
We have to add a few rules that we're ignoring for now.
2018-05-14 06:15:13 -07:00
neiljp (Neil Pilgrim) 202063e030 requirements: Upgrade mypy to 0.600. 2018-05-06 20:55:21 -07:00
Vishnu Ks 606d73751a requirements: Upgrade setuptools to 39.1.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks fb0e054d7c requirements: Upgrade stripe to 1.80.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks e6ce781006 requirements: Upgrade sphinx-rtd-theme to 0.3.1. 2018-05-03 20:39:56 -07:00
Vishnu Ks dcf7a14ba7 requirements: Upgrade Twisted to 18.4.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks 0988232725 requirements: Upgrade twilio to 6.13.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks 94d58cb545 requirements: Upgrade SQLAlchemy to 1.2.7. 2018-05-03 20:39:56 -07:00
Vishnu Ks 1eaaecb69a requirements: Upgrade Sphinx to 1.7.4. 2018-05-03 20:39:56 -07:00
Vishnu Ks 27193b0ecc requirements: Upgrade premailer to 3.2.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks a1821fd27d requirements: Upgrade pip-tools to 2.0.2. 2018-05-03 20:39:56 -07:00
Vishnu Ks bf610f6570 requirements: Upgrade Pillow to 5.1.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks 0e9fda033a requirements: Upgrade ndg-httpsclient to 0.5.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks 8182a3bf4c requirements: Upgrade moto to 1.3.3. 2018-05-03 20:39:56 -07:00
Vishnu Ks 440d458313 requirements: Upgrade ipython to 6.3.1. 2018-05-03 20:39:56 -07:00
Vishnu Ks 1b0c647ded requirements: Upgrade google-api-python-client to 1.6.7. 2018-05-03 20:39:56 -07:00
Vishnu Ks 0542af1ec2 requirements: Upgrade gitlint to 0.10.0. 2018-05-03 20:39:56 -07:00
Vishnu Ks bb5dabb33c requirements: Upgrade disposable-email-domains to 0.0.26. 2018-05-03 20:39:56 -07:00
Vishnu Ks 69fe367771 requirements: Upgrade certifi to 2018.1.18. 2018-05-03 20:39:56 -07:00
Eeshan Garg 7d14ce2cb6 pypi packaging: Upgrade to release 0.4.6.
As a part of the upgrade, we had to update our API tests in
zerver/lib/api_test_helpers.
2018-04-27 14:50:25 -07:00
neiljp (Neil Pilgrim) f5ec2639b7 requirements: Update mypy to 0.590. 2018-04-25 08:58:55 -07:00
Eeshan Garg 1e217ed4e4 pypi: Upgrade to release 0.4.5. 2018-04-23 15:20:02 -07:00
Tim Abbott 310b451dc2 Revert "requirements: Use pypi versions of zulip and zulip_bots."
This reverts commit 6b142b35e6.
2018-04-16 16:39:01 -07:00
Tim Abbott 6b142b35e6 requirements: Use pypi versions of zulip and zulip_bots. 2018-04-16 16:14:43 -07:00
Eeshan Garg 6782f2b76a pypi: Upgrade to release 0.4.4.
This is the latest release after pip 10 was launched.
2018-04-16 16:04:46 -07:00
Vishnu Ks 132754f2ef requirements: Downgrade pika to 0.11.0.
Downgrading as issue #8466 is not fixed yet.
2018-04-11 09:31:10 -07:00
Eeshan Garg 96e01c0d27 pypi: Upgrade to release 0.4.3. 2018-04-03 18:11:25 -07:00
sinwar a66a15a519 requirements: Upgrade pyldap to latest version.
The pyldap fork was merged back into python-ldap, and released as
python-ldap 3.0.0; `pyldap` is now just a wrapper package that depends
on python-ldap.

Fixes #8912.
2018-04-03 09:33:44 -07:00
Vishnu Ks c473ce0919 requirements: Upgrade Django to 1.11.11. 2018-04-02 09:29:12 -07:00
Vishnu Ks bdf6e08fc0 requirements: Upgrade python-twitter to 3.4.1. 2018-04-02 09:29:12 -07:00
Vishnu Ks 9e7a8d1603 requirements: Upgrade lxml to 4.2.1. 2018-04-01 14:24:00 -07:00
Vishnu Ks 03475362c4 requirements: Upgrade cryptography to 2.2.2. 2018-04-01 14:24:00 -07:00
Vishnu Ks 082f8bb682 requirements: Upgrade cffi to 1.11.5. 2018-04-01 14:24:00 -07:00
Vishnu Ks 47f79a0bf0 requirements: Upgrade stripe to 1.79.1. 2018-04-01 14:24:00 -07:00
Vishnu Ks 211826a0d8 requirements: Upgrade twilio to 6.11.0. 2018-04-01 14:24:00 -07:00
Vishnu Ks 94c107747f requirements: Upgrade SQLAlchemy to 1.2.6. 2018-04-01 14:24:00 -07:00
Vishnu Ks ab81d8361e requirements: Upgrade Sphinx to 1.7.2. 2018-04-01 14:24:00 -07:00
Vishnu Ks 0cba334b6c requirements: Upgrade setuptools to 39.0.1. 2018-04-01 14:24:00 -07:00
Vishnu Ks dda3aad198 requirements: Upgrade PyJWT to 1.6.1. 2018-04-01 14:23:55 -07:00
Vishnu Ks eb109c620b requirements: Upgrade pip to 9.0.3. 2018-04-01 14:23:55 -07:00
Vishnu Ks 685ae4050f requirements: Upgrade pika to 0.11.2. 2018-04-01 14:23:55 -07:00
Vishnu Ks 82c1c86707 requirements: Upgrade oauthlib to 2.0.7. 2018-04-01 14:23:55 -07:00
Vishnu Ks d17f9d3f09 requirements: Upgrade moto to 1.3.1. 2018-04-01 14:23:55 -07:00
Vishnu Ks eeb454df31 requirements: Upgrade imagesize to 1.0.0. 2018-04-01 14:23:55 -07:00
Vishnu Ks c046451fbc requirements: Upgrade httplib2 to 0.11.3. 2018-04-01 14:23:55 -07:00
Vishnu Ks 47afc015b3 requirements: Upgrade google-api-python-client to 1.6.6. 2018-04-01 14:23:55 -07:00
Vishnu Ks 64e6db5b88 requirements: Upgrade django-webpack-loader to 0.6.0. 2018-04-01 14:23:55 -07:00
Vishnu Ks 46ed1b3d78 requirements: Upgrade disposable-email-domains to 0.0.23. 2018-04-01 14:10:43 -07:00
Eeshan Garg 87cc548e30 pypa: Upgrade to release 0.4.2. 2018-03-31 15:49:07 -07:00
neiljp (Neil Pilgrim) 9a6e84a1c3 requirements: Upgrade mypy to 0.580. 2018-03-25 10:17:47 -07:00
Vishnu Ks 41f8618c04 email: Use PyPi module for disposable email providers list. 2018-03-11 21:48:56 -07:00
neiljp (Neil Pilgrim) aa465a6710 requirements: Upgrade mypy to 0.570.
Fixes #8582.
2018-03-10 10:04:14 -08:00
Robert Hönig 194b2fd8c0 Upgrade the zulip_bots dependency to python-zulip-api:192e9e1.
192e9e1 introduces bot-specific validate_config()
methods that are used in subsequent commits.
2018-03-08 15:05:38 -08:00
Tim Abbott 11b31b3584 requirements: Update uwsgi to the latest version.
Apparently, older uwsgi doesn't install properly on systems with newer
versions of OpenSSL; see https://github.com/unbit/uwsgi/issues/1395
for details.

This fixes #7609.
2018-03-06 13:14:26 -08:00
Eeshan Garg 5af55d7845 requirements: Upgrade to virtualenv-clone 0.3.0. 2018-03-03 15:24:18 -08:00
Tim Abbott 68664acf1f requirements: Update sqlalchemy to 1.2.4.
This requires updating one of the tests for the group_pm_with feature
in test_narrow to use the new style of tautology generated by SQLAlchemy.

Thanks to Sinwar for investigating this.

Fixes #8381.
2018-02-26 21:32:27 -08:00
Umair Khan db1e090c6a django-auth-ldap: Bump version to 1.3.0.
The name of _get_user_attrs was changed to attrs in
152d40a2a0

Fixes #8380
2018-02-22 05:39:04 -08:00
Vishnu Ks 7d3b41b039 requirements: Upgrade psycopg2 to 2.7.3.4.
psycopg2 package contains both binary and source
currently.The binary would soon be only available
in psycopg2-binary. So currently installing psycopg2
will show a warning about the future migration of binary.
To avoid the warning we should only install the source.

https://www.postgresql.org/message-id/CA%2Bmi_8bd6kJHL
TGkuyHSnqcgDrJ1uHgQWvXCKQFD3tPQBUa2Bw%40mail.gmail.com
2018-02-21 13:14:59 -08:00
Tim Abbott 6479f32c7c dependencies: Downgrade pika to avoid constantly logged errors.
With the new pika 0.11.2, we got a lot of errors from pika on
chat.zulip.org.  See #8466 for details.
2018-02-20 14:03:07 -08:00
Aditya Bansal dedef11fe5 thumbor: Upgrade thumbor to v6.4.1. 2018-02-21 01:00:40 +05:30
Aditya Bansal efe8545303 local-uploads: Start running authentication checks on file requests.
From here on we start to authenticate uploaded file request before
serving this files in production. This involves allowing NGINX to
pass on these file requests to Django for authentication and then
serve these files by making use on internal redirect requests having
x-accel-redirect field. The redirection on requests and loading
of x-accel-redirect param is handled by django-sendfile.

NOTE: This commit starts to authenticate these requests for Zulip
servers running platforms either Ubuntu Xenial (16.04) or above.

Fixes: #320 and #291 partially.
2018-02-16 05:06:37 +05:30
Vishnu Ks a1db814e4e requirements: Upgrade python-digital-ocean to 1.13.2. 2018-02-14 09:44:26 -08:00
Vishnu Ks caaa7d1b82 requirements: Upgrade ndg-httpsclient to 0.4.4. 2018-02-14 09:44:26 -08:00
Vishnu Ks 18436c100a requirements: Upgrade google-api-python-client to 1.6.5. 2018-02-14 09:44:25 -08:00
Vishnu Ks f93f1972e9 requirements: Upgrade certifi to 2018.1.18. 2018-02-14 09:41:49 -08:00
Vishnu Ks 026d835d3a requirements: Upgrade twilio to two. 2018-02-14 09:41:49 -08:00
Vishnu Ks 88e73c9677 requirements: Upgrade transifex-client to 0.12.5. 2018-02-14 09:41:49 -08:00
Vishnu Ks adac6c0cf2 requirements: Upgrade tornado to 4.5.3. 2018-02-14 09:41:49 -08:00
Vishnu Ks 9effe27eab requirements: Upgrade typing to 3.6.4. 2018-02-14 09:41:49 -08:00
Vishnu Ks 3f3f876187 requirements: Upgrade stripe to 1.77.2. 2018-02-14 09:41:49 -08:00
Vishnu Ks 416338c9b6 requirements: Upgrade Sphinx to 1.7.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 351f780ab2 requirements: Upgrade Scrapy to 1.5.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 48f93a7460 requirements: Upgrade pytz to 2018.3. 2018-02-14 09:41:49 -08:00
Vishnu Ks 0aa6f00cf2 requirements: Upgrade pyasn1 to pyasn1-modules. 2018-02-14 09:41:49 -08:00
Vishnu Ks f1098a77f2 requirements: Upgrade polib to 1.1.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks ab7695879a requirements: Upgrade pip-tools to 1.11.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 2b081f882a requirements: Upgrade Pillow to 5.0.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 0e2058ae48 requirements: Upgrade pika to 0.11.2. 2018-02-14 09:41:49 -08:00
Vishnu Ks 31abe1a6f8 requirements: Upgrade moto to 1.2.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 3780b8ce04 requirements: Upgrade Markdown to 2.6.11. 2018-02-14 09:41:49 -08:00
Vishnu Ks 6ca3f72e6e requirements: Upgrade lxml to 4.1.1. 2018-02-14 09:41:49 -08:00
Vishnu Ks 617549fec5 requirements: Upgrade Jinja2 to 2.10. 2018-02-14 09:41:49 -08:00
Vishnu Ks 151702d7c1 requirements: Upgrade isort to 4.3.4. 2018-02-14 09:41:49 -08:00
Vishnu Ks 51577b788a requirements: Upgrade html2text to 2018.1.9. 2018-02-14 09:41:49 -08:00
Vishnu Ks 66e34be480 requirements: Upgrade gitlint to 0.9.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 449c1d5064 requirements: Upgrade django-two-factor-auth to 1.7.0. 2018-02-14 09:41:49 -08:00
Vishnu Ks 2b0099f696 requirements: Upgrade django-pipeline to 1.6.14. 2018-02-14 09:41:49 -08:00
Vishnu Ks 7a8b174a01 requirements: Upgrade cryptography to 2.1.4. 2018-02-14 09:41:49 -08:00
Vishnu Ks 1b8ca55dd2 requirements: Upgrade cffi to 1.11.4. 2018-02-14 09:41:49 -08:00
Vishnu Ks d8eb4a115c requirements: Upgrade Babel to 2.5.3. 2018-02-14 09:41:49 -08:00
Vishnu Ks 9b93e8cba8 requirements: Upgrade argon2-cffi to 18.1.0. 2018-02-14 09:41:49 -08:00
Eeshan Garg d7903d25e9 pypi_packages: Upgrade to release 0.4.1. 2018-02-07 09:52:51 -08:00
rht f190888dfb django-2.0: Bump social auth version to 2.1.0. 2018-01-30 10:53:54 -08:00
Greg Price 455b77225f requirements: Note one requirement as needed only for zilencer.
Otherwise it's potentially puzzling why this is there, for an admin
looking at a normal install without zilencer.
2018-01-17 16:44:04 -08:00
Vishnu Ks 167a712922 requirements: Include stripe in common.in. 2018-01-17 16:12:32 -08:00
Eeshan Garg 30795c864d python-zulip-api: Upgrade to release 0.4.0. 2018-01-07 09:52:13 -05:00
neiljp (Neil Pilgrim) 25d5a2ee1c requirements: Upgrade mypy to 0.560.
Fixes #7835.
2017-12-20 18:09:36 -08:00
Eeshan Garg 61089a9349 python-zulip-api: Upgrade to package release 0.3.9. 2017-11-28 22:16:43 -08:00
Tim Abbott b42ce65090 requirements: Add dependencies for two-factor auth.
We're not yet ready to add 2FA to Zulip yet, but we've determined we'd
like to work from these libraries.

I'm not bothering to bump PROVISION_VERSION for this, since we're
likely to do something else that bumps it soon, and we're not merging
anything that uses these new libraries.
2017-11-28 15:13:38 -08:00
Eeshan Garg c45517f544 python-zulip-api: Upgrade to PyPI package release 0.3.8.
There's one migration required by this release:

* queue_processors: Stop passing state_handler to handle_message.

  state_handler is now a property of bot_handler and thus, does
  not need to be passed to bot_handler.handle_message().

  The commit responsible is:
  2a74ad11c5
2017-11-27 20:31:37 -08:00
Rhea Parekh 84847b811b requirements: Upgrade mypy to 0.550.
We have to add a few type: ignores due to mypy 0.550 having some bugs
in the new imaplib stubs in typeshed.

Fixes #7387.
2017-11-25 10:06:27 -08:00
rht e169bb0954 zerver: Remove simplejson dependency.
Modified by tabbott to put the third-party code in a new file.

Fixes #6970.
2017-11-21 21:51:48 -08:00
Tim Abbott 6981ac3d2f requirements: Add back explicit typing dependencies.
These are needed to make the output the same on Trusty and Xenial.
2017-11-20 13:47:16 -08:00
Harshit Bansal e75f0c1ee4 requirements: Rename requirements files.
This commit renames various source requirements files like `dev.txt`,
`mypy.txt` etc to `dev.in`, `mypy.in` etc and various locked requirements
files like `dev_lock.txt`, `mypy_lock.txt` etc to `dev.txt`, `mypy.txt`
etc. This will help in emphasizing to the user that *.in are actually
input to `update-locked-requirements` tool which should be run after
updating any of these.
2017-11-21 02:38:26 +05:30
Harshit Bansal 95b3f2e745 requirements: Add mypy.txt and docs.txt to locked requirements framework. 2017-11-21 02:38:26 +05:30
Tim Abbott 1b28ddd8a7 requirements: Update to new pyoembed release.
This should mean we no longer need to maintain a fork.
2017-11-17 11:03:08 -08:00
Aditya Bansal dd037df2c4 thumbor: Add dependencies and virtualenv setup script.
In this commit we add new dependencies needed for running thumbor.
Also we add the script for creating the virtual environment ready
for thumbor.
Note: Thumbor will use python2 and thus have different virtualenv
dedicated to it.
Credits to @TigorC and @joshland as well for there work on this.
2017-11-16 22:38:29 -08:00
Eeshan Garg ae6d30b60e requirements: Upgrade to fakeldap 0.6.1.
Tweaked by tabbott to remove the unnecessary GitHub indirection.
2017-11-16 15:23:44 -08:00
Tim Abbott d2d1459a6a requirements: Add isort development dependency. 2017-11-14 12:10:48 -08:00
Harshit Bansal e062b244b4 requirements: Remove unused `diff-match-patch` package.
This package was used for generating diffs for message edits. But
we have now switched to `lxml` for producing diffs so this is no
longer required.
2017-11-10 10:19:32 -08:00
derAnfaenger 19bc55aa45 Fix various typos.
The typos and their corrections were found with the
aid of https://github.com/lucasdemarchi/codespell.
2017-11-09 16:26:38 +01:00
Rishi Gupta dec4b9ed93 remote dev: Add code and instructions for creating digital ocean droplets.
Mostly copied from the zulip/zulip-gci repository, but with some changes to
wordings and code cleanup for linters.
2017-11-06 12:20:39 -08:00
Rishi Gupta b31af80c5f requirements: Update comments output by update-locked-requirements.
I just ran tools/update-locked-requirements and commited the changes.
2017-11-06 12:20:39 -08:00
Tim Abbott bfa148ab39 requirements: Update mypy to latest version.
This involves fixing the mypy annotations in one file
2017-10-27 17:05:52 -07:00
Vishnu Ks e102c42e0f requirements: Upgrade moto to 1.1.24. 2017-10-27 16:56:15 -07:00
Vishnu Ks 43dd26cf08 requirements: Upgrade Twisted to 17.9.0. 2017-10-27 16:56:15 -07:00
Vishnu Ks ea58830673 requirements: Upgrade Sphinx to 1.6.5. 2017-10-27 16:56:15 -07:00
Vishnu Ks cd90e1a3ad requirements: Upgrade six to 1.11.0. 2017-10-27 16:56:15 -07:00
Vishnu Ks f5f94bddda requirements: Upgrade setuptools to 36.6.0. 2017-10-27 16:56:15 -07:00
Vishnu Ks 5c51d19194 requirements: Upgrade pyasn1 and pyasn1-modules. 2017-10-27 16:56:15 -07:00
Vishnu Ks c04cde6e96 requirements: Upgrade psycopg2 to 2.7.3.2. 2017-10-27 16:56:15 -07:00
Vishnu Ks 0291214e0b requirements: Upgrade pip-tools to 1.10.1. 2017-10-27 16:56:15 -07:00
Vishnu Ks e1aabfceca requirements: Upgrade Pillow to 4.3.0. 2017-10-27 16:56:15 -07:00
Vishnu Ks 7fc2e1ad0e requirements: Upgrade oauthlib to 2.0.6. 2017-10-27 16:56:15 -07:00
Vishnu Ks c535816dea requirements: Upgrade lxml to 4.1.0. 2017-10-27 16:56:15 -07:00
Vishnu Ks 308212c80b requirements: Upgrade ipython to 6.2.1. 2017-10-27 16:56:15 -07:00
Vishnu Ks db0cd705d7 requirements: Upgrade html2text to 2017.10.4. 2017-10-27 16:56:15 -07:00
Vishnu Ks e96611ad1d requirements: Upgrade google-api-python-client to 1.6.4. 2017-10-27 16:56:15 -07:00
Vishnu Ks cd064475a7 requirements: Upgrade django-auth-ldap to 1.2.16. 2017-10-27 16:56:15 -07:00
Vishnu Ks 0140a347dc requirements: Upgrade django to 1.11.6. 2017-10-27 16:56:15 -07:00
Vishnu Ks 00331ad84e requirements: Upgrade cryptography to 2.1.2. 2017-10-27 16:56:15 -07:00
Vishnu Ks 92f482a142 requirements: Upgrade cffi to 1.11.2. 2017-10-27 16:56:15 -07:00
Vishnu Ks af4185e1fe requirements: Add simplejson.
simplejson is still used in home.py
2017-10-27 16:56:15 -07:00
Tim Abbott 3abe92fc39 requirements: Update version of pyombed to fork with bs4 bug fixed.
This fixes an annoying warning message that was printed in our tests.
2017-10-27 16:55:27 -07:00
Tim Abbott 095a3ecbdd requirements: Fix missing simplejson dependency. 2017-10-27 16:54:01 -07:00
Eeshan Garg 0600646fbf python-zulip-api: Upgrade to latest release (0.3.5 -> 0.3.7). 2017-10-21 06:08:40 -07:00
Umair Khan 8edba8c73a common.txt: Delete patched Django comment. 2017-10-18 21:53:09 -07:00
Eeshan Garg 48be9e3e44 packages: Upgrade Zulip API packages (0.3.4 -> 0.3.5). 2017-10-09 11:40:36 -07:00
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