Replies: 1 comment
-
Hi @kurt-rhee, The error you shared looks like it's coming from uv, before even running the task. Normally Poe the Poet detects that you're using it within a uv project, and then runs tasks via [tool.poe.tasks.core]
cmd = " <task content does here> "
executor = { type = "simple" } However there's another surface level issue with your task definition which is that by default poe tasks run as subprocesses without a shell (unless your specify the shell task type), and there probably isn't an executable called To run a shell script as a task, you can do one of:
However it looks like maybe your script is actually intended for initializing the environment in your current shell? which isn't an ideal fit for a task runner (which in principle can't modify the parent shell). So you could approach this in one of two ways:
I haven't tested any of this but you get the idea. See docs on task dependencies |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a .sh file like so:
in
pyproject.toml
execution via poe
execution via
source _scripts/update_core.sh
everything works as expectedBeta Was this translation helpful? Give feedback.
All reactions