2017-05-12 02:30:38 +02:00
|
|
|
The dependency graph of the requirements is as follows:
|
|
|
|
|
|
|
|
```
|
2020-04-18 01:45:40 +02:00
|
|
|
dev +-> prod +-> common
|
|
|
|
+
|
|
|
|
|
|
2017-05-12 02:30:38 +02:00
|
|
|
v
|
2020-04-18 01:45:40 +02:00
|
|
|
mypy,docs,pip
|
2017-05-12 02:30:38 +02:00
|
|
|
```
|
|
|
|
|
2017-08-22 23:18:23 +02:00
|
|
|
Of the files, only dev, prod, and mypy have been used in the install
|
2017-08-09 09:45:00 +02:00
|
|
|
scripts directly. The rest are implicit dependencies.
|
2017-05-12 02:30:38 +02:00
|
|
|
|
2020-03-18 13:51:22 +01:00
|
|
|
Steps to update a lock file, e.g. to update ipython from 5.3.0 to latest version:
|
2020-04-18 01:45:40 +02:00
|
|
|
0. Remove entry for `ipython==5.4.1` in dev.txt.
|
2020-03-18 13:51:22 +01:00
|
|
|
1. Run `./tools/update-locked-requirements`, which will generate new entries, pinned to the latest version.
|
2017-08-30 00:45:33 +02:00
|
|
|
2. Increase `PROVISION_VERSION` in `version.py`.
|
2018-05-26 00:30:38 +02:00
|
|
|
3. Run `./tools/provision` to install the new deps and test them.
|
2017-08-30 00:45:33 +02:00
|
|
|
4. Commit your changes.
|