Skip to content

python 3.10 crashes #336

Closed
Closed
@wynnw

Description

@wynnw

For general questions please use the mail group.

Describe the bug
A clear and concise description of what the bug is.
Using this python 3.10 crashes with:
ImportError: /lib/python3.10/site-packages/pssh/native/_ssh2.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send

To Reproduce

Steps to reproduce the behavior:

  1. Create a virtualenv with python3.10
  2. $ /bin/pip install parallel-ssh
  3. $ <venv/bin/python3.10 -c "from pssh.clients import ParallelSSHClient"

Expected behavior
Import should work

Actual behaviour
Crash!

Additional information
I get parallel-ssh 1.13.0 installed. It looks to be a common problem with the version of cython that was used to generate files and python 3.10. It still crashes if I install cython 0.29.27 into the venv and then run:
pip install --no-binary "parallel-ssh,ssh2-python" parallel-ssh==1.13.0

See
cython/cython#3876
for more discussion on the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions