-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Python Test spawning infinite Pipenv processes #24654
Comments
This seems like something might be broken with the |
I've ran the activation scripts from an external terminal (Gnome Ptyxis): $ pipenv shell # from the project folder
$ source /home/rodrigocaus/.local/share/virtualenvs/suggestion-service-9KXSQYLP/bin/activate
$ . /home/rodrigocaus/.local/share/virtualenvs/suggestion-service-9KXSQYLP/bin/activate
$ bash -c ". /home/rodrigocaus/.local/share/virtualenvs/suggestion-service-9KXSQYLP/bin/activate" They all worked without any problems. |
I've set the Python extension log level to
This is the first time I received the Running the same command:
on an external terminal work just fine. |
Type: Bug
Behaviour
On Python test discovery, several instances of Pipenv are spawned, looking like a nested sequence of fork calls. Closing the VSCode session does not solve.
Here is a print-screen of the Process Explorer:
The root command is:
As a result of this, the computer's memory usage is exceeded and completely freezes my computer, requiring a restart. Several calls to
pkill -9 pipenv
could prevent the freezing if the problem is previously detected.Steps to reproduce:
Testing
badgeRefresh Tests
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.22.0
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Linux x64 6.12.5-200.fc41.x86_64
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
The text was updated successfully, but these errors were encountered: