equinor / komodoenv

Komodoenv is the virtualenv of the Komodo world
GNU General Public License v3.0
1 stars 3 forks source link

Remove messages about not being able to uninstall packages from `/prog/res/komodo` #52

Open pinkwah opened 1 year ago

pinkwah commented 1 year ago

Pip install does:

  1. Install package into the user's komodoenv
  2. Try to remove the old package

Well, if the package is installed into /prog/res/komodo proper then it won't be able to remove the package due to correctly missing permissions.

It's weird that it tries at all. This issue should be considered resolved if any of these are done:

  1. We patch pip so that it doesn't try to do anything with /prog/res/komodo at all
  2. We patch pip so that it doesn't output warnings about not having permissions