Skip to content

Race condition on uninstall when setup.py develop is used #1662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
schlamar opened this issue Mar 20, 2014 · 2 comments
Closed

Race condition on uninstall when setup.py develop is used #1662

schlamar opened this issue Mar 20, 2014 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@schlamar
Copy link
Contributor

Steps to reproduce

  1. Install a package
  2. Install the same package from source with python setup.py develop
  3. Uninstall package with pip

Expected behavior: package is removed

Actual behavior: only develop egg-link gets removed, original install from 1. remains.

Example output

$ pip uninstall pytest-cov
Uninstalling pytest-cov:
  c:\python27\lib\site-packages\pytest-cov.egg-link
Proceed (y/n)? y
  Successfully uninstalled pytest-cov

$ pip uninstall pytest-cov
Uninstalling pytest-cov:
  c:\python27\lib\site-packages\pytest_cov-1.6-py2.7.egg-info
  c:\python27\lib\site-packages\pytest_cov.py
  c:\python27\lib\site-packages\pytest_cov.pyc
Proceed (y/n)? y
  Successfully uninstalled pytest-cov
@piotr-dobrogost
Copy link

Somehow related is issue #1552 although it's for pip install -e not setup.py develop directly.

@dstufft
Copy link
Member

dstufft commented Mar 22, 2017

This has been fixed and is no longer the case.

@dstufft dstufft closed this as completed Mar 22, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants