Skip to content

v4 of action can no longer find Poetry after installation #85

@luketainton

Description

@luketainton

After the release of v4 my flows can no longer find Poetry:

creating virtual environment...
creating shared libraries...
upgrading shared libraries...
installing poetry...
⚠️  Note: '/root/.local/bin' is not on your PATH environment variable. These
    apps will not be globally accessible until your PATH is updated. Run `pipx
    ensurepath` to automatically add it, or manually modify your PATH in your
    shell's config file (i.e. ~/.bashrc).
done! ✨ 🌟 ✨
  installed package poetry 1.8.5, installed using Python 3.10.1[2](https://git.tainton.uk/public/webexmemebot/actions/runs/87#jobstep-4-2)
  These apps are now globally available
    - poetry
/var/run/act/workflow/4: line 2: poetry: command not found

I think to fix this we should still run pipx ensurepath.

(Running this in self-hosted Gitea Actions but it works just the same as GitHub Actions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions