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

Changing a notebook's Python interpreter also changes the console's #5305

Closed
seeM opened this issue Nov 8, 2024 · 1 comment
Closed

Changing a notebook's Python interpreter also changes the console's #5305

seeM opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
area: notebooks Issues related to Notebooks category. bug Something isn't working

Comments

@seeM
Copy link
Contributor

seeM commented Nov 8, 2024

System details:

Positron and OS details:

Positron Version: 2024.12.0 (Universal) build 12
Code - OSS Version: 1.93.0
Commit: 13986d5
Date: 2024-11-07T02:43:29.573Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0

Interpreter details:

Any Python interpreter.

Describe the issue:

Changing the Python kernel for a notebook also changes the selected kernel for the console.

Steps to reproduce the issue:

  1. Open a Jupyter notebook.
  2. Change the selected kernel to another Python kernel.
  3. The console's interpreter will also change.

Expected or desired behavior:

The console interpreter should be unaffected by notebooks.

Were there any error messages in the UI, Output panel, or Developer Tools console?

Nope.

@seeM seeM added area: notebooks Issues related to Notebooks category. bug Something isn't working labels Nov 8, 2024
@seeM seeM added this to the 2024.12.0 Pre-Release milestone Nov 8, 2024
@seeM seeM self-assigned this Nov 8, 2024
seeM added a commit that referenced this issue Nov 9, 2024
Addresses #5305. I also added unit tests for the Python runtime session
class. They're not necessary for this specific change, but the setup
will be useful moving forward.

---------

Signed-off-by: Wasim Lorgat <mwlorgat@gmail.com>
Co-authored-by: Nick Strayer <nick.strayer@posit.co>
@testlabauto
Copy link
Contributor

Verified Fixed

Positron Version(s) : 2024.12.0-23
OS Version          : OSX

Test scenario(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: notebooks Issues related to Notebooks category. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants