Skip to content
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

Filtering outdated packages does nothing. #6098

Closed
AWolters-ru opened this issue Dec 25, 2018 · 3 comments
Closed

Filtering outdated packages does nothing. #6098

AWolters-ru opened this issue Dec 25, 2018 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation C: list/show 'pip list' or 'pip show' resolution: duplicate Duplicate of an existing issue/PR

Comments

@AWolters-ru
Copy link

Environment

  • pip version: 18.1
  • Python version: 3.6.0
  • OS: Windows 10, Version 1803

Description
When running pip list --outdated or pip list --uptodate, the programm just freezes for what seems to be ever and does not give any output. Same thing with python -m pip, too.

Expected behavior
Either a list of the outdated or of the not outdated packages(depending on the option) should be printed to the console.

How to Reproduce
Just run one of the commands above.

Output
pip list --oudated
At least 30 minutes of nothing
(In red:) Operation cancelled by user.

@pradyunsg pradyunsg added the S: needs triage Issues/PRs that need to be triaged label Jan 20, 2019
@squaresmile
Copy link

I also experienced this problem. Here is the verbose log:

1 location(s) to search for versions of ipython:
* https://pypi.org/simple/ipython/
Getting page https://pypi.org/simple/ipython/
Looking up "https://pypi.org/simple/ipython/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/ipython/ HTTP/1.1" 200 21972
Updating cache with response from "https://pypi.org/simple/ipython/"
Caching due to etag
Exception information:
Traceback (most recent call last):
  File "c:\users\squaresmile\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\lockfile\mkdirlockfile.py", line 40, in acquire
    os.mkdir(self.lock_file)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'c:\\users\\squaresmile\\appdata\\local\\pip\\cache\\http\\c\\a\\4\\0\\5\\ca40521d6f4ca2bc510659d13a3cff56d7241103db5d1e645bc10f8f.lock'

Removing the cache file fixed it. I don't know why it's there in the first place.

@chrahunt
Copy link
Member

This looks like it may be a duplicate of #3532.

@chrahunt chrahunt added C: list/show 'pip list' or 'pip show' resolution: duplicate Duplicate of an existing issue/PR labels Jul 24, 2019
@triage-new-issues triage-new-issues bot removed S: needs triage Issues/PRs that need to be triaged labels Jul 24, 2019
@pradyunsg
Copy link
Member

Sounds right to me. I'll close this eagerly -- if what @chrahunt said doesn't look right, please leave a comment.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Aug 23, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 23, 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 C: list/show 'pip list' or 'pip show' resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

4 participants