Commit Graph

287 Commits

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