posit-dev / positron

Positron, a next-generation data science IDE
Other
2.26k stars 68 forks source link

`ms-python.isort` does not vendor its dependencies in dev Positron builds #3338

Open seeM opened 2 months ago

seeM commented 2 months ago

I often see console logs like this from the ms-python.isort extension:

image

It makes it really hard to see actual errors. We should figure out why this is happening and how/whether we can resolve it.

seeM commented 2 months ago

After taking a closer look, a few points of clarification:

  1. We don't actually bundle the isort extension! I just happened to install it myself in a dev Positron.
  2. It works fine in Positron release builds.
  3. On Positron dev builds, the ${extensionDir}/bundled/lib folder doesn't exist. That folder is supposed to contain the isort Python package, along with other packages vendored by the extension.

Given the above, definitely not a priority IMO.