Open
Description
Background
Currently, the Runtime uses a custom dependency management solution that works something like this:
- Update a
requirements/*.in
file:main.in
for production dependencies anddev.in
for development dependencies - Run the command
$ make update-deps
, which — under the hood — runs these commands, which update themain.txt
anddev.txt
files
Lines 6 to 16 in f0e8096
- Run the command
$ make init
, which — under the hood — runs these commands, which install the packages listed inmain.txt
anddev.txt
into the current Python environment
Pros:
- It is already implemented
- (Add yours here...)
Cons:
- People sometimes forget step 2
- (Add yours here...)
Proposal
Switch to using Poetry.
If the Runtime used Poetry, the above process would become:
- Update the
pyproject.toml
file (there are different sections of the file for production versus development dependencies) - Run
$ poetry install
to install the packages listed in the file — this will generate apoetry.lock
file if one doesn't already exist (commit this file to the repo once it exists)
Metadata
Metadata
Assignees
Type
Projects
Status
Front of house
Status
No status