@@ -96,18 +96,19 @@ def get_cache_info(self, options: Values, args: List[Any]) -> None:
96
96
http_cache_location = self ._cache_dir (options , "http-v2" )
97
97
old_http_cache_location = self ._cache_dir (options , "http" )
98
98
wheels_cache_location = self ._cache_dir (options , "wheels" )
99
- http_cache_size = filesystem .format_directory_size (http_cache_location )
100
- old_http_cache_size = filesystem .format_directory_size (old_http_cache_location )
99
+ http_cache_size = (
100
+ filesystem .format_directory_size (http_cache_location ) +
101
+ filesystem .format_directory_size (old_http_cache_location )
102
+ )
101
103
wheels_cache_size = filesystem .format_directory_size (wheels_cache_location )
102
104
103
105
message = (
104
106
textwrap .dedent (
105
107
"""
106
- Package index page cache location (new): {http_cache_location}
107
- Package index page cache location (old): {old_http_cache_location}
108
- Package index page cache size (new): {http_cache_size}
109
- Package index page cache size (old): {old_http_cache_size}
110
- Number of HTTP files (old+new cache): {num_http_files}
108
+ Package index page cache location (pip v23.3+): {http_cache_location}
109
+ Package index page cache location (older pips): {old_http_cache_location}
110
+ Package index page cache size: {http_cache_size}
111
+ Number of HTTP files: {num_http_files}
111
112
Locally built wheels location: {wheels_cache_location}
112
113
Locally built wheels size: {wheels_cache_size}
113
114
Number of locally built wheels: {package_count}
@@ -117,7 +118,6 @@ def get_cache_info(self, options: Values, args: List[Any]) -> None:
117
118
http_cache_location = http_cache_location ,
118
119
old_http_cache_location = old_http_cache_location ,
119
120
http_cache_size = http_cache_size ,
120
- old_http_cache_size = old_http_cache_size ,
121
121
num_http_files = num_http_files ,
122
122
wheels_cache_location = wheels_cache_location ,
123
123
package_count = num_packages ,
0 commit comments