-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
vscode testing extensions fails to discover tests in code_1.85.0-1701902998_amd64.deb #200543
Comments
I slove error when I upgrad form python 3.7 to python 3.9 |
Not in a position to change python version. Our modules depend upon this specific version only |
Encountered the same for
Could send more details, if/when someone picks that up for investigation. |
Same issue here on OSX Version: 1.85.0, It broke without any change in the code or settings |
Hello! For the python extension we follow python.org and their schedule on which version we support. Here is their supported versions, https://devguide.python.org/versions/, and 3.7 has reached end of life for support. This means new releases of our extension will be compatible back to 3.8 as of now. As a work around, you can pin the version of the python extension which still worked for you with 3.7. You can see in the release notes of v2023.18.0 we dropped Python 3.7 support https://github.com/microsoft/vscode-python/releases so the previous version might be the best version to pin. |
I'm facing this issue with python |
@alexsanjoseph could you send your logs? Also can you make sure that the python version you are using in this specific case is 3.11 in case you have a virtual environment or something else. |
Thanks @eleanorjboyd - I will create a fresh issue with reproducible examples |
@eleanorjboyd I've just created a dummy project with 1 test and |
@peacefulseeker it seems like the first mention of this used unittest not pytest which caused it to hit an issue at this file |
That's right @eleanorjboyd . My bad did not pay enough attention to the original context, although for pytest that errors looked quite similar. I can confirm, that with
The good news is that with |
this helped(at least for now) microsoft/vscode-python#22650 (comment) |
I had the same issue with Python 3.7.12 .
|
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
In output tab, the error shown is:
It was working file with code_1.84.2-1699528352_amd64. I uninstalled code_1.85.0-1701902998_amd64 after encountering the error and reinstalled code_1.84.2-1699528352_amd64 but the error still persists.
I was able to reproduce same error on multiple nodes on ssh and from a different VDI also.
Disabled all extensions except python, same error
Screenshots:
The text was updated successfully, but these errors were encountered: