Skip to content

Releases: fatiando/dependente

v0.3.0

06 Oct 23:50
00f67fc
Compare
Choose a tag to compare

What's Changed

  • Refactor parsers and support pyproject-only projects (#8)

Full Changelog: v0.2.0...v0.3.0

v0.2.0

10 Jan 13:57
Compare
Choose a tag to compare

What's Changed

  • Remove rich as a dependency by @leouieda in #6
  • Add note about being inspired by the MetPy GitHub Actions scripts
  • Add a basic changelog in a markdown file

Full Changelog: v0.1.0...v0.2.0

v0.1.0

06 Jan 16:14
Compare
Choose a tag to compare

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