Releases: fatiando/dependente
Releases · fatiando/dependente
v0.3.0
What's Changed
- Refactor parsers and support pyproject-only projects (#8)
Full Changelog: v0.2.0...v0.3.0
v0.2.0
v0.1.0
Release date: 2022/01/06
🎊 🥂 First release of Dependente, a tool for inspecting Python package dependencies 🥂 🎊
This is a small command-line program for extracting dependencies from Python project files (pyproject.toml
and setup.cfg
) and converting them into requirements.txt
-type files for use with pip
and conda
.
The main reason to do so is to control and customize the testing environment on continuous integration (CI) while avoiding repeating the list of dependencies in multiple places. That's what we use it for.
As an example of current functionality, this how you'd parse the install (run-time) dependencies from setup.cfg
and pin them to their oldest supported version (useful for testing on CI):
$ dependente --oldest > requirements-oldest.txt
🚀 Extracting dependencies: install
🔎 Parsing setup.cfg
- 3 dependencies found
🕰 Pinning dependencies to their oldest versions
🖨 Printing 3 dependencies to the standard output stream
🥳 Done! 🥳
$ cat requirements-oldest.txt
# Install (run-time) dependencies from setup.cfg
click==8.0.0
rich==9.6.0
tomli==1.1.0