Closed simingy closed 9 months ago
traced this a bit more, it seems like
unicon.plugins
is a dependency to unicon, it gets put in place first (installed)unicon.plugins
, it removes what was just installed from step 1hence the conflict.
should these installs be sandboxed?
Thanks for the report. It is strongly related to #4625.
This is functionally the same issue as https://github.com/pypa/pip/issues/4625 but showing up in the context of an uninstall, and causing a breakage due to install ordering. I'll consolidate this into that one, since resolving that issue will involve figuring out what to do in such cases.
Environment
inside a virtual environment created using python3 -m venv note that all packages are in .whl format.
Description Given this package: https://pypi.org/project/unicon/ In all versions of Unicon up to and including v19.10, it was a single package.
in v19.11 we split the package into
unicon
, andunicon.plugins
. namely, the folderunicon/plugins
was moved from the single "unicon" package, into unicon.plugins package, with Unicon now having unicon.plugins as a dependency.the idea was that we could just
pip install --upgrade unicon
and because of the dependency, the plugins package is installed automatically.This works during clean install, but if anyone had unicon package <19.11, and does an upgrade, most files from
unicon/plugins
folder are missing.I think the reasoning behind this bug is that:
unicon/plugins
folder was originally part of unicon <v19.11Expected behavior
or
on upgrade, don't delete files from the dependency package.
How to Reproduce
pip install unicon==19.10
, check files exists under lib/python*/site-packages/unicon/pluginspip install --upgrade unicon
, check files are mostly missing from the above directoryOutput