-
Notifications
You must be signed in to change notification settings - Fork 73
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
Make lib work with Mac 14.1 sonoma, apple silicone #207
Comments
This is the same issue I've experienced. |
On which Apple Clang version does this issue reproduce? Noticed that on Clang 14 "incompatible function pointer types initializing" produces a warning, while on Clang 15 - error |
I have the same issue...
|
My very quick patch. Will create PR when will have time, but since project has problems with management - doubt it will be merged soon. So this is a patch which solved the problem for me.
To make it work you will need to manually clone this repo, apply the patch and install.
|
I am trying to install this patch "compile_flag.patch" but as this is not available after cloning , its not installing this . |
Patch provided in the text form in my comment above. Please save it to some file on your machine and use the path to this saved file with git apply instead of "../compile_flag.patch" |
Steps to repro:
use this lib in requirements.txt
set up any env (via pycharm/command line/w.e.)
try to install this lib.
I did it via poetry install, but also followed every option from: https://ssh2-python.readthedocs.io/en/latest/installation.html#installation-from-source
Then, did the wheel command, adn got same result.
This is being hit on Mac Sonoma 14.1 Can replicate on more than one machine by teammates.
Also, tried many work arounds such as installing from source
Another thing I tried is changing the openssl version locally.
I tried installing with different cmake flags, that didn't help.
Then noticed the last release of this lib was 2022, so that explains the rootcause, being possible openssl missmatch, that I wasn't sure how to fix.
also tried installing with python 3.11, 3.12, there hit another issue: #193
Ultimately was not able to fix it at all, so had to deploy docker.
I’ve redacted some of the folder names, but that doesn’t matter.
The text was updated successfully, but these errors were encountered: