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

Poetry installation fails on PyPy jobs #41

Open
Diapolo10 opened this issue Oct 26, 2023 · 0 comments
Open

Poetry installation fails on PyPy jobs #41

Diapolo10 opened this issue Oct 26, 2023 · 0 comments

Comments

@Diapolo10
Copy link

I'm no entirely sure what happened, but it seems that about two weeks ago, Gr1N/setup-poetry@v8 stopped working with PyPy installations. It took me a while to notice because apparently I'd gotten it mixed up with another problem and didn't take a closer look until now.

As evidence, here's the GHA unit test runs of one of my projects; you can see that since 11th of October, it's given errors since: https://github.com/Diapolo10/iplib3/actions/workflows/unit_tests.yml

Here's the output from a debug mode run:

##[debug]Evaluating condition for step: 'Install Poetry'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Install Poetry
##[debug]Loading inputs
##[debug]Loading env
Run Gr1N/setup-poetry@v8
  with:
    poetry-preview: false
  env:
    TOXENV: pypy3
    pythonLocation: /opt/hostedtoolcache/PyPy/3.9.18/x64
    Python_ROOT_DIR: /opt/hostedtoolcache/PyPy/3.9.18/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/PyPy/3.9.18/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/PyPy/3.9.18/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/PyPy/3.9.18/x64/bin/lib/pkgconfig
##[debug]Downloading https://install.python-poetry.org/
##[debug]Destination /home/runner/work/_temp/0be649b9-1644-4d0e-ad35-a765fe59397a
##[debug]download complete
/opt/hostedtoolcache/PyPy/3.9.18/x64/bin/python /home/runner/work/_temp/0be649b9-1644-4d0e-ad35-a765fe59397a --yes
Retrieving Poetry metadata
/etc/ssl/certs/ca-certificates.crt /etc/ssl/certs

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.

Installing Poetry (1.6.1)
Installing Poetry (1.6.1): Creating environment
Installing Poetry (1.6.1): An error occurred. Removing partial environment.
Poetry installation failed.
See /home/runner/work/iplib3/iplib3/poetry-installer-error-p0nz16b3.log for error logs.
Error: The process '/opt/hostedtoolcache/PyPy/3.9.18/x64/bin/python' failed with exit code 127
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Install Poetry

I haven't been able to replicate this issue locally, and I can't tell what could've changed to result to this. I suppose not many people are using this with PyPy considering nobody else has mentioned similar issues lately.

Could someone else verify if the same happens to them?

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

No branches or pull requests

1 participant