Improve requirements management.
Description
Improve requirement file management, by introducing new tools, and including none-frozen (requirements..in) and frozen (requirements..txt) requirements.
Workflow
requirements.*.in
file
Creating a frozen requirements list from a ./manage-deps lock requirement.*.in
requirements.*.txt
files, including requirements.txt
.
Try to upgrade every package in all locked ./manage-deps upgrade-all
Lock the main requirements.in file
./manage-deps lock
Note
For the Gitlab CI, and development purposes, the unlocked requirements.*.in
are used. The requirements.txt
are only for production purposes.
Changes
- Add requirement.*.in files.
- Freeze requirements in requirements.*.txt
- Manage requirements with
pip-compile
, with a new dependencypip-tools
- Add
manage-deps
a script that allows for simple upgrade/locking of dependencies.
TODO
-
Add shell script for easy management.
Closes #197 (closed)
Edited by Arber X