Script to use Poetry as dependency manager

Hey guys!

I really wanted to use Poetry to manage dependencies in my Frappe app. So I created script that monkey-patches Bench in order to make it possible to do this.

It is pretty simple—on bench update and bench setup requirements Bench will also run poetry install for your apps that use Poetry.

Check it out on GitHub: https://github.com/vrslev/frappe-bench-poetry.

2 Likes

I also really wanted to use poetry for my apps, and since bench uses pip (python -m pip install), it’s supported out of the box
:heart: