Commit Graph

416 Commits

Author SHA1 Message Date
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