Skip to content

List HTTP caches as well in pip cache list #10460

@jacekt

Description

@jacekt

Description

pip by default stores http responses in cache instead of whl files (at least on Win). pip cache list doesn't display those files.

Expected behavior

pip cache list should display files from http cache (with proper *.whl names, not hash).

pip version

pip 21.2.4 from c:\program files\python38\lib\site-packages\pip (python 3.8)

Python version

Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]

OS

Win7 (64 bit)

How to Reproduce

> pip cache info
> pip cache list

Output

> pip cache info
Package index page cache location: c:\users\user\appdata\local\pip\cache\http
Package index page cache size: 731.3 MB
Number of HTTP files: 359
Wheels location: c:\users\user\appdata\local\pip\cache\wheels
Wheels size: 0 bytes
Number of wheels: 0

> pip cache list
Nothing cached.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions