-
Notifications
You must be signed in to change notification settings - Fork 3k
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
confirming dependencies when uninstall package #4245
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need a few tests for this
pip/req/req_install.py
Outdated
[dist for d in dist.requires() if d.key == self.req.name]) | ||
if not dep_keys: | ||
return True | ||
print("%s is depended from:" % self.req) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be using logger.info
to provide feedback to the user.
pip/req/req_install.py
Outdated
return True | ||
logger.info("%s is depended from:" % self.req) | ||
for dep in dep_keys: | ||
print(dep) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
erm, same comment for this print :o
A rebase on master and a few tests would also be needed 👍 |
cec6f4e
to
32f6645
Compare
this PR is affected from 893f0b0. |
Yes, we are trying to simplify the RequirementSet and RequirementInstall object. |
Please also note that we don't use |
7b48f3e
to
66ca197
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
aa54594
to
17bc4b7
Compare
@xavfernandez please review this PR! |
need confirming dependencies when upgrade package also. |
@zaazbb OK, I'm sure to need confirming on upgrading packaging too. |
I'd suggest you make another PR for that -- that PR would need discussion. :) |
@pradyunsg i think so. |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
Pinging @aodag! :) |
Linking to #4001 |
@pfmoore i rewrote to check once for everything and added tests for some situations. |
travis-ci terminated the test for pypy3.
|
What else can I do? |
@pfmoore what should i do somthing? |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
BrownTruck, you are my best friend. |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
Closing this since it's bitrotten. Please file a new PR if there's still interest in this. |
when i uninstall package, i want to know packages depends to that.
this PR adds checking packages depends to uninstalling, and confirming.
confirm_dependencies
to helper functioninstalled_packages