-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
When using the Python Extension API, the resolve Enviornments have an incorrect type for the property workspaceFolder.
workspaceFolder is not a Uri object, but a regular Object.
I've looked at the code, the problem is the fact that enviornments are serialized into JSON and then restored back again when storing from/into the memento.
Note: Objects with Uris cannot be stored in Memento nor can they be serialized into JSON and then parsed back
This is causing issues in the Python extension and new environments are not geting picked up because we're now filtering these enviornments based on the workspace Folder, however since the worksapceFolder isn't a Uri object the conditions fail and as a result new Python virtual envoirnments end up getting excluded in Jupyter extension.