Skip to content
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

Virtual environment not activated in new terminal for Zsh #22881

Closed
JoelFeiner-viimed opened this issue Feb 8, 2024 · 37 comments · Fixed by #22891
Closed

Virtual environment not activated in new terminal for Zsh #22881

JoelFeiner-viimed opened this issue Feb 8, 2024 · 37 comments · Fixed by #22891
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug experimenting Feature is part of an experiment needs PR Ready to be worked on regression Bug didn't exist in a previous release triage-needed Needs assignment to the proper sub-team

Comments

@JoelFeiner-viimed
Copy link

JoelFeiner-viimed commented Feb 8, 2024

Type: Bug

Behaviour

Expected vs. Actual

Terminal should run .../bin/activate as first command when opened, but no longer does and virtual environment is not actually active in terminal.

Steps to reproduce:

  1. Open workspace where virtualenv/pipenv is to be used.
  2. Open new terminal.
  3. Terminal automatically runs .../bin/activate command for environment (this no longer happens)

Screenshot from 2024-02-08 10-57-27

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.11.4
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): PipEnv
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

2024-02-08 11:27:51.655 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 11:27:51.655 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:27:51.655 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:02.455 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:02.465 [debug] Clearing context for python dependencies not installed: <redacted>
2024-02-08 11:28:02.466 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:04.061 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 11:28:04.062 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:11.072 [debug] Clearing context for python dependencies not installed: <redacted>
2024-02-08 11:28:11.072 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.424 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-08 11:28:23.424 [info] Experiment 'pythonTestAdapter' is active
2024-02-08 11:28:23.424 [debug] Getting roots
2024-02-08 11:28:23.424 [debug] Getting roots
2024-02-08 11:28:23.424 [debug] Getting roots
2024-02-08 11:28:23.424 [debug] Found roots
2024-02-08 11:28:23.424 [debug] Start watching file for changes /home/joel/.conda/environments.txt
2024-02-08 11:28:23.424 [debug] Start watching: /home/joel/.conda with pattern environments.txt using VSCode API
2024-02-08 11:28:23.424 [debug] Found roots
2024-02-08 11:28:23.424 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern */bin/python using VSCode API
2024-02-08 11:28:23.424 [debug] Found roots
2024-02-08 11:28:23.424 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-08 11:28:23.424 [debug] Start watching:<redacted> with pattern */bin/python using VSCode API
2024-02-08 11:28:23.505 [info] Default formatter is set to null for workspace <redacted>
2024-02-08 11:28:23.505 [info] Default formatter is set to null for workspace <redacted>
2024-02-08 11:28:23.511 [debug] Waiting for test server to start...
2024-02-08 11:28:23.517 [info] Test server listening.
2024-02-08 11:28:23.517 [debug] Test server started.
2024-02-08 11:28:23.517 [debug] Testing: Setting up watcher for <redacted>
2024-02-08 11:28:23.517 [debug] Testing: Setting up watcher for <redacted>
2024-02-08 11:28:23.519 [debug] Needed to validate /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python with latest info
2024-02-08 11:28:23.519 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.520 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.532 [debug] Needed to validate /bin/python3 with latest info
2024-02-08 11:28:23.541 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.541 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:23.815 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-08 11:28:23.816 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-08 11:28:24.555 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-08 11:28:24.555 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.566 [debug] Dump environment variables {
    "CHROME_DESKTOP": "code-url-handler.desktop",
    "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
    "DESKTOP_SESSION": "ubuntu",
    "DISPLAY": ":0",
    "GDK_BACKEND": "wayland",
    "GDMSESSION": "ubuntu",
    "GIO_LAUNCHED_DESKTOP_FILE": "/home/joel/.local/share/applications/code.desktop",
    "GIO_LAUNCHED_DESKTOP_FILE_PID": "130373",
    "GJS_DEBUG_OUTPUT": "stderr",
    "GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
    "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
    "GNOME_SETUP_DISPLAY": ":1",
    "GNOME_SHELL_SESSION_MODE": "ubuntu",
    "GTK_MODULES": "gail:atk-bridge",
    "HOME": "/home/joel",
    "INVOCATION_ID": "177034eca7944e68992ae8c8b4252a24",
    "JOURNAL_STREAM": "8:43484",
    "LANG": "en_US.UTF-8",
    "LANGUAGE": "en",
    "LC_ADDRESS": "en_US.UTF-8",
    "LC_IDENTIFICATION": "en_US.UTF-8",
    "LC_MEASUREMENT": "en_US.UTF-8",
    "LC_MONETARY": "en_US.UTF-8",
    "LC_NAME": "en_US.UTF-8",
    "LC_NUMERIC": "en_US.UTF-8",
    "LC_PAPER": "en_US.UTF-8",
    "LC_TELEPHONE": "en_US.UTF-8",
    "LC_TIME": "en_US.UTF-8",
    "LESS": "-R -FRXK",
    "LOGNAME": "joel",
    "LSCOLORS": "Gxfxcxdxbxegedabagacad",
    "MANAGERPID": "3232",
    "NVM_BIN": "/home/joel/.nvm/versions/node/v16.20.0/bin",
    "NVM_CD_FLAGS": "-q",
    "NVM_DIR": "/home/joel/.nvm",
    "NVM_INC": "/home/joel/.nvm/versions/node/v16.20.0/include/node",
    "OLDPWD": "/home/joel",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "ubuntu:GNOME",
    "P9K_SSH": "0",
    "PAGER": "less",
    "PAPERSIZE": "letter",
    "PWD": "/home/joel",
    "PYENV_ROOT": "/home/joel/.pyenv",
    "PYENV_SHELL": "zsh",
    "QT_ACCESSIBILITY": "1",
    "QT_IM_MODULE": "ibus",
    "SESSION_MANAGER": "<redacted>",
    "SHELL": "/bin/zsh",
    "SHLVL": "0",
    "SSH_AGENT_LAUNCHER": "openssh",
    "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
    "SYSTEMD_EXEC_PID": "3473",
    "USER": "joel",
    "USERNAME": "joel",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CODE_CACHE_PATH": "/home/joel/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/home/joel",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/run/user/1000/vscode-8635d590-1.86-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"en\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "130373",
    "WAYLAND_DISPLAY": "wayland-0",
    "XAUTHORITY": "/run/user/1000/.mutter-Xwaylandauth.K02QI2",
    "XDG_ACTIVATION_TOKEN": "<redacted>",
    "XDG_CURRENT_DESKTOP": "Unity",
    "XDG_DATA_DIRS": "/usr/local/share/:/usr/share/:/var/lib/snapd/desktop",
    "XDG_MENU_PREFIX": "gnome-",
    "XDG_RUNTIME_DIR": "/run/user/1000",
    "XDG_SESSION_CLASS": "user",
    "XDG_SESSION_DESKTOP": "ubuntu",
    "XDG_SESSION_TYPE": "wayland",
    "XMODIFIERS": "@im=ibus",
    "ZSH": "/home/joel/.oh-my-zsh",
    "_": "/usr/share/code/code",
    "ELECTRON_RUN_AS_NODE": "1",
    "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
    "PATH": "/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin"
}
2024-02-08 11:28:24.602 [debug] Delay Trigger[Test Configuration Change]: triggered=4, called=1
2024-02-08 11:28:24.616 [debug] Activation Commands received source /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/activate for shell /usr/bin/zsh, resource /home/joel/viimed/sites/reporting/edge and interpreter /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.616 [debug] Activating Environment to capture Environment variables, . /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariables.py
2024-02-08 11:28:24.616 [info] > . ~/.local/share/virtualenvs/edge-K9fIdVPi/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariables.py
2024-02-08 11:28:24.616 [info] shell: zsh
2024-02-08 11:28:24.644 [debug] Activated environment variables for /home/joel/viimed/sites/reporting/edge {
  CHROME_DESKTOP: 'code-url-handler.desktop',
  DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
  DESKTOP_SESSION: 'ubuntu',
  DISPLAY: ':0',
  GDK_BACKEND: 'wayland',
  GDMSESSION: 'ubuntu',
  GIO_LAUNCHED_DESKTOP_FILE: '/home/joel/.local/share/applications/code.desktop',
  GIO_LAUNCHED_DESKTOP_FILE_PID: '130373',
  GJS_DEBUG_OUTPUT: 'stderr',
  GJS_DEBUG_TOPICS: 'JS ERROR;JS LOG',
  GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated',
  GNOME_SETUP_DISPLAY: ':1',
  GNOME_SHELL_SESSION_MODE: 'ubuntu',
  GTK_MODULES: 'gail:atk-bridge',
  HOME: '/home/joel',
  INVOCATION_ID: '177034eca7944e68992ae8c8b4252a24',
  JOURNAL_STREAM: '8:43484',
  LANG: 'en_US.UTF-8',
  LANGUAGE: 'en',
  LC_ADDRESS: 'en_US.UTF-8',
  LC_IDENTIFICATION: 'en_US.UTF-8',
  LC_MEASUREMENT: 'en_US.UTF-8',
  LC_MONETARY: 'en_US.UTF-8',
  LC_NAME: 'en_US.UTF-8',
  LC_NUMERIC: 'en_US.UTF-8',
  LC_PAPER: 'en_US.UTF-8',
  LC_TELEPHONE: 'en_US.UTF-8',
  LC_TIME: 'en_US.UTF-8',
  LESS: '-R -FRXK',
  LOGNAME: 'joel',
  LSCOLORS: 'Gxfxcxdxbxegedabagacad',
  MANAGERPID: '3232',
  NVM_BIN: '/home/joel/.nvm/versions/node/v16.20.0/bin',
  NVM_CD_FLAGS: '-q',
  NVM_DIR: '/home/joel/.nvm',
  NVM_INC: '/home/joel/.nvm/versions/node/v16.20.0/include/node',
  OLDPWD: '/home/joel',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'ubuntu:GNOME',
  P9K_SSH: '0',
  PAGER: 'less',
  PAPERSIZE: 'letter',
  PWD: '/home/joel',
  PYENV_ROOT: '/home/joel/.pyenv',
  PYENV_SHELL: 'zsh',
  QT_ACCESSIBILITY: '1',
  QT_IM_MODULE: 'ibus',
  SESSION_MANAGER: '<redacted>',
  SHELL: '/bin/zsh',
  SHLVL: '0',
  SSH_AGENT_LAUNCHER: 'openssh',
  SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh',
  SYSTEMD_EXEC_PID: '3473',
  USER: 'joel',
  USERNAME: 'joel',
  VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
  VSCODE_CODE_CACHE_PATH: '/home/joel/.config/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937',
  VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
  VSCODE_CWD: '/home/joel',
  VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
  VSCODE_IPC_HOOK: '/run/user/1000/vscode-8635d590-1.86-main.sock',
  VSCODE_NLS_CONFIG: '{"locale":"en-us","osLocale":"en","availableLanguages":{},"_languagePackSupport":true}',
  VSCODE_PID: '130373',
  WAYLAND_DISPLAY: 'wayland-0',
  XAUTHORITY: '/run/user/1000/.mutter-Xwaylandauth.K02QI2',
  XDG_ACTIVATION_TOKEN: '<redacted>',
  XDG_CURRENT_DESKTOP: 'Unity',
  XDG_DATA_DIRS: '/usr/local/share/:/usr/share/:/var/lib/snapd/desktop',
  XDG_MENU_PREFIX: 'gnome-',
  XDG_RUNTIME_DIR: '/run/user/1000',
  XDG_SESSION_CLASS: 'user',
  XDG_SESSION_DESKTOP: 'ubuntu',
  XDG_SESSION_TYPE: 'wayland',
  XMODIFIERS: '@im=ibus',
  ZSH: '/home/joel/.oh-my-zsh',
  _: '/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python',
  ELECTRON_RUN_AS_NODE: '1',
  APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: '1',
  PATH: '/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin',
  PYTHONUNBUFFERED: '1',
  PYTHONIOENCODING: 'utf-8',
  VIRTUAL_ENV: '/home/joel/.local/share/virtualenvs/edge-K9fIdVPi',
  PS1: '(edge) '
}
2024-02-08 11:28:24.650 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariables.py
2024-02-08 11:28:24.650 [info] shell: zsh
2024-02-08 11:28:24.678 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.678 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.679 [debug] Prepending environment variable PATH in collection with /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin:
2024-02-08 11:28:24.679 [debug] Setting environment variable VIRTUAL_ENV in collection to /home/joel/.local/share/virtualenvs/edge-K9fIdVPi
2024-02-08 11:28:24.679 [debug] Prepending environment variable PS1 in collection with (edge-K9fIdVPi) 
2024-02-08 11:28:24.679 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.679 [debug] PS1 is not set when shell integration is disabled.
2024-02-08 11:28:24.679 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10391007/pythonFiles/deactivate/zsh/envVars.txt
2024-02-08 11:28:24.693 [debug] Time taken to get env vars using terminal is 14ms
2024-02-08 11:28:24.741 [info] Starting Pylance language server.
2024-02-08 11:28:24.742 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.767 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.768 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.778 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.779 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:24.809 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.809 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 11:28:24.810 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:24.810 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:24.811 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.822 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.823 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:24.823 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-08 11:28:24.824 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-08 11:28:24.824 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python"}
2024-02-08 11:28:27.192 [debug] Clearing context for python dependencies not installed: /home/joel/viimed/sites/reporting/edge/bi/management/commands/bi.py
2024-02-08 11:28:29.508 [debug] Terminal shell path '/usr/bin/zsh' identified as shell 'zsh'
2024-02-08 11:28:29.508 [debug] Shell identified as zsh 
2024-02-08 11:28:29.508 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:31.664 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 11:28:31.665 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python
2024-02-08 11:28:31.665 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python

User Settings

User: ``` "python.venvPath": "~/.pyenv", "python.analysis.autoFormatStrings": true, "python.analysis.autoImportCompletions": true, "python.analysis.logLevel": "Trace", "python.analysis.userFileIndexingLimit": 2500, ```

Workspace:

        "python.analysis.exclude": [
        ...
        ],
        "python.defaultInterpreterPath": "/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/python",
        "python.envFile": "${workspaceFolder}/edge/.env",
        "python.pipenvPath": "/home/joel/.local/share/virtualenvs/edge-K9fIdVPi/bin/pipenv",
        "python.terminal.activateEnvInCurrentTerminal": true

Extension version: 2024.1.10391007
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:27:46.147Z)
OS version: Linux x64 6.5.0-15-generic
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-1265U (12 x 3730)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
Load (avg) 1, 1, 1
Memory (System) 31.01GB (20.56GB free)
Process Argv --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --unity-launch --crash-reporter-id 98758e18-3450-461d-b249-7ef8ad9f8b40
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30959800
dsvsc019b:30953937
8082a590:30958339
3ef8e399:30949928

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 8, 2024
@karrtikr karrtikr added the experimenting Feature is part of an experiment label Feb 8, 2024
@MicaelJarniac
Copy link

MicaelJarniac commented Feb 8, 2024

I'm having the same issue with Zsh and Zsh for Humans. It used to work before, but yesterday I noticed it stopped working. If I switch my terminal to Bash it works again, so I'm guessing this has to do with Zsh or Zsh for Humans.

Logs

Python

2024-02-08 16:18:27.488 [debug] Clearing context for python dependencies not installed: /home/micael/projects/playground/settings.py
2024-02-08 16:18:27.489 [debug] Found cached env for /home/micael/projects/playground/.venv/bin/python
2024-02-08 16:18:28.818 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-08 16:18:28.818 [debug] Found cached env for /home/micael/projects/playground/.venv/bin/python

@Scarfmonster

This comment was marked as resolved.

@karrtikr karrtikr changed the title Virtual environment not activated in new terminal Virtual environment not activated in new terminal for Zsh Feb 9, 2024
@karrtikr

This comment was marked as resolved.

@karrtikr
Copy link

karrtikr commented Feb 9, 2024

@JoelFeiner-viimed @MicaelJarniac Can you try the latest release version of the extension and see if it helps?

image

A fix was recently merged in yesterday: #22872, and I wonder if that is the cause due to which pre-release is not working.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 9, 2024
@matt-hires
Copy link

@karrtikr It did on my side, virtual environment is now activated automatically in zsh.

@karrtikr
Copy link

karrtikr commented Feb 9, 2024

Fantastic, we'll work on publishing a fix right away.

@karrtikr karrtikr added this to the February 2024 milestone Feb 9, 2024
@karrtikr karrtikr added bug Issue identified by VS Code Team member as probable bug area-terminal regression Bug didn't exist in a previous release needs PR Ready to be worked on and removed info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team labels Feb 9, 2024
@norambna

This comment was marked as resolved.

@karrtikr

This comment was marked as resolved.

@norambna

This comment was marked as resolved.

karrtikr pushed a commit that referenced this issue Feb 10, 2024
Closes #22881

If status changes, re-run activation. Also persist once we know shell
integration works for a shell.
@karrtikr karrtikr reopened this Feb 10, 2024
@karrtikr karrtikr added the triage-needed Needs assignment to the proper sub-team label Feb 10, 2024
@karrtikr karrtikr removed this from the February 2024 milestone Feb 10, 2024
@karrtikr
Copy link

@norambna Thanks for trying it out, could you please provide the debug logs?

  • Run Developer: Set log level command
  • Select Trace
  • Run Developer: Reload Window command
  • Provide the output:
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

@karrtikr
Copy link

Also, it does not seem to be the latest pre-release, can you try reloading VS Code?
image

@karrtikr
Copy link

Lastly, can you also provide the following #22900 (comment)? This would help in opening the issue on VS Code's end.

@JoelFeiner-viimed
Copy link
Author

JoelFeiner-viimed commented Feb 13, 2024

Upgraded to absolute latest pre-release and reloaded. Here are the trace-level logs:

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

2024-02-13 09:58:21.264 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 09:58:21.264 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 09:58:21.264 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 09:58:21.264 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 09:58:21.264 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 09:58:21.264 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 09:58:21.264 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 09:58:21.264 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 09:58:21.264 [info] Test server listening.
2024-02-13 09:58:21.264 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 09:58:22.260 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 09:58:22.343 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10431006/pythonFiles/printEnvVariables.py
2024-02-13 09:58:22.343 [info] shell: zsh
2024-02-13 09:58:22.396 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10431006/pythonFiles/printEnvVariables.py
2024-02-13 09:58:22.396 [info] shell: zsh
2024-02-13 09:58:22.883 [info] Starting Pylance language server.
2024-02-13 09:58:25.308 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10431006/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10431006/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:00:12.837 [info] Starting Pylance language server.
2024-02-13 10:00:12.952 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10431006/pythonFiles/printEnvVariables.py
2024-02-13 10:00:12.952 [info] shell: zsh
2024-02-13 10:04:36.902 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:05:01.955 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:09:41.377 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 10:09:41.377 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 10:09:41.377 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 10:09:41.377 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 10:09:41.377 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 10:09:41.377 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 10:09:41.415 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:09:41.415 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:09:41.429 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:09:41.449 [info] Test server listening.
2024-02-13 10:09:42.500 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 10:09:42.538 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10441005/pythonFiles/printEnvVariables.py
2024-02-13 10:09:42.538 [info] shell: zsh
2024-02-13 10:09:42.569 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10441005/pythonFiles/printEnvVariables.py
2024-02-13 10:09:42.569 [info] shell: zsh
2024-02-13 10:09:42.782 [info] Starting Pylance language server.
2024-02-13 10:09:45.063 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441005/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441005/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:10:50.124 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 10:10:50.124 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 10:10:50.124 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 10:10:50.124 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 10:10:50.124 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 10:10:50.124 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 10:10:50.150 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:10:50.151 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:10:50.169 [info] Test server listening.
2024-02-13 10:10:50.170 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:10:51.214 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 10:10:51.264 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:10:51.264 [info] shell: zsh
2024-02-13 10:10:51.302 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:10:51.302 [info] shell: zsh
2024-02-13 10:10:51.499 [info] Starting Pylance language server.
2024-02-13 10:10:53.779 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:13:08.612 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 10:13:08.612 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 10:13:08.612 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 10:13:08.612 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 10:13:08.612 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 10:13:08.612 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 10:13:08.612 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:13:08.612 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:13:08.614 [info] Test server listening.
2024-02-13 10:13:08.618 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:13:09.634 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 10:13:09.657 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:13:09.657 [info] shell: zsh
2024-02-13 10:13:09.690 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:13:09.690 [info] shell: zsh
2024-02-13 10:13:09.790 [info] Starting Pylance language server.
2024-02-13 10:13:12.393 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:18:48.966 [info] Discover tests for workspace name: undefined - uri: /home/joel/.config/Code/User/settings.json
2024-02-13 10:21:45.330 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 10:21:45.330 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 10:21:45.330 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 10:21:45.330 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 10:21:45.330 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 10:21:45.330 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 10:21:45.330 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:21:45.330 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:21:45.332 [info] Test server listening.
2024-02-13 10:21:45.337 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:21:46.358 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 10:21:46.367 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:21:46.367 [info] shell: zsh
2024-02-13 10:21:46.394 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:21:46.394 [info] shell: zsh
2024-02-13 10:21:46.539 [info] Starting Pylance language server.
2024-02-13 10:21:49.146 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:27:08.783 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:27:14.798 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:40:48.906 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:41:46.456 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:41:53.904 [info] Discover tests for workspace name: edge - uri: <redacted>
2024-02-13 10:46:05.531 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 10:46:05.531 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 10:46:05.531 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 10:46:05.531 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 10:46:05.531 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 10:46:05.531 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 10:46:05.531 [debug] Getting roots
2024-02-13 10:46:05.531 [debug] Getting roots
2024-02-13 10:46:05.531 [debug] Getting roots
2024-02-13 10:46:05.531 [debug] Found roots
2024-02-13 10:46:05.531 [debug] Start watching file for changes /home/joel/.conda/environments.txt
2024-02-13 10:46:05.531 [debug] Start watching: /home/joel/.conda with pattern environments.txt using VSCode API
2024-02-13 10:46:05.531 [debug] Found roots
2024-02-13 10:46:05.531 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-13 10:46:05.531 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-13 10:46:05.531 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-13 10:46:05.531 [debug] Start watching: <redacted> with pattern */bin/python using VSCode API
2024-02-13 10:46:05.531 [debug] Found roots
2024-02-13 10:46:05.531 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-13 10:46:05.531 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-13 10:46:05.531 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-13 10:46:05.531 [debug] Start watching: <redacted> with pattern */bin/python using VSCode API
2024-02-13 10:46:05.572 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:46:05.572 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:46:05.580 [debug] Waiting for test server to start...
2024-02-13 10:46:05.595 [info] Test server listening.
2024-02-13 10:46:05.595 [debug] Test server started.
2024-02-13 10:46:05.595 [debug] Testing: Setting up watcher for <redacted>
2024-02-13 10:46:05.595 [debug] Testing: Setting up watcher for <redacted>
2024-02-13 10:46:05.656 [debug] Needed to validate /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python with latest info
2024-02-13 10:46:05.657 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:05.657 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
<redacted terminal content from previous session>
2024-02-13 10:46:05.685 [debug] Needed to validate /bin/python3 with latest info
2024-02-13 10:46:05.694 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:05.694 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:06.107 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-13 10:46:06.109 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-13 10:46:06.544 [debug] �[1m�[7m%�[27m�[1m�[0m                                                                               
 
�]2;joel@<redacted>:~/<redacted>��]1;..<redacted>��]7;file://<redacted><redacted>�\
2024-02-13 10:46:06.717 [debug] Did we determine shell integration to be working for zsh ? false
2024-02-13 10:46:06.718 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 10:46:06.718 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:06.734 [debug] Dump environment variables {
    "CHROME_DESKTOP": "code-url-handler.desktop",
    "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
    "DESKTOP_SESSION": "ubuntu",
    "DISPLAY": ":0",
    "EDGE_PRIVATE_KEY": "id_ed25519",
    "GDK_BACKEND": "wayland",
    "GDMSESSION": "ubuntu",
    "GIO_LAUNCHED_DESKTOP_FILE": "/home/joel/.local/share/applications/code.desktop",
    "GIO_LAUNCHED_DESKTOP_FILE_PID": "4974",
    "GJS_DEBUG_OUTPUT": "stderr",
    "GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
    "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
    "GNOME_SETUP_DISPLAY": ":1",
    "GNOME_SHELL_SESSION_MODE": "ubuntu",
    "GTK_MODULES": "gail:atk-bridge",
    "HOME": "/home/joel",
    "INVOCATION_ID": "11171667bed9497e968c503f3ee7763d",
    "JOURNAL_STREAM": "8:43340",
    "LANG": "en_US.UTF-8",
    "LANGUAGE": "en",
    "LC_ADDRESS": "en_US.UTF-8",
    "LC_IDENTIFICATION": "en_US.UTF-8",
    "LC_MEASUREMENT": "en_US.UTF-8",
    "LC_MONETARY": "en_US.UTF-8",
    "LC_NAME": "en_US.UTF-8",
    "LC_NUMERIC": "en_US.UTF-8",
    "LC_PAPER": "en_US.UTF-8",
    "LC_TELEPHONE": "en_US.UTF-8",
    "LC_TIME": "en_US.UTF-8",
    "LESS": "-R -FRXK",
    "LOGNAME": "joel",
    "LSCOLORS": "Gxfxcxdxbxegedabagacad",
    "MANAGERPID": "2978",
    "NVM_BIN": "/home/joel/.nvm/versions/node/v16.20.0/bin",
    "NVM_CD_FLAGS": "-q",
    "NVM_DIR": "/home/joel/.nvm",
    "NVM_INC": "/home/joel/.nvm/versions/node/v16.20.0/include/node",
    "OLDPWD": "/home/joel",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "ubuntu:GNOME",
    "P9K_SSH": "0",
    "PAGER": "less",
    "PAPERSIZE": "letter",
    "PWD": "/home/joel",
    "PYENV_ROOT": "/home/joel/.pyenv",
    "PYENV_SHELL": "zsh",
    "QT_ACCESSIBILITY": "1",
    "QT_IM_MODULE": "ibus",
    "SESSION_MANAGER": "local/<redacted>:@/tmp/.ICE-unix/3198,unix/<redacted>:/tmp/.ICE-unix/3198",
    "SHELL": "/bin/zsh",
    "SHLVL": "0",
    "SSH_AGENT_LAUNCHER": "openssh",
    "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
    "SYSTEMD_EXEC_PID": "3212",
    "USER": "joel",
    "USERNAME": "joel",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CODE_CACHE_PATH": "/home/joel/.config/Code/CachedData/31c37ee8f63491495ac49e43b8544550fbae4533",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/home/joel",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/run/user/1000/vscode-8635d590-1.86-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"en\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "4974",
    "WAYLAND_DISPLAY": "wayland-0",
    "XAUTHORITY": "/run/user/1000/.mutter-Xwaylandauth.K2N3I2",
    "XDG_ACTIVATION_TOKEN": "gnome-shell/Visual Studio Code/3212-1-<redacted>_TIME99661",
    "XDG_CURRENT_DESKTOP": "Unity",
    "XDG_DATA_DIRS": "/usr/local/share/:/usr/share/:/var/lib/snapd/desktop",
    "XDG_MENU_PREFIX": "gnome-",
    "XDG_RUNTIME_DIR": "/run/user/1000",
    "XDG_SESSION_CLASS": "user",
    "XDG_SESSION_DESKTOP": "ubuntu",
    "XDG_SESSION_TYPE": "wayland",
    "XMODIFIERS": "@im=ibus",
    "ZSH": "/home/joel/.oh-my-zsh",
    "_": "/usr/share/code/code",
    "ELECTRON_RUN_AS_NODE": "1",
    "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
    "PATH": "/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin"
}
2024-02-13 10:46:06.831 [debug] Activation Commands received source /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/activate for shell /usr/bin/zsh, resource <redacted> and interpreter /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:06.831 [debug] Activating Environment to capture Environment variables, . /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:46:06.831 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:46:06.831 [info] shell: zsh
2024-02-13 10:46:06.906 [debug] 
�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[42m�[34m�[0m�[34m�[42m�[42m�[30m �[30m#VII-3417�[0m�[30m�[42m�[42m�[30m �[0m�[30m�[42m�[49m�[32m�[0m�[32m�[49m�[39m                                      �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?2004h
2024-02-13 10:46:06.909 [debug] Activated environment variables for <redacted> {
  CHROME_DESKTOP: 'code-url-handler.desktop',
  DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
  DESKTOP_SESSION: 'ubuntu',
  DISPLAY: ':0',
  EDGE_PRIVATE_KEY: 'id_ed25519',
  GDK_BACKEND: 'wayland',
  GDMSESSION: 'ubuntu',
  GIO_LAUNCHED_DESKTOP_FILE: '/home/joel/.local/share/applications/code.desktop',
  GIO_LAUNCHED_DESKTOP_FILE_PID: '4974',
  GJS_DEBUG_OUTPUT: 'stderr',
  GJS_DEBUG_TOPICS: 'JS ERROR;JS LOG',
  GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated',
  GNOME_SETUP_DISPLAY: ':1',
  GNOME_SHELL_SESSION_MODE: 'ubuntu',
  GTK_MODULES: 'gail:atk-bridge',
  HOME: '/home/joel',
  INVOCATION_ID: '11171667bed9497e968c503f3ee7763d',
  JOURNAL_STREAM: '8:43340',
  LANG: 'en_US.UTF-8',
  LANGUAGE: 'en',
  LC_ADDRESS: 'en_US.UTF-8',
  LC_IDENTIFICATION: 'en_US.UTF-8',
  LC_MEASUREMENT: 'en_US.UTF-8',
  LC_MONETARY: 'en_US.UTF-8',
  LC_NAME: 'en_US.UTF-8',
  LC_NUMERIC: 'en_US.UTF-8',
  LC_PAPER: 'en_US.UTF-8',
  LC_TELEPHONE: 'en_US.UTF-8',
  LC_TIME: 'en_US.UTF-8',
  LESS: '-R -FRXK',
  LOGNAME: 'joel',
  LSCOLORS: 'Gxfxcxdxbxegedabagacad',
  MANAGERPID: '2978',
  NVM_BIN: '/home/joel/.nvm/versions/node/v16.20.0/bin',
  NVM_CD_FLAGS: '-q',
  NVM_DIR: '/home/joel/.nvm',
  NVM_INC: '/home/joel/.nvm/versions/node/v16.20.0/include/node',
  OLDPWD: '/home/joel',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'ubuntu:GNOME',
  P9K_SSH: '0',
  PAGER: 'less',
  PAPERSIZE: 'letter',
  PWD: '/home/joel',
  PYENV_ROOT: '/home/joel/.pyenv',
  PYENV_SHELL: 'zsh',
  QT_ACCESSIBILITY: '1',
  QT_IM_MODULE: 'ibus',
  SESSION_MANAGER: 'local/<redacted>:@/tmp/.ICE-unix/3198,unix/<redacted>:/tmp/.ICE-unix/3198',
  SHELL: '/bin/zsh',
  SHLVL: '0',
  SSH_AGENT_LAUNCHER: 'openssh',
  SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh',
  SYSTEMD_EXEC_PID: '3212',
  USER: 'joel',
  USERNAME: 'joel',
  VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
  VSCODE_CODE_CACHE_PATH: '/home/joel/.config/Code/CachedData/31c37ee8f63491495ac49e43b8544550fbae4533',
  VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
  VSCODE_CWD: '/home/joel',
  VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
  VSCODE_IPC_HOOK: '/run/user/1000/vscode-8635d590-1.86-main.sock',
  VSCODE_NLS_CONFIG: '{"locale":"en-us","osLocale":"en","availableLanguages":{},"_languagePackSupport":true}',
  VSCODE_PID: '4974',
  WAYLAND_DISPLAY: 'wayland-0',
  XAUTHORITY: '/run/user/1000/.mutter-Xwaylandauth.K2N3I2',
  XDG_ACTIVATION_TOKEN: 'gnome-shell/Visual Studio Code/3212-1-<redacted>_TIME99661',
  XDG_CURRENT_DESKTOP: 'Unity',
  XDG_DATA_DIRS: '/usr/local/share/:/usr/share/:/var/lib/snapd/desktop',
  XDG_MENU_PREFIX: 'gnome-',
  XDG_RUNTIME_DIR: '/run/user/1000',
  XDG_SESSION_CLASS: 'user',
  XDG_SESSION_DESKTOP: 'ubuntu',
  XDG_SESSION_TYPE: 'wayland',
  XMODIFIERS: '@im=ibus',
  ZSH: '/home/joel/.oh-my-zsh',
  _: '/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python',
  ELECTRON_RUN_AS_NODE: '1',
  APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: '1',
  PATH: '/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin',
  PYTHONUNBUFFERED: '1',
  PYTHONIOENCODING: 'utf-8',
  VIRTUAL_ENV: '/home/joel/.local/share/virtualenvs/edge-49eYqZTG',
  PS1: '(edge) '
}
2024-02-13 10:46:06.918 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:46:06.919 [info] shell: zsh
2024-02-13 10:46:06.964 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.630 [info] Starting Pylance language server.
2024-02-13 10:46:07.632 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.688 [debug] Delay Trigger[Test Configuration Change]: triggered=6, called=1
2024-02-13 10:46:07.728 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.729 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.750 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.752 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.965 [debug] Did we determine shell integration to be working for zsh ? false
2024-02-13 10:46:07.966 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:07.967 [debug] Prepending environment variable PATH in collection with /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-02-13 10:46:07.967 [debug] Setting environment variable VIRTUAL_ENV in collection to /home/joel/.local/share/virtualenvs/edge-49eYqZTG {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-02-13 10:46:07.967 [debug] Prepending environment variable PS1 in collection with (edge-49eYqZTG)  {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-02-13 10:46:07.967 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:08.069 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:46:08.070 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:46:08.072 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-13 10:46:08.073 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:46:08.075 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:46:08.077 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:46:08.078 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:46:08.080 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-13 10:46:08.081 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:46:08.083 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:46:08.999 [debug] Did we determine shell integration to be working for zsh ? false
2024-02-13 10:46:09.000 [debug] PS1 is not set when shell integration is disabled.
2024-02-13 10:46:09.000 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:46:09.186 [debug] Time taken to get env vars using terminal is 186ms
2024-02-13 10:46:10.399 [debug] /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /h
2024-02-13 10:46:10.400 [debug] ome/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt

2024-02-13 10:46:10.486 [debug] �[1m�[7m%�[27m�[1m�[0m                                                                               
 
�]2;joel@<redacted>:~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh��]1;..eactivate/zsh��]7;file://<redacted>/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh�\
2024-02-13 10:46:10.486 [debug] 
�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/�[38;5;250m.vs�[0m�[38;5;250m�[44m�[44m�[38;5;254m/extensions/�[1m�[38;5;254m�[44m�[38;5;255mms-python.python-2024.1.10441459�[0m�[38;5;255m�[44m�[44m�[38;5;254m/pythonFiles/deactivate/�[1m�[38;5;254m�[44m�[38;5;255mzsh�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?2004h/�/home/joel/.pyenv/vers
2024-02-13 10:46:10.487 [debug] ions/3.10.10/bin/python /hom
2024-02-13 10:46:10.487 [debug] e/joel/.vscode/extensions/m
2024-02-13 10:46:10.487 [debug] s 
�[K-
-python.python-2024.1.1044
2024-02-13 10:46:10.487 [debug] 1459/pythonFiles/printEnvV
2024-02-13 10:46:10.487 [debug] ariablesToFile.py /home/joe
2024-02-13 10:46:10.487 [debug] l 
�[K/
/.vscode/extensions/ms-pyt
2024-02-13 10:46:10.487 [debug] hon.python-2024.1.10441459/
2024-02-13 10:46:10.487 [debug] pythonFiles/deactivate/zsh/ 
�[K
2024-02-13 10:46:10.488 [debug] e
envVars.txt
2024-02-13 10:46:10.488 [debug] �[3A�[9D�[32m/�[32mh�[32mo�[32mm�[32me�[32m/�[32mj�[32mo�[32me�[32ml�[32m/�[32m.�[32mp�[32my�[32me�[32mn�[32mv�[32m/�[32mv�[32me�[32mr�[32ms�[32mi�[32mo�[32mn�[32ms�[32m/�[32m3�[32m.�[32m1�[32m0�[32m.�[32m1�[32m0�[32m/�[32mb�[32mi�[32mn�[32m/�[32mp�[32my�[32mt�[32mh�[32mo�[32mn�[39m �[4m/�[4mh�[4mo�[4mm�[4me�[4m/�[4mj�[4mo�[4me�[4ml�[4m/�[4m.�[4mv�[4ms�[4mc�[4mo�[4md�[4me�[4m/�[4me�[4mx�[4mt�[4me�[4mn�[4ms�[4mi�[4mo�[4mn�[4ms�[4m/�[4mm�[4ms�[4m-�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m.�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m-�[4m2�[4m0�[4m2�[4m4�[4m.�[4m1�[4m.�[4m1�[4m0�[4m4�[4m4�[4m1�[4m4�[4m5�[4m9�[4m/�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4mF�[4mi�[4ml�[4me�[4ms�[4m/�[4mp�[4mr�[4mi�[4mn�[4mt�[4mE�[4mn�[4mv�[4mV�[4ma�[4mr�[4mi�[4ma�[4mb�[4ml�[4me�[4ms�[4mT�[4mo�[4mF�[4mi�[4ml�[4me�[4m.�[4mp�[4my�[24m �[4m/�[4mh�[4mo�[4mm�[4me�[4m/�[4mj�[4mo�[4me�[4ml�[4m/�[4m.�[4mv�[4ms�[4mc�[4mo�[4md�[4me�[4m/�[4me�[4mx�[4mt�[4me�[4mn�[4ms�[4mi�[4mo�[4mn�[4ms�[4m/�[4mm�[4ms�[4m-�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m.�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m-�[4m2�[4m0�[4m2�[4m4�[4m.�[4m1�[4m.�[4m1�[4m0�[4m4�[4m4�[4m1�[4m4�[4m5�[4m9�[4m/�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4mF�[4mi�[4ml�[4me�[4ms�[4m/�[4md�[4me�[4ma�[4mc�[4mt�[4mi�[4mv�[4ma�[4mt�[4me�[4m/�[4mz�[4ms�[4mh�[4m/�[4me�[4mn�[4mv�[4mV�[4ma�[4mr�[4ms�[4m.�[4mt�[4mx�[4mt�[24m�[?1l�>�[?2004l

�]2;/home/joel/.pyenv/versions/3.10.10/bin/python  ��]1;/home/joel/.pyenv/versions/3.10.10/bin/python�
2024-02-13 10:46:10.488 [debug] �[1m�[7m%�[27m�[1m�[0m                                                                               
 
�]2;joel@<redacted>:~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh��]1;..eactivate/zsh��]7;file://<redacted>/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh�\
2024-02-13 10:46:10.488 [debug] �[0m�[49m�[39m�[K

�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/�[38;5;250m.vs�[0m�[38;5;250m�[44m�[44m�[38;5;254m/extensions/�[1m�[38;5;254m�[44m�[38;5;255mms-python.python-2024.1.10441459�[0m�[38;5;255m�[44m�[44m�[38;5;254m/pythonFiles/deactivate/�[1m�[38;5;254m�[44m�[38;5;255mzsh�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?2004h
2024-02-13 10:46:11.643 [debug] Terminal shell path '/usr/bin/zsh' identified as shell 'zsh'
2024-02-13 10:46:11.644 [debug] Shell identified as zsh 
2024-02-13 10:46:11.644 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:12.224 [debug] Clearing context for python dependencies not installed: <redacted>/ehr_data/migrations/0071_allergenreaction_and_more_part2.py
2024-02-13 10:46:29.275 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-13 10:46:29.275 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:46:29.276 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:47:55.345 [debug] Clearing context for python dependencies not installed: <redacted>/ehr_data/migrations/0071_allergenreaction_and_more_part2.py
2024-02-13 10:47:55.345 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:47:55.426 [debug] 

�[A�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[42m�[34m�[0m�[34m�[42m�[42m�[30m �[30m#VII-3417�[0m�[30m�[42m�[42m�[30m �[0m�[30m�[42m�[49m�[32m�[0m�[32m�[49m�[39m                                                                                                                                                                                                                                        �[0m�[44m�[30m edge-49eYqZTG�[0m�[30m�[44m�[44m�[30m Py�[0m�[30m�[44m�[44m�[30m �[0m�[30m�[44m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m
2024-02-13 10:47:55.937 [debug] �[?2004l


2024-02-13 10:48:01.451 [info] Experiment 'pythonDiscoveryUsingWorkers' is active
2024-02-13 10:48:01.451 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-13 10:48:01.451 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-13 10:48:01.451 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-02-13 10:48:01.451 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-13 10:48:01.451 [info] Experiment 'pythonTestAdapter' is active
2024-02-13 10:48:01.451 [debug] Getting roots
2024-02-13 10:48:01.451 [debug] Getting roots
2024-02-13 10:48:01.451 [debug] Getting roots
2024-02-13 10:48:01.451 [debug] Found roots
2024-02-13 10:48:01.451 [debug] Start watching file for changes /home/joel/.conda/environments.txt
2024-02-13 10:48:01.451 [debug] Start watching: /home/joel/.conda with pattern environments.txt using VSCode API
2024-02-13 10:48:01.451 [debug] Found roots
2024-02-13 10:48:01.451 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-13 10:48:01.451 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-13 10:48:01.451 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-13 10:48:01.451 [debug] Start watching: <redacted> with pattern */bin/python using VSCode API
2024-02-13 10:48:01.451 [debug] Found roots
2024-02-13 10:48:01.451 [debug] Start watching root <redacted> for globs ["python","*/python","*/bin/python"]
2024-02-13 10:48:01.451 [debug] Start watching: <redacted> with pattern python using VSCode API
2024-02-13 10:48:01.451 [debug] Start watching: <redacted> with pattern */python using VSCode API
2024-02-13 10:48:01.451 [debug] Start watching: <redacted> with pattern */bin/python using VSCode API
2024-02-13 10:48:01.491 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:48:01.491 [info] Default formatter is set to null for workspace <redacted>
2024-02-13 10:48:01.500 [debug] Waiting for test server to start...
2024-02-13 10:48:01.509 [info] Test server listening.
2024-02-13 10:48:01.509 [debug] Test server started.
2024-02-13 10:48:01.509 [debug] Testing: Setting up watcher for <redacted>
2024-02-13 10:48:01.509 [debug] Testing: Setting up watcher for <redacted>
2024-02-13 10:48:01.572 [debug] Needed to validate /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python with latest info
2024-02-13 10:48:01.573 [info] Python interpreter path: ~/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:01.573 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:01.889 [debug] �[0m�[49m�[39m�[27m�[24m
�[K

�[2A�7�[0m�[49m�[39m�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m                                                 �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[?2004h
2024-02-13 10:48:01.910 [debug] Needed to validate /bin/python3 with latest info
2024-02-13 10:48:01.919 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:01.919 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:02.099 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-13 10:48:02.100 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-13 10:48:02.629 [debug] �[?25l�8�[0m�[49m�[39m�[27m�[24m�[J�]2;joel@<redacted>:~/<redacted>��]1;..<redacted>��]7;file://<redacted><redacted>�\�[0m�[38;5;254m�[49m�[39m�[27m�[24m�[1m�[7m%�[27m�[1m�[0m                                                                               
�[0m�[49m�[39m�[27m�[24m�[K
�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[100m�[34m�[0m�[34m�[100m�[100m�[30m �[30m#VII-3417�[0m�[30m�[100m�[100m�[30m �[0m�[30m�[100m�[49m�[90m�[0m�[90m�[49m�[39m                                      �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?25h�[?2004h�[?25l
2024-02-13 10:48:02.670 [debug] 

�[A�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[42m�[34m�[0m�[34m�[42m�[42m�[30m �[30m#VII-3417�[0m�[30m�[42m�[42m�[30m �[0m�[30m�[42m�[49m�[32m�[0m�[32m�[49m�[39m                                      �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?25h
2024-02-13 10:48:02.919 [debug] Did we determine shell integration to be working for zsh ? false
2024-02-13 10:48:02.920 [warning] Shell integration may not be active, environment activated may be overridden by the shell.
2024-02-13 10:48:02.920 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:02.922 [debug] Dump environment variables {
    "CHROME_DESKTOP": "code-url-handler.desktop",
    "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
    "DESKTOP_SESSION": "ubuntu",
    "DISPLAY": ":0",
    "EDGE_PRIVATE_KEY": "id_ed25519",
    "GDK_BACKEND": "wayland",
    "GDMSESSION": "ubuntu",
    "GIO_LAUNCHED_DESKTOP_FILE": "/home/joel/.local/share/applications/code.desktop",
    "GIO_LAUNCHED_DESKTOP_FILE_PID": "4974",
    "GJS_DEBUG_OUTPUT": "stderr",
    "GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
    "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
    "GNOME_SETUP_DISPLAY": ":1",
    "GNOME_SHELL_SESSION_MODE": "ubuntu",
    "GTK_MODULES": "gail:atk-bridge",
    "HOME": "/home/joel",
    "INVOCATION_ID": "11171667bed9497e968c503f3ee7763d",
    "JOURNAL_STREAM": "8:43340",
    "LANG": "en_US.UTF-8",
    "LANGUAGE": "en",
    "LC_ADDRESS": "en_US.UTF-8",
    "LC_IDENTIFICATION": "en_US.UTF-8",
    "LC_MEASUREMENT": "en_US.UTF-8",
    "LC_MONETARY": "en_US.UTF-8",
    "LC_NAME": "en_US.UTF-8",
    "LC_NUMERIC": "en_US.UTF-8",
    "LC_PAPER": "en_US.UTF-8",
    "LC_TELEPHONE": "en_US.UTF-8",
    "LC_TIME": "en_US.UTF-8",
    "LESS": "-R -FRXK",
    "LOGNAME": "joel",
    "LSCOLORS": "Gxfxcxdxbxegedabagacad",
    "MANAGERPID": "2978",
    "NVM_BIN": "/home/joel/.nvm/versions/node/v16.20.0/bin",
    "NVM_CD_FLAGS": "-q",
    "NVM_DIR": "/home/joel/.nvm",
    "NVM_INC": "/home/joel/.nvm/versions/node/v16.20.0/include/node",
    "OLDPWD": "/home/joel",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "ubuntu:GNOME",
    "P9K_SSH": "0",
    "PAGER": "less",
    "PAPERSIZE": "letter",
    "PWD": "/home/joel",
    "PYENV_ROOT": "/home/joel/.pyenv",
    "PYENV_SHELL": "zsh",
    "QT_ACCESSIBILITY": "1",
    "QT_IM_MODULE": "ibus",
    "SESSION_MANAGER": "local/<redacted>:@/tmp/.ICE-unix/3198,unix/<redacted>:/tmp/.ICE-unix/3198",
    "SHELL": "/bin/zsh",
    "SHLVL": "0",
    "SSH_AGENT_LAUNCHER": "openssh",
    "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
    "SYSTEMD_EXEC_PID": "3212",
    "USER": "joel",
    "USERNAME": "joel",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CODE_CACHE_PATH": "/home/joel/.config/Code/CachedData/31c37ee8f63491495ac49e43b8544550fbae4533",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/home/joel",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/run/user/1000/vscode-8635d590-1.86-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"en\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "4974",
    "WAYLAND_DISPLAY": "wayland-0",
    "XAUTHORITY": "/run/user/1000/.mutter-Xwaylandauth.K2N3I2",
    "XDG_ACTIVATION_TOKEN": "gnome-shell/Visual Studio Code/3212-1-<redacted>_TIME99661",
    "XDG_CURRENT_DESKTOP": "Unity",
    "XDG_DATA_DIRS": "/usr/local/share/:/usr/share/:/var/lib/snapd/desktop",
    "XDG_MENU_PREFIX": "gnome-",
    "XDG_RUNTIME_DIR": "/run/user/1000",
    "XDG_SESSION_CLASS": "user",
    "XDG_SESSION_DESKTOP": "ubuntu",
    "XDG_SESSION_TYPE": "wayland",
    "XMODIFIERS": "@im=ibus",
    "ZSH": "/home/joel/.oh-my-zsh",
    "_": "/usr/share/code/code",
    "ELECTRON_RUN_AS_NODE": "1",
    "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
    "PATH": "/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin"
}
2024-02-13 10:48:02.990 [debug] Activation Commands received source /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/activate for shell /usr/bin/zsh, resource <redacted> and interpreter /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:02.990 [debug] Activating Environment to capture Environment variables, . /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:48:02.990 [info] > . ~/.local/share/virtualenvs/edge-49eYqZTG/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:48:02.990 [info] shell: zsh
2024-02-13 10:48:03.035 [debug] Activated environment variables for <redacted> {
  CHROME_DESKTOP: 'code-url-handler.desktop',
  DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
  DESKTOP_SESSION: 'ubuntu',
  DISPLAY: ':0',
  EDGE_PRIVATE_KEY: 'id_ed25519',
  GDK_BACKEND: 'wayland',
  GDMSESSION: 'ubuntu',
  GIO_LAUNCHED_DESKTOP_FILE: '/home/joel/.local/share/applications/code.desktop',
  GIO_LAUNCHED_DESKTOP_FILE_PID: '4974',
  GJS_DEBUG_OUTPUT: 'stderr',
  GJS_DEBUG_TOPICS: 'JS ERROR;JS LOG',
  GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated',
  GNOME_SETUP_DISPLAY: ':1',
  GNOME_SHELL_SESSION_MODE: 'ubuntu',
  GTK_MODULES: 'gail:atk-bridge',
  HOME: '/home/joel',
  INVOCATION_ID: '11171667bed9497e968c503f3ee7763d',
  JOURNAL_STREAM: '8:43340',
  LANG: 'en_US.UTF-8',
  LANGUAGE: 'en',
  LC_ADDRESS: 'en_US.UTF-8',
  LC_IDENTIFICATION: 'en_US.UTF-8',
  LC_MEASUREMENT: 'en_US.UTF-8',
  LC_MONETARY: 'en_US.UTF-8',
  LC_NAME: 'en_US.UTF-8',
  LC_NUMERIC: 'en_US.UTF-8',
  LC_PAPER: 'en_US.UTF-8',
  LC_TELEPHONE: 'en_US.UTF-8',
  LC_TIME: 'en_US.UTF-8',
  LESS: '-R -FRXK',
  LOGNAME: 'joel',
  LSCOLORS: 'Gxfxcxdxbxegedabagacad',
  MANAGERPID: '2978',
  NVM_BIN: '/home/joel/.nvm/versions/node/v16.20.0/bin',
  NVM_CD_FLAGS: '-q',
  NVM_DIR: '/home/joel/.nvm',
  NVM_INC: '/home/joel/.nvm/versions/node/v16.20.0/include/node',
  OLDPWD: '/home/joel',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'ubuntu:GNOME',
  P9K_SSH: '0',
  PAGER: 'less',
  PAPERSIZE: 'letter',
  PWD: '/home/joel',
  PYENV_ROOT: '/home/joel/.pyenv',
  PYENV_SHELL: 'zsh',
  QT_ACCESSIBILITY: '1',
  QT_IM_MODULE: 'ibus',
  SESSION_MANAGER: 'local/<redacted>:@/tmp/.ICE-unix/3198,unix/<redacted>:/tmp/.ICE-unix/3198',
  SHELL: '/bin/zsh',
  SHLVL: '0',
  SSH_AGENT_LAUNCHER: 'openssh',
  SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh',
  SYSTEMD_EXEC_PID: '3212',
  USER: 'joel',
  USERNAME: 'joel',
  VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
  VSCODE_CODE_CACHE_PATH: '/home/joel/.config/Code/CachedData/31c37ee8f63491495ac49e43b8544550fbae4533',
  VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
  VSCODE_CWD: '/home/joel',
  VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
  VSCODE_IPC_HOOK: '/run/user/1000/vscode-8635d590-1.86-main.sock',
  VSCODE_NLS_CONFIG: '{"locale":"en-us","osLocale":"en","availableLanguages":{},"_languagePackSupport":true}',
  VSCODE_PID: '4974',
  WAYLAND_DISPLAY: 'wayland-0',
  XAUTHORITY: '/run/user/1000/.mutter-Xwaylandauth.K2N3I2',
  XDG_ACTIVATION_TOKEN: 'gnome-shell/Visual Studio Code/3212-1-<redacted>_TIME99661',
  XDG_CURRENT_DESKTOP: 'Unity',
  XDG_DATA_DIRS: '/usr/local/share/:/usr/share/:/var/lib/snapd/desktop',
  XDG_MENU_PREFIX: 'gnome-',
  XDG_RUNTIME_DIR: '/run/user/1000',
  XDG_SESSION_CLASS: 'user',
  XDG_SESSION_DESKTOP: 'ubuntu',
  XDG_SESSION_TYPE: 'wayland',
  XMODIFIERS: '@im=ibus',
  ZSH: '/home/joel/.oh-my-zsh',
  _: '/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python',
  ELECTRON_RUN_AS_NODE: '1',
  APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: '1',
  PATH: '/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin',
  PYTHONUNBUFFERED: '1',
  PYTHONIOENCODING: 'utf-8',
  VIRTUAL_ENV: '/home/joel/.local/share/virtualenvs/edge-49eYqZTG',
  PS1: '(edge) '
}
2024-02-13 10:48:03.043 [info] > ~/.pyenv/versions/3.10.10/bin/python ~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariables.py
2024-02-13 10:48:03.043 [info] shell: zsh
2024-02-13 10:48:03.070 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:03.183 [debug] Delay Trigger[Test Configuration Change]: triggered=4, called=1
2024-02-13 10:48:03.504 [info] Starting Pylance language server.
2024-02-13 10:48:03.506 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:03.521 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:03.522 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:03.524 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:03.526 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:03.547 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:48:03.548 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:48:03.549 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:48:03.551 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-13 10:48:03.552 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:48:03.555 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:48:03.556 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:48:03.557 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-13 10:48:03.559 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-13 10:48:03.560 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python","path":"/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python"}
2024-02-13 10:48:04.071 [debug] Did we determine shell integration to be working for zsh ? false
2024-02-13 10:48:04.072 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:04.073 [debug] Prepending environment variable PATH in collection with /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-02-13 10:48:04.073 [debug] Setting environment variable VIRTUAL_ENV in collection to /home/joel/.local/share/virtualenvs/edge-49eYqZTG {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-02-13 10:48:04.073 [debug] Prepending environment variable PS1 in collection with (edge-49eYqZTG)  {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-02-13 10:48:04.073 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:05.575 [debug] Did we determine shell integration to be working for zsh ? false
2024-02-13 10:48:05.575 [debug] PS1 is not set when shell integration is disabled.
2024-02-13 10:48:05.575 [info] Send text to terminal: /home/joel/.pyenv/versions/3.10.10/bin/python /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt
2024-02-13 10:48:05.640 [debug] Time taken to get env vars using terminal is 65ms
2024-02-13 10:48:05.808 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-13 10:48:05.808 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:05.809 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:05.967 [debug] /home/joel/.pyenv/versions/3.10.10/bin/python /hom�[0m�[49m�[39m�[27m�[24m
�[K

�[2A�7�[0m�[49m�[39m�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/�[38;5;250m.vs�[0m�[38;5;250m�[44m�[44m�[38;5;254m/extensions/�[1m�[38;5;254m�[44m�[38;5;255mms-python.python-2024.1.10441459�[0m�[38;5;255m�[44m�[44m�[38;5;254m/pythonFiles/deactivate/�[1m�[38;5;254m�[44m�[38;5;255mzsh�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[?2004he/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/printEnvVariablesToFile.py /home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh/envVars.txt

2024-02-13 10:48:07.190 [debug] �[?25l�8�[0m�[49m�[39m�[27m�[24m�[J�]2;joel@<redacted>:~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh��]1;..eactivate/zsh��]7;file://<redacted>/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh�\�[0m�[38;5;254m�[49m�[39m�[27m�[24m�[1m�[7m%�[27m�[1m�[0m                                                                               
�[0m�[49m�[39m�[27m�[24m�[K
2024-02-13 10:48:07.190 [debug] 
�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/�[38;5;250m.vs�[0m�[38;5;250m�[44m�[44m�[38;5;254m/extensions/�[1m�[38;5;254m�[44m�[38;5;255mms-python.python-2024.1.10441459�[0m�[38;5;255m�[44m�[44m�[38;5;254m/pythonFiles/deactivate/�[1m�[38;5;254m�[44m�[38;5;255mzsh�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?25h�[?2004h/�/home/joe
2024-02-13 10:48:07.190 [debug] l/.pyenv/vers
2024-02-13 10:48:07.191 [debug] ions/3.10.10/bi
2024-02-13 10:48:07.191 [debug] n/pytho
2024-02-13 10:48:07.191 [debug] n /home/joel/.
2024-02-13 10:48:07.191 [debug] vscode/extensi
2024-02-13 10:48:07.193 [debug] ons/ms 
�[K-
-python.
2024-02-13 10:48:07.198 [debug] python-2024.1
2024-02-13 10:48:07.198 [debug] .10441459/pythonFi
2024-02-13 10:48:07.199 [debug] les/printEnvVariabl
2024-02-13 10:48:07.199 [debug] esToFile
2024-02-13 10:48:07.199 [debug] .py /hom
2024-02-13 10:48:07.199 [debug] e/joel 
�[K/
/.vsc
2024-02-13 10:48:07.200 [debug] ode/extensions/ms
2024-02-13 10:48:07.237 [debug] -python.python-20
2024-02-13 10:48:07.263 [debug] 24.1.10441
2024-02-13 10:48:07.263 [debug] 459/pythonFi
2024-02-13 10:48:07.264 [debug] les/deactiv
2024-02-13 10:48:07.264 [debug] a
2024-02-13 10:48:07.273 [debug] te/zsh/ 
�[Ke
envV
2024-02-13 10:48:07.274 [debug] ars.txt
2024-02-13 10:48:07.274 [debug] �[3A�[9D�[32m/�[32mh�[32mo�[32mm�[32me�[32m/�[32mj�[32mo�[32me�[32ml�[32m/�[32m.�[32mp�[32my�[32me�[32mn�[32mv�[32m/�[32mv�[32me�[32mr�[32ms�[32mi�[32mo�[32mn�[32ms�[32m/�[32m3�[32m.�[32m1�[32m0�[32m.�[32m1�[32m0�[32m/�[32mb�[32mi�[32mn�[32m/�[32mp�[32my�[32mt�[32mh�[32mo�[32mn�[39m �[4m/�[4mh�[4mo�[4mm�[4me�[4m/�[4mj�[4mo�[4me�[4ml�[4m/�[4m.�[4mv�[4ms�[4mc�[4mo�[4md�[4me�[4m/�[4me�[4mx�[4mt�[4me�[4mn�[4ms�[4mi�[4mo�[4mn�[4ms�[4m/�[4mm�[4ms�[4m-�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m.�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m-�[4m2�[4m0�[4m2�[4m4�[4m.�[4m1�[4m.�[4m1�[4m0�[4m4�[4m4�[4m1�[4m4�[4m5�[4m9�[4m/�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4mF�[4mi�[4ml�[4me�[4ms�[4m/�[4mp�[4mr�[4mi�[4mn�[4mt�[4mE�[4mn�[4mv�[4mV�[4ma�[4mr�[4mi�[4ma�[4mb�[4ml�[4me�[4ms�[4mT�[4mo�[4mF�[4mi�[4ml�[4me�[4m.�[4mp�[4my�[24m �[4m/�[4mh�[4mo�[4mm�[4me�[4m/�[4mj�[4mo�[4me�[4ml�[4m/�[4m.�[4mv�[4ms�[4mc�[4mo�[4md�[4me�[4m/�[4me�[4mx�[4mt�[4me�[4mn�[4ms�[4mi�[4mo�[4mn�[4ms�[4m/�[4mm�[4ms�[4m-�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m.�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4m-�[4m2�[4m0�[4m2�[4m4�[4m.�[4m1�[4m.�[4m1�[4m0�[4m4�[4m4�[4m1�[4m4�[4m5�[4m9�[4m/�[4mp�[4my�[4mt�[4mh�[4mo�[4mn�[4mF�[4mi�[4ml�[4me�[4ms�[4m/�[4md�[4me�[4ma�[4mc�[4mt�[4mi�[4mv�[4ma�[4mt�[4me�[4m/�[4mz�[4ms�[4mh�[4m/�[4me�[4mn�[4mv�[4mV�[4ma�[4mr�[4ms�[4m.�[4mt�[4mx�[4mt�[24m�[?1l�>�[?2004l

�]2;/home/joel/.pyenv/versions/3.10.10/bin/python  ��]1;/home/joel/.pyenv/versions/3.10.10/bin/python�
2024-02-13 10:48:07.343 [debug] �[1m�[7m%�[27m�[1m�[0m                                                                               
 
�]2;joel@<redacted>:~/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh��]1;..eactivate/zsh��]7;file://<redacted>/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh�\�[0m�[49m�[39m�[K

�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/�[38;5;250m.vs�[0m�[38;5;250m�[44m�[44m�[38;5;254m/extensions/�[1m�[38;5;254m�[44m�[38;5;255mms-python.python-2024.1.10441459�[0m�[38;5;255m�[44m�[44m�[38;5;254m/pythonFiles/deactivate/�[1m�[38;5;254m�[44m�[38;5;255mzsh�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?2004h
2024-02-13 10:48:07.474 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-13 10:48:07.508 [debug] Terminal shell path '/usr/bin/zsh' identified as shell 'zsh'
2024-02-13 10:48:07.508 [debug] Shell identified as zsh 
2024-02-13 10:48:07.509 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:15.850 [debug] Clearing context for python dependencies not installed: <redacted>/ehr_data/migrations/0071_allergenreaction_and_more_part2.py
2024-02-13 10:48:15.850 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python
2024-02-13 10:48:16.159 [debug] �[0m�[49m�[39m�[27m�[24m
�[K

�[2A�7�[0m�[49m�[39m�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[49m�[34m�[0m�[34m�[49m�[39m                                                                                                                                                                                                                                                              �[0m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[?2004h
2024-02-13 10:48:16.869 [debug] �[?25l�8�[0m�[49m�[39m�[27m�[24m�[J�]2;joel@<redacted>:~/<redacted>��]1;..<redacted>��]7;file://<redacted><redacted>�\�[0m�[38;5;254m�[49m�[39m�[27m�[24m�[1m�[7m%�[27m�[1m�[0m                                                                                                                                                                                                                                                                                            
�[0m�[49m�[39m�[27m�[24m�[K
�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[42m�[34m�[0m�[34m�[42m�[42m�[30m �[30m#VII-3417�[0m�[30m�[42m�[42m�[30m �[0m�[30m�[42m�[49m�[32m�[0m�[32m�[49m�[39m                                                                                                                                                                                                                                 �[0m�[44m�[30m edge-49eYqZTG�[0m�[30m�[44m�[44m�[30m Py�[0m�[30m�[44m�[44m�[30m �[0m�[30m�[44m�[49m�[39m
�[0m�[49m�[38;5;76m❯�[0m�[38;5;76m�[49m�[38;5;76m�[0m�[38;5;76m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?25h�[?2004h
2024-02-13 10:48:17.635 [debug] �[32m.�[39m
2024-02-13 10:48:18.121 [debug] ��[4m�[32m.�[4m�[32m/�[24m�[39m
2024-02-13 10:48:18.337 [debug] ���[39m�[4m.�[39m�[4m/�[4mm�[24m
2024-02-13 10:48:18.468 [debug] ��[4mm�[4ma�[24m
2024-02-13 10:48:18.557 [debug] ��[4ma�[4mn�[24m
2024-02-13 10:48:18.655 [debug] ��[4mn�[4ma�[24m
2024-02-13 10:48:18.758 [debug] ��[4ma�[4mg�[24m
2024-02-13 10:48:18.839 [debug] ��[4mg�[4me�[24m
2024-02-13 10:48:18.893 [debug] ��[4me�[4m.�[24m
2024-02-13 10:48:19.068 [debug] ��[4m.�[4mp�[24m
2024-02-13 10:48:19.135 [debug] �[10D�[24m�[32m.�[24m�[32m/�[24m�[32mm�[24m�[32ma�[24m�[32mn�[24m�[32ma�[24m�[32mg�[24m�[32me�[24m�[32m.�[24m�[32mp�[32my�[39m
2024-02-13 10:48:19.253 [debug] �[?1l�>�[?2004l

�]2;./manage.py��]1;./manage.py�
2024-02-13 10:48:19.323 [debug] Traceback (most recent call last):
  File "<redacted>/./manage.py", line 10, in main
    from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<redacted>/./manage.py", line 22, in <module>
    main()
  File "<redacted>/./manage.py", line 12, in main
    raise ImportError(
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
�[1m�[7m%�[27m�[1m�[0m                                                                                                                                                                                                                                                                                            
 
�]2;joel@<redacted>:~/<redacted>��]1;..<redacted>��]7;file://<redacted><redacted>�\
2024-02-13 10:48:19.355 [debug] �[0m�[49m�[39m�[K

�[0m�[27m�[24m�[J�[0m�[49m�[39m
�[A�[0m�[44m�[38;5;254m �[1m�[38;5;254m�[44m�[38;5;255m~�[0m�[38;5;255m�[44m�[44m�[38;5;254m/<redacted>/�[1m�[38;5;254m�[44m�[38;5;255medge�[0m�[38;5;255m�[44m�[44m�[38;5;254m�[0m�[38;5;254m�[44m�[44m�[38;5;254m �[0m�[38;5;254m�[44m�[42m�[34m�[0m�[34m�[42m�[42m�[30m �[30m#VII-3417�[0m�[30m�[42m�[42m�[30m �[0m�[30m�[42m�[49m�[32m�[0m�[32m�[49m�[39m                                                                                                                                                                                                                                 �[0m�[44m�[30m edge-49eYqZTG�[0m�[30m�[44m�[44m�[30m Py�[0m�[30m�[44m�[44m�[30m �[0m�[30m�[44m�[49m�[39m
�[0m�[49m�[38;5;196m❯�[0m�[38;5;196m�[49m�[38;5;196m�[0m�[38;5;196m�[49m�[30m�[0m�[30m�[49m�[39m �[0m�[49m�[39m�[K�[?1h�=�[?2004h
2024-02-13 10:48:22.484 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-13 10:48:22.485 [debug] Found cached env for /home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin/python

image

image

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Feb 13, 2024
@karrtikr
Copy link

karrtikr commented Feb 13, 2024

Thanks, I assume PATH is still the following?

Here is PATH with the latest pre-release:

/home/joel/.pyenv/shims:/home/joel/bin:/home/joel/pycharm/bin:/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

@karrtikr
Copy link

Can you open a zsh terminal outside VS Code and paste the value of PATH as well? Also, if possible, it'd be great if you could share the .zshrc file.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 13, 2024
@JoelFeiner-viimed
Copy link
Author

Thanks, I assume PATH is still the following?

Here is PATH with the latest pre-release:

/home/joel/.pyenv/shims:/home/joel/bin:/home/joel/pycharm/bin:/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

Yes, exactly the same.

Outside of VSCode:

/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/shims:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

.zshrc:

export PATH="$HOME/bin:$HOME/pycharm/bin:$PATH"
export PAGER="less"
export LESS="$LESS -FRXK"
#export LESS="-iMSx4 -FX"

export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

setopt nointeractivecomments
setopt nosharehistory
unsetopt sharehistory

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Feb 13, 2024
@karrtikr
Copy link

Thanks a lot @JoelFeiner-viimed , this looks like an issue on VS Code, I can gladly assist you in opening an issue on their end. One last bit of info I need from your end, is to try #22881 (comment), reload window after installation, and provide the logs and value of PATH in zsh terminal in VS Code.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 13, 2024
@karrtikr
Copy link

Once you provide this info, I expect https://code.visualstudio.com/docs/terminal/shell-integration#_manual-installation to fix the issue for you.

@JoelFeiner-viimed
Copy link
Author

Once you provide this info, I expect https://code.visualstudio.com/docs/terminal/shell-integration#_manual-installation to fix the issue for you.

That does in fact fix the issue.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Feb 13, 2024
@JoelFeiner-viimed
Copy link
Author

Logs attached.
logs.txt

@karrtikr
Copy link

karrtikr commented Feb 13, 2024

What about the PATH variable, upon installation of latest stable release.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 13, 2024
@JoelFeiner-viimed
Copy link
Author

What about the PATH variable, upon installation of latest stable release.

/home/joel/.pyenv/shims:/home/joel/bin:/home/joel/pycharm/bin:/home/joel/.nvm/versions/node/v16.20.0/bin:/home/joel/.pyenv/bin:/home/joel/bin:/home/joel/pycharm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

Looks the same.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Feb 13, 2024
@karrtikr
Copy link

karrtikr commented Feb 13, 2024

Thanks, I assume this is from the Zsh terminal in VS Code. It actually seems different than pre-release, it doesn't seem to contain:

/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin

which tells me that automatic shell integration actually does not seem to work in your case, even though the screenshot says that it's activated.

image

@JoelFeiner-viimed
Copy link
Author

Thanks, I assume this is from the Zsh terminal in VS Code. It actually seems different than pre-release, it doesn't seem to contain:

/home/joel/.vscode/extensions/ms-python.python-2024.1.10441459/pythonFiles/deactivate/zsh:/home/joel/.local/share/virtualenvs/edge-49eYqZTG/bin

which tells me that automatic shell integration actually does not seem to work in your case, even though the screenshot says that it's activated.

image

Note that I did that with the release version, not the pre-release. But yes, it does not appear to be working.

@karrtikr
Copy link

Closing as duplicate of #22899, will make sure to open an issue on VS Code's end once the investigation concludes.

@karrtikr
Copy link

Opened microsoft/vscode#205133.

@JoelFeiner-viimed
Copy link
Author

Opened microsoft/vscode#205133.

Thank you. I'm following it and will provide info as needed if they request it or if I feel something may be useful. Thanks for working on this so quickly.

@DrR0X-glitch
Copy link

Just tried out the pre-release and it also appears to fix all issues for my zsh. Thanks for fixing this so quick! Haven't found any other issues with shell extensions and zsh, will report if I do.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
wesm pushed a commit to posit-dev/positron that referenced this issue Mar 28, 2024
Merge pull request #395 from posit-dev/merge/v2024.2.0

Merge upstream: `v2024.2.0`
--------------------
Commit message for posit-dev/positron-python@7d85a51:

ignore pyright errors in ms testing files

--------------------
Commit message for posit-dev/positron-python@f9a3259:

Bump flask from 3.0.1 to 3.0.2 (posit-dev/positron-python#354)

Bumps [flask](https://github.com/pallets/flask) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](pallets/flask@3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@ea812a4:

Bump ipywidgets from 8.1.1 to 8.1.2 (posit-dev/positron-python#368)

Bumps [ipywidgets](https://github.com/jupyter-widgets/ipywidgets) from 8.1.1 to 8.1.2.
- [Release notes](https://github.com/jupyter-widgets/ipywidgets/releases)
- [Commits](jupyter-widgets/ipywidgets@8.1.1...8.1.2)

---
updated-dependencies:
- dependency-name: ipywidgets
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Isabel Zimmerman <[email protected]>
--------------------
Commit message for posit-dev/positron-python@e3a5399:

Bump pyright from 1.1.349 to 1.1.351 (posit-dev/positron-python#379)

Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.349 to 1.1.351.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.349...v1.1.351)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@2eeb677:

Bump polars from 0.20.6 to 0.20.11 (posit-dev/positron-python#394)

Bumps [polars](https://github.com/pola-rs/polars) from 0.20.6 to 0.20.11.
- [Release notes](https://github.com/pola-rs/polars/releases)
- [Commits](pola-rs/polars@py-0.20.6...py-0.20.11)

---
updated-dependencies:
- dependency-name: polars
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@573d9fd:

Bump ipykernel from 6.29.0 to 6.29.3 (posit-dev/positron-python#390)

Bumps [ipykernel](https://github.com/ipython/ipykernel) from 6.29.0 to 6.29.3.
- [Release notes](https://github.com/ipython/ipykernel/releases)
- [Changelog](https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md)
- [Commits](ipython/ipykernel@v6.29.0...v6.29.3)

---
updated-dependencies:
- dependency-name: ipykernel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@334b383:

update package.json

--------------------
Commit message for posit-dev/positron-python@7ce08b1:

Merge tag 'v2024.2.0' into merge/v2024.2.0

--------------------
Commit message for posit-dev/positron-python@063ba15:

Finalized-release-2024.2.0 (posit-dev/positron-python#22996)

Finalized release 2024.2.0: removing -rc
--------------------
Commit message for posit-dev/positron-python@3eef025:

Bump release 2024.2 (posit-dev/positron-python#22972)

Bump release 2024.2
--------------------
Commit message for posit-dev/positron-python@1fbd77b:

 skip tests, pytest upstream regression (posit-dev/positron-python#22974)

Short-term fix to stop CI from failing due to a regression upstream from
pytest. See issue for details:
microsoft/vscode-python#22965.
--------------------
Commit message for microsoft/vscode-python@4fca030:

Adding GDPR tag for isFirstSession (microsoft/vscode-python#22955)


--------------------
Commit message for microsoft/vscode-python@ba94553:

Modify telemetry to contain trigger time as property (microsoft/vscode-python#22941)


--------------------
Commit message for microsoft/vscode-python@178a0b2:

Fix bug with symlink for pytest execution (microsoft/vscode-python#22952)

Fixes microsoft/vscode-python#22938
--------------------
Commit message for microsoft/vscode-python@bae7d40:

Update vscode-tas-client version (microsoft/vscode-python#22876)


--------------------
Commit message for microsoft/vscode-python@75ed73e:

Fix Bug with Pytest when using symlinked workspaces (microsoft/vscode-python#22885)

fixes microsoft/vscode-python#22658

also implements switching to arg mapping which is this issue here:
microsoft/vscode-python#22076

---------

Co-authored-by: Karthik Nadig <[email protected]>
--------------------
Commit message for microsoft/vscode-python@e53651d:

Prevent first Python command being lost (microsoft/vscode-python#22902)

Fixes: microsoft/vscode-python#22673
Fixes: microsoft/vscode-python#22545
Fixes: microsoft/vscode-python#22691 

Making best effort to address issue where very first command sent to
REPL via Terminal gets ignored, or gets pasted both in Terminal and in
REPL.

With the fix, we observe whether Python REPL is launched in Terminal via
VS Code's `onDidWriteTerminalData` and send the command, or wait three
seconds as a fallback mechanism.

These two combined together will significantly reduce or resolve
all-together the chance of very first command being swollen up or gets
pasted twice in Terminal and REPL previously where it did not have
context of whether Python REPL instance have started inside the Terminal
or not.
--------------------
Commit message for microsoft/vscode-python@a60fbd5:

Add GDPR tags for new Pylance properties (microsoft/vscode-python#22922)


--------------------
Commit message for microsoft/vscode-python@aff0b05:

Use python debugger in testing (microsoft/vscode-python#22903)

closed: microsoft/vscode-python-debugger#174
--------------------
Commit message for microsoft/vscode-python@84734a8:

Updating installed extensions section of README.md (microsoft/vscode-python#22893)

Adding the Python Debugger to the installed extensions section of the
README.
--------------------
Commit message for microsoft/vscode-python@2159238:

Bump actions/setup-python from 4 to 5 in /.github/actions/build-vsix (microsoft/vscode-python#22602)

Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 4 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-python/releases">actions/setup-python's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<p>In scope of this release, we update node version runtime from node16
to node20 (<a
href="https://redirect.github.com/actions/setup-python/pull/772">actions/setup-python#772</a>).
Besides, we update dependencies to the latest versions.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v4.8.0...v5.0.0">https://github.com/actions/setup-python/compare/v4.8.0...v5.0.0</a></p>
<h2>v4.8.0</h2>
<h2>What's Changed</h2>
<p>In scope of this release we added support for GraalPy (<a
href="https://redirect.github.com/actions/setup-python/pull/694">actions/setup-python#694</a>).
You can use this snippet to set up GraalPy:</p>
<pre lang="yaml"><code>steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4 
  with:
    python-version: 'graalpy-22.3' 
- run: python my_script.py
</code></pre>
<p>Besides, the release contains such changes as:</p>
<ul>
<li>Trim python version when reading from file by <a
href="https://github.com/FerranPares"><code>@​FerranPares</code></a> in
<a
href="https://redirect.github.com/actions/setup-python/pull/628">actions/setup-python#628</a></li>
<li>Use non-deprecated versions in examples by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/724">actions/setup-python#724</a></li>
<li>Change deprecation comment to past tense by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/723">actions/setup-python#723</a></li>
<li>Bump <code>@​babel/traverse</code> from 7.9.0 to 7.23.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/743">actions/setup-python#743</a></li>
<li>advanced-usage.md: Encourage the use actions/checkout@v4 by <a
href="https://github.com/cclauss"><code>@​cclauss</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/729">actions/setup-python#729</a></li>
<li>Examples now use checkout@v4 by <a
href="https://github.com/simonw"><code>@​simonw</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/738">actions/setup-python#738</a></li>
<li>Update actions/checkout to v4 by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/761">actions/setup-python#761</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/FerranPares"><code>@​FerranPares</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/628">actions/setup-python#628</a></li>
<li><a href="https://github.com/timfel"><code>@​timfel</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/694">actions/setup-python#694</a></li>
<li><a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/724">actions/setup-python#724</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v4...v4.8.0">https://github.com/actions/setup-python/compare/v4...v4.8.0</a></p>
<h2>v4.7.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump word-wrap from 1.2.3 to 1.2.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/702">actions/setup-python#702</a></li>
<li>Add range validation for toml files by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/726">actions/setup-python#726</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v4...v4.7.1">https://github.com/actions/setup-python/compare/v4...v4.7.1</a></p>
<h2>v4.7.0</h2>
<p>In scope of this release, the support for reading python version from
pyproject.toml was added (<a
href="https://redirect.github.com/actions/setup-python/pull/669">actions/setup-python#669</a>).</p>
<pre lang="yaml"><code>      - name: Setup Python
        uses: actions/setup-python@v4
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/0a5c61591373683505ea898e09a3ea4f39ef2b9c"><code>0a5c615</code></a>
Update action to node20 (<a
href="https://redirect.github.com/actions/setup-python/issues/772">#772</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0ae58361cdfd39e2950bed97a1e26aa20c3d8955"><code>0ae5836</code></a>
Add example of GraalPy to docs (<a
href="https://redirect.github.com/actions/setup-python/issues/773">#773</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/b64ffcaf5b410884ad320a9cfac8866006a109aa"><code>b64ffca</code></a>
update actions/checkout to v4 (<a
href="https://redirect.github.com/actions/setup-python/issues/761">#761</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/8d2896179abf658742de432b3f203d2c2d86a587"><code>8d28961</code></a>
Examples now use checkout@v4 (<a
href="https://redirect.github.com/actions/setup-python/issues/738">#738</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/7bc6abb01e0555719edc2dbca70a2fde309e5e56"><code>7bc6abb</code></a>
advanced-usage.md: Encourage the use actions/checkout@v4 (<a
href="https://redirect.github.com/actions/setup-python/issues/729">#729</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/e8111cec9d3dc15220d8a3b638f08419f57b906a"><code>e8111ce</code></a>
Bump <code>@​babel/traverse</code> from 7.9.0 to 7.23.2 (<a
href="https://redirect.github.com/actions/setup-python/issues/743">#743</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/a00ea43da65e7c04d2bdae58b3afecd77057eb9e"><code>a00ea43</code></a>
add fix for graalpy ci (<a
href="https://redirect.github.com/actions/setup-python/issues/741">#741</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/8635b1ccc5934e73ed3510980fd2e7790b85839b"><code>8635b1c</code></a>
Change deprecation comment to past tense (<a
href="https://redirect.github.com/actions/setup-python/issues/723">#723</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/f6cc428f535856f9c23558d01765a42a4d6cf758"><code>f6cc428</code></a>
Use non-deprecated versions in examples (<a
href="https://redirect.github.com/actions/setup-python/issues/724">#724</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/5f2af211d616f86005883b44826180b21abb4060"><code>5f2af21</code></a>
Add GraalPy support (<a
href="https://redirect.github.com/actions/setup-python/issues/694">#694</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-python/compare/v4...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for microsoft/vscode-python@83cf53b:

Add "isMeasurement" for LANGUAGE_SERVER_TRIGGER_DURATION (microsoft/vscode-python#22912)

cc/ @cwebster-99
--------------------
Commit message for microsoft/vscode-python@7be33eb:

Add more shell integration sequences to check for (microsoft/vscode-python#22911)

Based on discussion with Daniel

For microsoft/vscode-python#22440
--------------------
Commit message for microsoft/vscode-python@6838ccf:

Do not activate microvenv if terminal.activateEnvironment is set to false and when not in terminal experiment (microsoft/vscode-python#22909)


--------------------
Commit message for microsoft/vscode-python@2dc158e:

Log options being passed when using environment collection APIs (microsoft/vscode-python#22907)

For microsoft/vscode-python#22899
--------------------
Commit message for microsoft/vscode-python@5f971ae:

Prepend `PATH` both at shell integration and process creation (microsoft/vscode-python#22905)


--------------------
Commit message for microsoft/vscode-python@5174d5c:

Improve shell integration reliability for zsh (microsoft/vscode-python#22891)

Closes microsoft/vscode-python#22881

If status changes, re-run activation. Also persist once we know shell
integration works for a shell.
--------------------
Commit message for microsoft/vscode-python@b0c34e3:

Add UnicodeDecodeError catching (microsoft/vscode-python#22873)

Resolve `UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in
position 48995: unexpected end of data`

Co-authored-by: Aydar Kamaltdinov <[email protected]>
--------------------
Commit message for microsoft/vscode-python@8496dfe:

Remove experimental flag for create env prompt (microsoft/vscode-python#22892)

Remove experimental flag for `python.createEnvironment.trigger`.
--------------------
Commit message for microsoft/vscode-python@c4c05a6:

update tree comparison for tests to be order independent for children (microsoft/vscode-python#22832)

following the introduction of pytest 8, the order in which children were
listed changed. Since the order is not important, this updates the tests
to make the tests not consider order of children when comparing actual
and expected outcomes of test runs.
--------------------
Commit message for microsoft/vscode-python@4030717:

Use terminal data write event to figure out whether shell integration is working (microsoft/vscode-python#22872)

Closes microsoft/vscode-python#22439

Blocked on microsoft/vscode#204616
--------------------
Commit message for microsoft/vscode-python@d674a17:

Fix Run Recent Command Caching Issue (microsoft/vscode-python#22867)

Resolves: microsoft/vscode-python#22811

Fixing caching issue where users were experiencing cached
success/failure decoration that were impacted when using `Terminal: Run
Recent Command` on success/failure commands
--------------------
Commit message for microsoft/vscode-python@c0bf1b7:

Improve time taken to trigger language server startup once extension activation is triggered (microsoft/vscode-python#22514)

For microsoft/vscode-python#22146 

Improves time taken to trigger language server startup once extension
activation is triggered

- Do not block discovery on windows registry
- Do not blocking auto-selection on validation of all interpreters
- Make Windows Path locator faster
--------------------
Commit message for microsoft/vscode-python@20c1a10:

Log when running Python file (microsoft/vscode-python#22851)

For microsoft/vscode-python#22711
--------------------
Commit message for microsoft/vscode-python@8aaa70e:

Fix venv activation for cshell (microsoft/vscode-python#22852)

Closes microsoft/vscode-python#22822

Use current shell to figure out whether shell integration is working,
even when using fallback shell for getting environment variables.
--------------------
Commit message for microsoft/vscode-python@1626c46:

Do not run commands to check whether shell integration is working (microsoft/vscode-python#22850)

Closes microsoft/vscode-python#22774 closes
microsoft/vscode-python#22743
--------------------
Commit message for microsoft/vscode-python@13a6727:

include multiple pytest versions in PR check (microsoft/vscode-python#22813)

update PR check workflow to include testing Python tests against 3
versions of pytest: pre-release, stable release, and oldest supported
version.

---------

Co-authored-by: Karthik Nadig <[email protected]>
--------------------
Commit message for microsoft/vscode-python@6e8c56c:

Bump dev version 2024.1 (microsoft/vscode-python#22805)



Lead-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Aydar Kamaltdinov <[email protected]>
Co-authored-by: paulacamargo25 <[email protected]>
Co-authored-by: Luciana Abud <[email protected]>
Co-authored-by: Courtney Webster <[email protected]>
Co-authored-by: Anthony Kim <[email protected]>
Co-authored-by: Isabel Zimmerman <[email protected]>
Co-authored-by: Eleanor Boyd <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: GitHub <[email protected]>
wesm pushed a commit to posit-dev/positron that referenced this issue Mar 28, 2024
Merge pull request #395 from posit-dev/merge/v2024.2.0

Merge upstream: `v2024.2.0`
--------------------
Commit message for posit-dev/positron-python@7d85a51:

ignore pyright errors in ms testing files

--------------------
Commit message for posit-dev/positron-python@f9a3259:

Bump flask from 3.0.1 to 3.0.2 (posit-dev/positron-python#354)

Bumps [flask](https://github.com/pallets/flask) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](pallets/flask@3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@ea812a4:

Bump ipywidgets from 8.1.1 to 8.1.2 (posit-dev/positron-python#368)

Bumps [ipywidgets](https://github.com/jupyter-widgets/ipywidgets) from 8.1.1 to 8.1.2.
- [Release notes](https://github.com/jupyter-widgets/ipywidgets/releases)
- [Commits](jupyter-widgets/ipywidgets@8.1.1...8.1.2)

---
updated-dependencies:
- dependency-name: ipywidgets
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Isabel Zimmerman <[email protected]>
--------------------
Commit message for posit-dev/positron-python@e3a5399:

Bump pyright from 1.1.349 to 1.1.351 (posit-dev/positron-python#379)

Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.349 to 1.1.351.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.349...v1.1.351)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@2eeb677:

Bump polars from 0.20.6 to 0.20.11 (posit-dev/positron-python#394)

Bumps [polars](https://github.com/pola-rs/polars) from 0.20.6 to 0.20.11.
- [Release notes](https://github.com/pola-rs/polars/releases)
- [Commits](pola-rs/polars@py-0.20.6...py-0.20.11)

---
updated-dependencies:
- dependency-name: polars
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@573d9fd:

Bump ipykernel from 6.29.0 to 6.29.3 (posit-dev/positron-python#390)

Bumps [ipykernel](https://github.com/ipython/ipykernel) from 6.29.0 to 6.29.3.
- [Release notes](https://github.com/ipython/ipykernel/releases)
- [Changelog](https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md)
- [Commits](ipython/ipykernel@v6.29.0...v6.29.3)

---
updated-dependencies:
- dependency-name: ipykernel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for posit-dev/positron-python@334b383:

update package.json

--------------------
Commit message for posit-dev/positron-python@7ce08b1:

Merge tag 'v2024.2.0' into merge/v2024.2.0

--------------------
Commit message for posit-dev/positron-python@063ba15:

Finalized-release-2024.2.0 (posit-dev/positron-python#22996)

Finalized release 2024.2.0: removing -rc
--------------------
Commit message for posit-dev/positron-python@3eef025:

Bump release 2024.2 (posit-dev/positron-python#22972)

Bump release 2024.2
--------------------
Commit message for posit-dev/positron-python@1fbd77b:

 skip tests, pytest upstream regression (posit-dev/positron-python#22974)

Short-term fix to stop CI from failing due to a regression upstream from
pytest. See issue for details:
microsoft/vscode-python#22965.
--------------------
Commit message for microsoft/vscode-python@4fca030:

Adding GDPR tag for isFirstSession (microsoft/vscode-python#22955)


--------------------
Commit message for microsoft/vscode-python@ba94553:

Modify telemetry to contain trigger time as property (microsoft/vscode-python#22941)


--------------------
Commit message for microsoft/vscode-python@178a0b2:

Fix bug with symlink for pytest execution (microsoft/vscode-python#22952)

Fixes microsoft/vscode-python#22938
--------------------
Commit message for microsoft/vscode-python@bae7d40:

Update vscode-tas-client version (microsoft/vscode-python#22876)


--------------------
Commit message for microsoft/vscode-python@75ed73e:

Fix Bug with Pytest when using symlinked workspaces (microsoft/vscode-python#22885)

fixes microsoft/vscode-python#22658

also implements switching to arg mapping which is this issue here:
microsoft/vscode-python#22076

---------

Co-authored-by: Karthik Nadig <[email protected]>
--------------------
Commit message for microsoft/vscode-python@e53651d:

Prevent first Python command being lost (microsoft/vscode-python#22902)

Fixes: microsoft/vscode-python#22673
Fixes: microsoft/vscode-python#22545
Fixes: microsoft/vscode-python#22691 

Making best effort to address issue where very first command sent to
REPL via Terminal gets ignored, or gets pasted both in Terminal and in
REPL.

With the fix, we observe whether Python REPL is launched in Terminal via
VS Code's `onDidWriteTerminalData` and send the command, or wait three
seconds as a fallback mechanism.

These two combined together will significantly reduce or resolve
all-together the chance of very first command being swollen up or gets
pasted twice in Terminal and REPL previously where it did not have
context of whether Python REPL instance have started inside the Terminal
or not.
--------------------
Commit message for microsoft/vscode-python@a60fbd5:

Add GDPR tags for new Pylance properties (microsoft/vscode-python#22922)


--------------------
Commit message for microsoft/vscode-python@aff0b05:

Use python debugger in testing (microsoft/vscode-python#22903)

closed: microsoft/vscode-python-debugger#174
--------------------
Commit message for microsoft/vscode-python@84734a8:

Updating installed extensions section of README.md (microsoft/vscode-python#22893)

Adding the Python Debugger to the installed extensions section of the
README.
--------------------
Commit message for microsoft/vscode-python@2159238:

Bump actions/setup-python from 4 to 5 in /.github/actions/build-vsix (microsoft/vscode-python#22602)

Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 4 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-python/releases">actions/setup-python's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<p>In scope of this release, we update node version runtime from node16
to node20 (<a
href="https://redirect.github.com/actions/setup-python/pull/772">actions/setup-python#772</a>).
Besides, we update dependencies to the latest versions.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v4.8.0...v5.0.0">https://github.com/actions/setup-python/compare/v4.8.0...v5.0.0</a></p>
<h2>v4.8.0</h2>
<h2>What's Changed</h2>
<p>In scope of this release we added support for GraalPy (<a
href="https://redirect.github.com/actions/setup-python/pull/694">actions/setup-python#694</a>).
You can use this snippet to set up GraalPy:</p>
<pre lang="yaml"><code>steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4 
  with:
    python-version: 'graalpy-22.3' 
- run: python my_script.py
</code></pre>
<p>Besides, the release contains such changes as:</p>
<ul>
<li>Trim python version when reading from file by <a
href="https://github.com/FerranPares"><code>@​FerranPares</code></a> in
<a
href="https://redirect.github.com/actions/setup-python/pull/628">actions/setup-python#628</a></li>
<li>Use non-deprecated versions in examples by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/724">actions/setup-python#724</a></li>
<li>Change deprecation comment to past tense by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/723">actions/setup-python#723</a></li>
<li>Bump <code>@​babel/traverse</code> from 7.9.0 to 7.23.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/743">actions/setup-python#743</a></li>
<li>advanced-usage.md: Encourage the use actions/checkout@v4 by <a
href="https://github.com/cclauss"><code>@​cclauss</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/729">actions/setup-python#729</a></li>
<li>Examples now use checkout@v4 by <a
href="https://github.com/simonw"><code>@​simonw</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/738">actions/setup-python#738</a></li>
<li>Update actions/checkout to v4 by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/761">actions/setup-python#761</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/FerranPares"><code>@​FerranPares</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/628">actions/setup-python#628</a></li>
<li><a href="https://github.com/timfel"><code>@​timfel</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/694">actions/setup-python#694</a></li>
<li><a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/724">actions/setup-python#724</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v4...v4.8.0">https://github.com/actions/setup-python/compare/v4...v4.8.0</a></p>
<h2>v4.7.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump word-wrap from 1.2.3 to 1.2.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/702">actions/setup-python#702</a></li>
<li>Add range validation for toml files by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/726">actions/setup-python#726</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v4...v4.7.1">https://github.com/actions/setup-python/compare/v4...v4.7.1</a></p>
<h2>v4.7.0</h2>
<p>In scope of this release, the support for reading python version from
pyproject.toml was added (<a
href="https://redirect.github.com/actions/setup-python/pull/669">actions/setup-python#669</a>).</p>
<pre lang="yaml"><code>      - name: Setup Python
        uses: actions/setup-python@v4
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/0a5c61591373683505ea898e09a3ea4f39ef2b9c"><code>0a5c615</code></a>
Update action to node20 (<a
href="https://redirect.github.com/actions/setup-python/issues/772">#772</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0ae58361cdfd39e2950bed97a1e26aa20c3d8955"><code>0ae5836</code></a>
Add example of GraalPy to docs (<a
href="https://redirect.github.com/actions/setup-python/issues/773">#773</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/b64ffcaf5b410884ad320a9cfac8866006a109aa"><code>b64ffca</code></a>
update actions/checkout to v4 (<a
href="https://redirect.github.com/actions/setup-python/issues/761">#761</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/8d2896179abf658742de432b3f203d2c2d86a587"><code>8d28961</code></a>
Examples now use checkout@v4 (<a
href="https://redirect.github.com/actions/setup-python/issues/738">#738</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/7bc6abb01e0555719edc2dbca70a2fde309e5e56"><code>7bc6abb</code></a>
advanced-usage.md: Encourage the use actions/checkout@v4 (<a
href="https://redirect.github.com/actions/setup-python/issues/729">#729</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/e8111cec9d3dc15220d8a3b638f08419f57b906a"><code>e8111ce</code></a>
Bump <code>@​babel/traverse</code> from 7.9.0 to 7.23.2 (<a
href="https://redirect.github.com/actions/setup-python/issues/743">#743</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/a00ea43da65e7c04d2bdae58b3afecd77057eb9e"><code>a00ea43</code></a>
add fix for graalpy ci (<a
href="https://redirect.github.com/actions/setup-python/issues/741">#741</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/8635b1ccc5934e73ed3510980fd2e7790b85839b"><code>8635b1c</code></a>
Change deprecation comment to past tense (<a
href="https://redirect.github.com/actions/setup-python/issues/723">#723</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/f6cc428f535856f9c23558d01765a42a4d6cf758"><code>f6cc428</code></a>
Use non-deprecated versions in examples (<a
href="https://redirect.github.com/actions/setup-python/issues/724">#724</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/5f2af211d616f86005883b44826180b21abb4060"><code>5f2af21</code></a>
Add GraalPy support (<a
href="https://redirect.github.com/actions/setup-python/issues/694">#694</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-python/compare/v4...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for microsoft/vscode-python@83cf53b:

Add "isMeasurement" for LANGUAGE_SERVER_TRIGGER_DURATION (microsoft/vscode-python#22912)

cc/ @cwebster-99
--------------------
Commit message for microsoft/vscode-python@7be33eb:

Add more shell integration sequences to check for (microsoft/vscode-python#22911)

Based on discussion with Daniel

For microsoft/vscode-python#22440
--------------------
Commit message for microsoft/vscode-python@6838ccf:

Do not activate microvenv if terminal.activateEnvironment is set to false and when not in terminal experiment (microsoft/vscode-python#22909)


--------------------
Commit message for microsoft/vscode-python@2dc158e:

Log options being passed when using environment collection APIs (microsoft/vscode-python#22907)

For microsoft/vscode-python#22899
--------------------
Commit message for microsoft/vscode-python@5f971ae:

Prepend `PATH` both at shell integration and process creation (microsoft/vscode-python#22905)


--------------------
Commit message for microsoft/vscode-python@5174d5c:

Improve shell integration reliability for zsh (microsoft/vscode-python#22891)

Closes microsoft/vscode-python#22881

If status changes, re-run activation. Also persist once we know shell
integration works for a shell.
--------------------
Commit message for microsoft/vscode-python@b0c34e3:

Add UnicodeDecodeError catching (microsoft/vscode-python#22873)

Resolve `UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in
position 48995: unexpected end of data`

Co-authored-by: Aydar Kamaltdinov <[email protected]>
--------------------
Commit message for microsoft/vscode-python@8496dfe:

Remove experimental flag for create env prompt (microsoft/vscode-python#22892)

Remove experimental flag for `python.createEnvironment.trigger`.
--------------------
Commit message for microsoft/vscode-python@c4c05a6:

update tree comparison for tests to be order independent for children (microsoft/vscode-python#22832)

following the introduction of pytest 8, the order in which children were
listed changed. Since the order is not important, this updates the tests
to make the tests not consider order of children when comparing actual
and expected outcomes of test runs.
--------------------
Commit message for microsoft/vscode-python@4030717:

Use terminal data write event to figure out whether shell integration is working (microsoft/vscode-python#22872)

Closes microsoft/vscode-python#22439

Blocked on microsoft/vscode#204616
--------------------
Commit message for microsoft/vscode-python@d674a17:

Fix Run Recent Command Caching Issue (microsoft/vscode-python#22867)

Resolves: microsoft/vscode-python#22811

Fixing caching issue where users were experiencing cached
success/failure decoration that were impacted when using `Terminal: Run
Recent Command` on success/failure commands
--------------------
Commit message for microsoft/vscode-python@c0bf1b7:

Improve time taken to trigger language server startup once extension activation is triggered (microsoft/vscode-python#22514)

For microsoft/vscode-python#22146 

Improves time taken to trigger language server startup once extension
activation is triggered

- Do not block discovery on windows registry
- Do not blocking auto-selection on validation of all interpreters
- Make Windows Path locator faster
--------------------
Commit message for microsoft/vscode-python@20c1a10:

Log when running Python file (microsoft/vscode-python#22851)

For microsoft/vscode-python#22711
--------------------
Commit message for microsoft/vscode-python@8aaa70e:

Fix venv activation for cshell (microsoft/vscode-python#22852)

Closes microsoft/vscode-python#22822

Use current shell to figure out whether shell integration is working,
even when using fallback shell for getting environment variables.
--------------------
Commit message for microsoft/vscode-python@1626c46:

Do not run commands to check whether shell integration is working (microsoft/vscode-python#22850)

Closes microsoft/vscode-python#22774 closes
microsoft/vscode-python#22743
--------------------
Commit message for microsoft/vscode-python@13a6727:

include multiple pytest versions in PR check (microsoft/vscode-python#22813)

update PR check workflow to include testing Python tests against 3
versions of pytest: pre-release, stable release, and oldest supported
version.

---------

Co-authored-by: Karthik Nadig <[email protected]>
--------------------
Commit message for microsoft/vscode-python@6e8c56c:

Bump dev version 2024.1 (microsoft/vscode-python#22805)



Lead-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Aydar Kamaltdinov <[email protected]>
Co-authored-by: paulacamargo25 <[email protected]>
Co-authored-by: Luciana Abud <[email protected]>
Co-authored-by: Courtney Webster <[email protected]>
Co-authored-by: Anthony Kim <[email protected]>
Co-authored-by: Isabel Zimmerman <[email protected]>
Co-authored-by: Eleanor Boyd <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: GitHub <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug experimenting Feature is part of an experiment needs PR Ready to be worked on regression Bug didn't exist in a previous release triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants