zulip/requirements
Anders Kaseorg efa8dd3a47 compilemessages: Sort language list with Unicode Collation Algorithm.
Right now the list of languages in Display settings → Default language
is sorted in an unintuitive order due to the varying case conventions:

British English
Chinese (Taiwan)
Deutsch
English
Hindi
Indonesian (Indonesia)
Lietuviškai
Magyar
Malayalam
Nederlands
Português
Română
Tiếng Việt
Türkçe
català
español
français
galego
italiano
polski
suomi
svenska
česky
Русский
Українська
български
српски
فارسی
தமிழ்
日本語
简体中文
繁體中文
한국어

Fix the sort to use the locale-independent Unicode Collation
Algorithm:

British English
català
česky
Chinese (Taiwan)
Deutsch
English
español
français
galego
Hindi
Indonesian (Indonesia)
italiano
Lietuviškai
Magyar
Malayalam
Nederlands
polski
Português
Română
suomi
svenska
Tiếng Việt
Türkçe
български
Русский
српски
Українська
فارسی
தமிழ்
한국어
日本語
简体中文
繁體中文

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-21 15:22:18 -07:00
..
README.md update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
common.in compilemessages: Sort language list with Unicode Collation Algorithm. 2020-10-21 15:22:18 -07:00
dev.in dependencies: Add dependency on pyre-check for running Pysa. 2020-09-22 15:44:47 -07:00
dev.txt compilemessages: Sort language list with Unicode Collation Algorithm. 2020-10-21 15:22:18 -07:00
docs.in docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
docs.txt requirements: Upgrade Python requirements. 2020-10-19 11:54:14 -07:00
mypy.in requirements: Upgrade Python requirements. 2020-10-19 11:54:14 -07:00
mypy.txt requirements: Upgrade Python requirements. 2020-09-13 20:59:09 -07:00
pip.in requirements: Upgrade Python requirements. 2020-09-13 20:59:09 -07:00
pip.txt requirements: Upgrade Python requirements. 2020-10-19 11:54:14 -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 compilemessages: Sort language list with Unicode Collation Algorithm. 2020-10-21 15:22:18 -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-10-19 11:54:14 -07:00
thumbor.in requirements: Upgrade Python requirements. 2020-10-19 11:54:14 -07:00
thumbor.txt requirements: Upgrade Python requirements. 2020-10-19 11:54:14 -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.