-
Notifications
You must be signed in to change notification settings - Fork 289
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
Test adoption of the new Python Extension API #11755
Comments
@rebornix 's check list
|
How do I do this? I've only ever used the conda terminal to work directly with conda.
Python environments is not an event in time. Do you mean before all python environments are loaded in the kernel picker? |
This exhibits on my machine pretty easily. I do see the Kernel Specs and can pick one before the Python Environments load. |
@IanMatthewHuff 's Copy:
|
There are more kernels listed now since it's finding all venvs in other workspaces, but I think you expected that? |
Python did add a new Python Create Environment Command, I'm testing both that and creating one manually. |
I couldn't get conda to work, similar to what @amunger was seeing. Other than this, it works great in overall, filed a couple of issues but they don't seem to be new. Good job @DonJayamanne 👍 |
A few show up before the remotes are listed, but the remotes come in quite a bit before the bulk of the local ones show up. |
also had the same feedback as @IanMatthewHuff mentioned at one point - the list is a lot bigger now, and it is difficult to find my typical kernel that I use since it's buried within all the kernels from other workspaces |
This isn't actually related right? |
Oops, no, you're right |
I literally spent all afternoon and evening trying to get python installed in WSL. I finally have a working setup, was able to get started, will finish testing first thing tomorrow. |
Same question as Aaron about
Does this just mean I should see environments loaded gradually, rather than none until they are all available? Or is this specifically about the ordering of particular types of environments, like are you looking for kernel specs that I registered to show up before global Python environments? |
If you are lucky to have a slow machine, then yo'll see environments load gradually.
Sorry, I should have been more specific. I shoudl have stated that you can pick kernel specs before ALL python envrionmetns are loaded. I.e. over time you should see more & more python envs getting added to the list. |
Testing adoption of the new Python Extension API for discovering Python Enviornmnents
Refs: #7583
Complexity: 5
Authors: @DonJayamanne
Create Issue
Pre-Test
Requirements
Scenarios to test
Verify the same kernels (kernel specs and Python environments) are still displayed in the kernle picker
New Virtual environments are detected and displayed in the Kernel picker
Note: You need to have already executed a cell in some notebook
Then create a virtual environment within VS Code
I.e. the goal is to test detection of new virtual envs after the extension has been used for a while
To test this, create a few variables, at least one with a list e.g.
a = [1,2,3]
and use the variable viewer to open the variablea
New Conda environments are detected and displayed in the Kernle picker
Note: You need to have already executed a cell in some notebook
Then create a conda environment within VS Code
I.e. the goal is to test detection of new virtual envs after the extension has been used for a while
To test this, create a few variables, at least one with a list e.g.
a = [1,2,3]
and use the variable viewer to open the variablea
Re-load VS Code and verify you can pick a Kernel Spec before Python environments
I'm hoping some machines are slow enough and we can see Kernel Specifications before Python environments in the kernel picker.
In the past we regressed in this space and Jupyter extension waited for ALL python environnents to be loaded before displaying Kernel Specs on disc.
We're verifyhing the fact that some kernels will appear before others
Verify local kernel specs appera before Remote Kernel specs
Connect to a local Jupyter server after having started a jupyter server using
jupyter notebook --no-browser --NotebookApp.allow_origin=*
In the past we regressed in this space and Jupyter extension waited for ALL python environnents to be loaded before displaying Kernel Specs on disc.
We're verifyhing the fact that some kernels will appear before others
Verify debugging works and uses the right Python environment
Test other parts of the extension that you believe could be impacted by adopting the new Python Extension API
The text was updated successfully, but these errors were encountered: