-
Notifications
You must be signed in to change notification settings - Fork 553
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
On GitHub hosted runner: Unable to locate executable file: poetry
#765
Labels
bug
Something isn't working
Comments
Hello @mbrancato. It is an expected behaviour because the action uses poetry to get configuration. For now I'm going to close the issue. |
todofixthis
added a commit
to todofixthis/class-registry
that referenced
this issue
Nov 27, 2023
ryan-williams
added a commit
to runsascoded/parquet-tools
that referenced
this issue
Dec 31, 2023
See also: actions/setup-python#765
ktrueda
pushed a commit
to ktrueda/parquet-tools
that referenced
this issue
Jan 2, 2024
…to Python 3.11 (#50) * fix compression ratio when uncompressed_size == 0 * bump to python 3.11, update GHAs * GHA: cache poetry See also: actions/setup-python#765 * test_parquet util * add empty test0.parquet + `inspect` test * test name typo fix * loosen dep version pins
filip-zyzniewski
added a commit
to house-reliability-engineering/pulumi
that referenced
this issue
Jan 5, 2024
…xplicitly instead of using the caching feature of action/setup-python, as it needs to have the poetry binary in place: actions/setup-python#765 and I do not want to install poetry twice for two Python versions. This is to resolve https://github.com/house-reliability-engineering/pulumi/pull/1/checks#step:3:14 : ``` Error: Unable to locate executable file: poetry. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable. ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Poetry appears to be required prior to running
actions/setup-python
withcache: 'poetry'
set. This is on a GitHub hosted runner. I'm sure to fix this poetry needs to be installed before running this action. That said, I generally prefer to do that after installing Python. Also,actions/cache
against.venv
works fine withoutpoetry
being installed.Given the "advanced usage" shows installing poetry first, maybe listing that as a dependency is the fix here, however, I don't think
poetry
is actually needed unless the virtual env is going into a different location.setup-python/docs/advanced-usage.md
Lines 308 to 320 in b64ffca
full error:
Action version:
v4
The text was updated successfully, but these errors were encountered: