-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv uninstall leaves entry in Pipfile [packages] #3529
Comments
Well spotted, I think setuptools is a particular case here. You'll get the same issue with 'distribute' and 'pip' packages. If you do This might be related to #3523 , where pipenv will add stuff to Pipfile even if install doesn't actually do anything. |
@geoffroy-noel-ddh Thanks for your explanation, close this issue now. |
Same is happening with 'wheel' package. I can see entry in Piplock file as well when I install it. But is this not getting removed in case if pipenv uninstall |
This also happens with data-science-types. |
also happens .... always? |
happens with every package if you put version also so you can install with version, but you cannot uninstall with version... |
tl;dr
pipenv uninstall setuptools
does not remove the entry fromPipfile
section[packages]
.Steps to replicate
The generated
Pipfile
has contentsUninstall
setuptools
UNEXPECTED:
Pipfile
still has entrysetuptools = "*"
in section[packages]
(thePipfile
has not changed).EXPECTED:
pipenv
would remove entrysetuptools = "*"
in section[packages]
. The--help
output reads$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'c:\\python\\python37\\lib\\site-packages\\pipenv'
Python location:
'c:\\python\\python37\\python.exe'
Python installations found:
3.7.1
:C:\Python\Python37\python.exe
3.6.7
:C:\Python\Python36\python.exe
3.5
:C:\Python\Python35\python.exe
3.4
:C:\Python\Python34\python.exe
PEP 508 Information:
The text was updated successfully, but these errors were encountered: