Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luketainton opened this issue Jan 2, 2025 · 0 comments · May be fixed by #87
Open

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

luketainton opened this issue Jan 2, 2025 · 0 comments · May be fixed by #87

Comments

@luketainton
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant