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
pygit2.GitError: failed to parse supported auth schemes: The operation identifier is not valid. #1225
Comments
I have the same issue |
I worked around the problem recompiling libgit2 to use Schannel instead of WinHTTP and now it works. Sadly we have to patch it manually since there's no pygit2 distribution for windows with libgit2 compiled with Schannel. |
@accodev do you have an example of how you switch them over? |
The process is pretty straight forward, but I strongly advise against using this in production:
$ mkdir build && cd build
$ cmake .. -DUSE_HTTPS=Schannel
$ cmake --build . --config Release
$ cmake --install . --config Release --prefix /path/to/your/pygit2/installation You can either use |
I am trying to clone private github repository using pygit2 module but getting the below error.
Below is the source code I am using
I am using python 3.9 and have tried pygit2 version 1.10.1 and 1.12.0 and both are giving the same error.
Are there any changes made to the callbacks recently which is creating this issue?
The text was updated successfully, but these errors were encountered: