zulip/requirements
Mateusz Mandera 78297efefd ldap: Use a workaround instead of forking django-auth-ldap.
Till now, we've been forking django-auth-ldap at
https://github.com/zulip/django-auth-ldap to put the
LDAPReverseEmailSearch feature in it, hoping to get it merged
upstream in https://github.com/django-auth-ldap/django-auth-ldap/pull/150

The efforts to get it merged have stalled for now however and we don't
want to be on the fork forever, so this commit puts the email search
feature as a clumsy workaround inside our codebase and switches to using
the latest upstream release instead of the fork.
2021-08-28 23:11:09 -07:00
..
README.md docs: Fix list item indentation mistakes. 2021-08-20 23:14:37 -07:00
common.in ldap: Use a workaround instead of forking django-auth-ldap. 2021-08-28 23:11:09 -07:00
dev.in tools: Add a tool to upload release tarballs to S3. 2021-08-26 17:21:31 -07:00
dev.txt ldap: Use a workaround instead of forking django-auth-ldap. 2021-08-28 23:11:09 -07:00
docs.in requirements: Upgrade Python requirements. 2021-08-24 07:51:48 -07:00
docs.txt requirements: Upgrade Python requirements. 2021-08-24 07:51:48 -07:00
mypy.in requirements: Upgrade Python requirements. 2021-08-24 07:51:48 -07:00
mypy.txt requirements: Upgrade Python requirements. 2021-08-24 07:51:48 -07:00
pip.in requirements: Upgrade Python requirements. 2021-05-07 22:42:39 -07:00
pip.txt requirements: Upgrade Python requirements. 2021-08-24 07:51:48 -07:00
prod.in requirements: Remove unnecessary version bounds from *.in. 2019-09-23 13:23:58 -07:00
prod.txt ldap: Use a workaround instead of forking django-auth-ldap. 2021-08-28 23:11:09 -07:00

README.md

The dependency graph of the requirements is as follows:

dev +-> prod +-> common
+
|
v
mypy,docs,pip

Of the files, only dev, prod, and mypy have been used in the install scripts directly. The rest are implicit dependencies.

Steps to update a lock file, e.g. to update ipython from 5.3.0 to latest version:

  1. Remove entry for ipython==5.3.0 in dev.txt.
  2. Run ./tools/update-locked-requirements, which will generate new entries, pinned to the latest version.
  3. Increase PROVISION_VERSION in version.py.
  4. Run ./tools/provision to install the new deps and test them.
  5. Commit your changes.