Skip to content

subprocess.Popen issues with pypy actions #784

@olliemath

Description

@olliemath

Description:

Calling import venv; venv.create("venv", with_pip=True) fails for the pypy actions, but not for cpython or for manually (via apt) installed pypy binaries.

Specifically the subprocess.Popen step of that command fails (although it succeeds outside of the venv

Action version:
v5

Platform:

  • Ubuntu

Runner type:

  • Hosted

Tools version:
pypy 3.9 and 3.10

Repro steps:

See the yaml in this repo: https://github.com/olliemath/actions-example/blob/main/.github/workflows/ci.yml

Here is an example of the passing/failing jobs: https://github.com/olliemath/actions-example/actions/runs/7349327941

Expected behavior:

Expected the subprocess.Popen command to work as expected during the "ensurepip" phase of venv creation.

Actual behavior:

The subprocess.Popen exits with status code 127

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions