You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove existing package before develop mode install
setuptools has changed its default behaviour whe installing packages
installed in "develop mode" (i.e. pip -e) from being inserted first in
sys.path to being added last (for details, see the bug).
This means that if "pip install -e" a git tree to work on something
but have the original package installed from PyPi (etc.), you will not
actually be importing the development version. During interactive
development you'll probably notice that your changes aren't applying
and start digging around, but this behaviour change could be very bad
in a CI situation where you *think* you've installed a development
version but really, with setuptools>=25, you're just testing the
release version.
This change removes an existing install before deploying in develop
mode. This way we only have one copy of the package and avoid
ordering issues. A new test is added.
Fixes#3874
0 commit comments