I'm using your extension with https://github.com/DonJayamanne/pythonVSCode
I have an issue regarding Python Test lens, your extension removes it from my Visual Studio Code.
I'm unable to use both extensions in the same workspace.
When I disable GitLens extension Python Test lens are working properly.
Screenshots


@mklemarczyk which version of vscode are you running? Is this with a particular file or all python files? Do you have a public repo that reproduces this issue?
@eamodio I running the current version of vscode
|Extension|Author|Version|
|---|---|---|
|githistory|donjayamanne|0.2.0|
|python|donjayamanne|0.6.0|
|gitlens|eamodio|3.2.1|
|csharp|ms-vscode|1.8.1|
|PowerShell|ms-vscode|0.12.2|;
@mklemarczyk thanks for the vscode info. Can you also provide information on the other questions above? I'm unsure how GitLens could conflict with other extensions CodeLens. If you open up the developer tools do you see any errors in the console when this happens?
No errors in console. I can provide you a workspace.
repo.zip
@mklemarczyk thanks -- I'll take a look
This issue is the same as reported here -- https://github.com/DonJayamanne/pythonVSCode/issues/553. I've also added a comment to that effect here -- https://github.com/DonJayamanne/pythonVSCode/issues/865#issuecomment-294079568
👍 Thank you for solving problem
Hi all,
I hit this issue again after updating GitLens to 8.5.6 (8.5.4 works fine)
And VSCode debug console get warning message: 'Git extension API method getGitPath is deprecated'
My environment:
@GasparCheng so with everything the same, if you uninstall GitLens 8.5.6 and install 8.5.4 everything works, and then switching to 8.5.6 breaks things?
I have been having the same issue as @GasparCheng, python test lens does not work with git lens installed, I tried switching to 8.5.4 version of git lens, didnt work either. I commented two days ago about having this problem but figured it was a problem with vscode rather than git lens and deleted it.
My environment:
@GasparCheng so with everything the same, if you uninstall GitLens 8.5.6 and install 8.5.4 everything works, and then switching to 8.5.6 breaks things?
Same issue with latest VS Code and GitLens 8.5.4 and 8.5.6
Same issue with latest VS Code and GitLens 8.5.4 and 8.5.6
Got solution with disabled Gitlens › Code Lens › Authors: Enabled and Gitlens › Code Lens › Recent Change: Enabled settings
I am having the same issue, with the latest updates of Visual Studio Code, Pytest and GitLens. The only way for me to get the python unittest lens to work again is to deactivate GitLens as @develbro mentioned.
Recently pytest and vs-code were fixing the python unittest lens, probably their solution didn't take into account working with GitLens.
https://github.com/Microsoft/vscode-python/issues/2347
https://github.com/Microsoft/vscode-python/issues/2663
I am also facing this issue with GitLens 9.2.3, python 3.6.5, pytest 4.0.2 and VSCode 1.30.1
There is a newer and opened issue #529 on the same problem. I can confirm that it affects me.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.