Why use poethepoet instead of devbox scripts? #2450
Replies: 1 comment 3 replies
-
| Thanks for the praise! ❤️ I'm glad you like our DX! 🎉 We've been using Poe the Poet for quite a while, predating our adoption of Devbox. When migrating from pure Nix to Devbox, task management simply remained with Poe the Poet for no better reason than minimizing the migration effort. Thinking about it some more, although the Devbox dev environment is the preferred one, not all contributors may want to install Devbox, so Poe the Poet allows running some tasks that also work without a Devbox installation, e.g. That said, I don't have strong feelings towards Poe the Poet. 😄 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! 👋
First off, I really love how this project is structured, the dev environment setup with Devbox is super clean and makes it really easy to get started.
I noticed the project uses both Devbox for environment management and poethepoet for task running. I was curious: have you considered using the scripts section in devbox.json instead of poe?
Something like:
{ "shell": { "scripts": { "test": "pytest", "docs": "mkdocs serve", "lint": "pre-commit run --all-files" } } }Then running tasks with
devbox run testinstead ofpoe test.I know devbox scripts have some limitations compared to poe (no built-in help messages, less flexible argument handling, no direct Python function calls, etc.), so I'm guessing there's a good reason for the current setup. Just curious about the thinking behind it!
Thanks for maintaining such a great project.
Beta Was this translation helpful? Give feedback.
All reactions