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

Kernel list truncates Python version number #15754

Closed
fonnesbeck opened this issue Jun 10, 2024 · 2 comments
Closed

Kernel list truncates Python version number #15754

fonnesbeck opened this issue Jun 10, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@fonnesbeck
Copy link

Environment data

  • VS Code version: 1.90.0
  • Jupyter Extension version (available under the Extensions sidebar): v2024.5.0
  • Python Extension version (available under the Extensions sidebar): v2024.8.0
  • OS (Windows | Mac | Linux distro) and version: Fedora 40
  • Python and/or Anaconda version: Various
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Remote

Expected behaviour

When selecting a kernel for use with the Jupyter extension, the proper Python version numbers should be displayed.

Actual behaviour

The version numbers are truncated. Instead of "Python 3.11" or "Python 3.12" (the only versions I have installed) it shows just "Python 3.1" and this results in a warning about supported versions when I try and use them.

image

image

@fonnesbeck fonnesbeck added the bug Issue identified by VS Code Team member as probable bug label Jun 10, 2024
@marcus-k
Copy link

I am encountering the same issue with a new install of VS Code with the Jupyter extension. Sometimes the version is reported as 3.1, 3.1.-1, or 3.1.undefined as well, seemingly as random. The version numbers change between each time I re-open VS Code.

@DonJayamanne
Copy link
Contributor

Duplicate of microsoft/vscode-python#23580

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants