ParallelSSH/ssh2-python

Macos ARM architecture wheel

gersmann opened this issue · 8 comments

I noticed, that there doesn't seem to be a binary wheel for Macos M1 (ARM arch). I did run ci/osx-wheel.sh locally and build a wheel distribution. Could I somehow make that available to you, so that it can be included in the package?

Thanks for the interest.

Unless an ARM OSX target appears on CircleCI there isn't going to be an arm wheel published. While it's nice you can make one, it needs to be automated as part of the release to be of use, which means support on CircleCI.

Unlikely unless that architecture gets a lot more products.

Ah, yes. But would it be possible to create a universal binary, like that:

CMAKE_OSX_ARCHITECTURES=arm64;x86_64

That's for cross-compiling and would only work for cmake. The python wheel build does not use cmake, that's only for libssh2 itself.

Ah ok, thx.

@pkittenis thanks for the excellent lib, by the way, it's been a very nice upgrade from the previous library we've been using.

Have a look at the high level clients based on this library in parallel-ssh if you haven't already. This library is intentionally not high level.

didn't check out parallel-ssh, but ssh2-python does work well for us, especially some edge cases like 2FA (cert + password auth).