zulip/requirements
Dinesh c15d7e3202 requirements: Update social-auth-core to latest version.
Uses git release as this version 3.4.0 is not released to pypi.
This is required for removing some overriden functions of
apple auth backend class AppleAuthBackend.

With the update we also make following changes:

* Fix full name being populated as "None None".
c5c74f27dd that's included in update assigns first_name and last_name
to None when no name is provided by apple. Due to this our
code is filling return_data['full_name'] to 'None None'.
This commit fixes it by making first and last name strings empty.

* Remove decode_id_token override.
Python social auth merged the PR we sent including the changes
we made to decode_id_token function. So, now there is no
necessity for the override.

* Add _AUDIENCE setting in computed_settings.py.
`decode_id_token` is dependent on this setting.
2020-07-28 17:12:49 -07:00
..
README.md update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
common.in requirements: Update social-auth-core to latest version. 2020-07-28 17:12:49 -07:00
dev.in requirements: Upgrade zulint. 2020-07-14 00:41:20 -07:00
dev.txt requirements: Update social-auth-core to latest version. 2020-07-28 17:12:49 -07:00
docs.in docs: Upgrade recommonmark to 0.6.0, fixing issues. 2019-10-02 12:29:24 -07:00
docs.txt requirements: Upgrade Python requirements. 2020-07-10 00:14:43 -07:00
mypy.in mypy: Upgrade from 0.730 to 0.740. 2019-11-13 12:38:45 -08:00
mypy.txt requirements: Upgrade Python requirements. 2020-06-25 13:14:37 -07:00
pip.in requirements: Generate pip.txt from pip.in like the other *.txt files. 2019-09-23 13:23:58 -07:00
pip.txt requirements: Upgrade Python requirements. 2020-07-03 19:47:18 -07:00
pip2.in update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
prod.in requirements: Remove unnecessary version bounds from *.in. 2019-09-23 13:23:58 -07:00
prod.txt requirements: Update social-auth-core to latest version. 2020-07-28 17:12:49 -07:00
thumbor-dev.in requirements: Upgrade Thumbor to 7.0.0a5 on Python 3. 2020-07-06 16:09:53 -07:00
thumbor-dev.txt requirements: Upgrade Python requirements. 2020-07-10 00:14:43 -07:00
thumbor.in requirements: Upgrade Python requirements. 2020-07-10 00:14:43 -07:00
thumbor.txt requirements: Upgrade Python requirements. 2020-07-10 00:14:43 -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: 0. Remove entry for ipython==5.4.1 in dev.txt.

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