-
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
Upgrade nonsense #5600
Comments
@teo1978 The language you've to describe the issue does make it very, uhm, non-inviting to respond to. I'll assume good intentions here. Anyways, the incorrect installed version reporting was a bug in older versions of pip. This is no longer an issue in newer versions of pip. Can you confirm that pip 10.0.1 was indeed installed? Other than that, your distro should have patched pip to not be showing that message when used. I doubt I can comment more on this issue due to time constraints; hope the above helps. :) |
I believe that Ubuntu is defaulting to With regard to the message, it's legitimate for a pip not installed as part of a system package. Ideally distro vendors would have patched that message out when it's inappropriate, but they didn't - we're working with them on that in #5346. #5599 is relevant here, as it discusses some of the pitfalls involved in upgrading system installations of pip manually. The problem on Ubuntu is that you're hitting (3) in the "General Advice" section, but Ubuntu have patched the defaults so you don't know that's what you're doing. On another note, please consider your tone and whether you're criticising the right people when reporting issues. In this case you've been fairly critical of pip's maintainers (the description "bullshit" isn't exactly friendly) when actually it's entirely an Ubuntu issue. |
Thanks @pfmoore for providing a more elaborate explanation here. I didn't think about the Ubuntu |
I'm trying to check that but I get:
so it looks like my installation is completely broken now.
I don't understand what it is that you both seem to find so offensive. The only thing that I find might be perceived as out of tone in my report is the use of the word "bullshit", but that was just meant a statement of facts: the message is "bullshit" in that it is false and misleading, whatever the cause. I didn't think it would sound offensive.
I didn't criticise anybody. I just described what went objectively wrong, I didn't make any speculation as to who is to "blame" or who's fault it is. Another thing is that I may have reported it to the wrong people, but until one knows the exact cause of an issue (in which case I might as well fix it myself and issue a pull request) one can only try to guess who the issue belongs to and report it to the project that seems most likely to be responsible for it, and of course there's a margin of error. Often I waste my time reporting issues to Ubuntu and the reply (usually 4 years later) is that it is an upstream issue. This time apparently it was the other way around. |
It's quite possible you can simply fix your |
Thank you, I appreciate you trying to help, but I didn't expect anybody to debug "my issue for me". I came here to report what I believed to be your issue (which instead appears to be my distro's issue) to you. |
IMO, there's nothing actionable here from pip's end -- as you noted, this needs changes to be made from your distro's end. I'll go ahead and close this issue since all the related work for this issue (like better communication with distro packagers) are being tracked and done elsewhere. :) Thanks for filing this issue @teo1978! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Environment
First I did:
I know, if this installed a version that is not the latest, that's expected because I'm using my distro's package manager.
Then I used pip once to install some package, it's irrelevant which one:
The output ended with:
Now, that's telling me that the command
pip install --upgrade pip' command
will allow me to upgrade to 10.0.1. Actually, it strongly suggests that it will upgrade to that specific version, it doesn't quite say that, but it does definitely promise that it will upgrade.I ran:
And the output was:
Now, if that is expected for whatever reason, then the message telling me to upgrade via this command was bullshit.
The text was updated successfully, but these errors were encountered: