2017-05-12 02:30:38 +02:00
|
|
|
The dependency graph of the requirements is as follows:
|
|
|
|
|
|
|
|
```
|
2017-08-22 06:43:19 +02:00
|
|
|
dev prod
|
|
|
|
+ + +
|
|
|
|
| +->common<-+
|
2017-05-12 02:30:38 +02:00
|
|
|
v
|
2017-08-22 23:18:23 +02:00
|
|
|
mypy,docs
|
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
|
|
|
|
2017-08-22 06:33:16 +02:00
|
|
|
common and dev are locked.
|
2017-05-12 02:30:38 +02:00
|
|
|
|
|
|
|
Steps to update a lock file, e.g. to update ipython from 5.3.0 to 6.0.0 in
|
2017-11-17 02:41:06 +01:00
|
|
|
common.in and propagate it to dev.txt and prod.txt:
|
2018-05-26 00:30:38 +02:00
|
|
|
0. Replace `ipython==5.4.1` with `ipython==6.0.0` in common.in.
|
|
|
|
1. Run `./tools/update-locked-requirements`.
|
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.
|