equinor / komodoenv

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

Editable installs of packages installing into komodo proper don't work #44

Closed pinkwah closed 3 months ago

pinkwah commented 2 years ago

If one pip installs with --editable, doing pywhich X will point to the old version of the package rather than the new.

Renaming the file to something that comes late alphabetically will mean it gets found last, and thus any overridden package is found earlier.

xjules commented 1 year ago

Tested it (while installing ert with -e) and it seems to be still an issue.

pinkwah commented 1 year ago

Yes. I have tried different things and none of them are reproducible. I am half-convinced that in order for komodoenv to live up to its promise we'd need to implement our own site.py (ie, the Python module that does the resolving of site packages)

Not sure though.