Skip to content

Conversation

@karrtikr
Copy link

@karrtikr karrtikr commented Sep 22, 2021

Closes #17492

@karrtikr karrtikr added no-changelog No news entry required skip tests Updates to tests unnecessary labels Sep 22, 2021
@karrtikr karrtikr changed the title Always trigger discovery as part of activation Fix getAllInterpreters API by always trigger discovery as part of activation Sep 22, 2021
@karrtikr karrtikr changed the title Fix getAllInterpreters API by always trigger discovery as part of activation Fix getAllInterpreters API by always triggering discovery as part of activation Sep 22, 2021
@rchiodo
Copy link

rchiodo commented Sep 22, 2021

This didn't seem to fix the bug. It still doesn't get the list.

Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discovery might still not be finished when jupyter asks? Jupyter is the one to load the python extension and it is probably doing this as it's requesting the kernels.

@karrtikr
Copy link
Author

@rchiodo I have merged both the fixes in this branch.

@rchiodo
Copy link

rchiodo commented Sep 22, 2021

Thanks, building the vsix now

@rchiodo
Copy link

rchiodo commented Sep 22, 2021

Latest after merge works for me

@karrtikr karrtikr merged commit 49dc58c into microsoft:main Sep 22, 2021
@karrtikr karrtikr deleted the jupyuet branch September 22, 2021 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetInterpreterList does not pick up newly added virtual environments (when called from Jupyter)

2 participants