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

python extension asks to restart the extension host #243138

Open
DonJayamanne opened this issue Mar 11, 2025 · 1 comment · May be fixed by #243287
Open

python extension asks to restart the extension host #243138

DonJayamanne opened this issue Mar 11, 2025 · 1 comment · May be fixed by #243287
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-kernel-picker
Milestone

Comments

@DonJayamanne
Copy link
Contributor

Installing Python extension in dev container results in user being prompted to reload VS Code.

https://github.com/microsoft/vscode-copilot/issues/14034

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug notebook-kernel-picker labels Mar 11, 2025
@DonJayamanne DonJayamanne added this to the March 2025 milestone Mar 11, 2025
@DonJayamanne DonJayamanne changed the title python extension asks to restart the extension host and the generated notebook fails to open python extension asks to restart the extension host Mar 11, 2025
@DonJayamanne
Copy link
Contributor Author

The reason is as follows

  • Stable version of Python ext is already installed
  • Open VS Code insiders
  • When using Kernel picker to install recommended extensions Python + Jupyter, then we end up installing pre-release versions of Python & Jupyter extension.
  • In remote when ever we update/install a new version of an extension, we cannot just restart extension host, we must reload the window.

Solutions

  • If extension is already installed, there's no need to change the flavour of install from stable -> pre-release & vice versa.
    This way we do not switch from stable to pre-release version of Python extension.
  • Given this prompt is harmless in the context of Python, we could do nothing at all, (but could be misleading to users)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug notebook-kernel-picker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant