-
Notifications
You must be signed in to change notification settings - Fork 212
git_client is not found in v7_0 #453
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
Comments
Same issue spotted by me: File "/home/vsts/.local/lib/python3.10/site-packages/azure/devops/released/client_factory.py", line 135, in get_git_client Seems like you missed to create the module git_client.py into the v7_0 of the git client, I found it when comparing with v6_0 |
Seeing the same problem. Looks like git_client.py was deleted as part of v5.1 cleanup, but now missing and causing errors. |
Also have problem with this. Looks like |
I have created a PR to fix it. But it is waiting for approval. |
Thanks for reporting, investigating |
This should be fixed in 7.1.0b2, the source we generate from is setup to generate git_client_base, previous maintainer created the git_client manually as it is more intuitive I wasn't aware of that so didn't include this file. Added it back in. |
@nechvatalp I'm no longer seeing ModuleNotFoundError when calling get_git_client() after #457, however, I'm now seeing DeserializationError when calling get_commits().
It doesn't look like ChangeCountDictionary is defined in models.py? |
Yes, issue was indeed with the ChangeCountDictionary I updated the models, @brbeec could you check if the issue is resolved for you in 7.1.0b3? |
Our script is working again with 7.1.0b3. Thanks for the quick turnaround! |
No module named 'azure.devops.v7_0.git.git_client' when trying to use get_git_client()
The text was updated successfully, but these errors were encountered: