Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump all linters other than mypy (#11901) | Pradyun Gedam | 2023-03-27 | 1 | -1/+0 |
| | |||||
* | Textual: "locally built" rather than "built" | Klaas van Schelven | 2022-07-26 | 1 | -3/+3 |
| | | | | As per @sbidoul's remark | ||||
* | Clarify pip cache output | Klaas van Schelven | 2022-07-25 | 1 | -4/+4 |
| | | | | | | | | | | | | | | pip cache reported 'Nothing cached' and 'Number of wheels: 0' even when things were obviously cached. The reason, as per @uranusjr's comment is 1. If a wheel is downloaded (from a secure source), pip uses the network layer cache (provided by a requests extension implemented with cachecontrol) in ${CACHE_DIR}/http. 2. If a wheel is built from source, pip caches it separately in ${CACHE_DIR}/wheels. 3. The pip cache list command is currently only capable of showing entries in the wheel cache, not the network cache. The solution is to clarify what `pip cache` is reporting about. | ||||
* | cache: Do not raise error when there are no files to remove | Noah Gorny | 2021-09-28 | 1 | -2/+6 |
| | | | | Instead log a warning and continue (to log that we removed 0 files) | ||||
* | Harmonize type signature of Command.run() | Jon Dufresne | 2021-09-03 | 1 | -1/+1 |
| | |||||
* | Concatenate same-line strings | Pradyun Gedam | 2021-07-23 | 1 | -10/+8 |
| | | | | | This is suboptimal behaviour in black that'll hopefully get fixed in the near future. | ||||
* | Blacken src/pip/_internal/commands/ | Pradyun Gedam | 2021-07-23 | 1 | -41/+46 |
| | | | | Progresses the black formatting of the codebase further. | ||||
* | Complete type annotations in `pip/_internal/commands` (#10182) | Harutaka Kawamura | 2021-07-23 | 1 | -24/+12 |
| | |||||
* | use setLoggerClass to define log.verbose | Min RK | 2021-06-11 | 1 | -4/+3 |
| | | | | | | | loaded in pip._internals.__init__ must use utils.logging.getLogger to get the right type annotation instead of logging.getLogger, despite no actual difference in behavior | ||||
* | -v shows subprocess output | Min RK | 2021-03-12 | 1 | -2/+3 |
| | | | | | | | | adds VERBOSE custom log level between DEBUG and INFO used when `-v` is given. Now require -vv to enable full debug output. Messages can be logged with VERBOSE level to promote them to `-v` output instead of `-vv` | ||||
* | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -6/+2 |
| | | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency | ||||
* | Replace pip._internal.utils.typing with stdlib typing | Jon Dufresne | 2021-02-18 | 1 | -2/+2 |
| | | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim. | ||||
* | Use f-strings for simple string formatting | Jon Dufresne | 2020-12-25 | 1 | -1/+1 |
| | | | | | | | Use pyupgrade to convert simple string formatting to use f-string syntax. pyupgrade is intentionally timid and will not create an f-string if it would make the expression longer or if the substitution parameters are anything but simple names or dotted names. | ||||
* | Remove __future__ imports | Jon Dufresne | 2020-12-24 | 1 | -2/+0 |
| | | | | Unnecessary since dropping Python 2. | ||||
* | Rename to 'Package index page cache location' | Hugo van Kemenade | 2020-10-02 | 1 | -2/+2 |
| | |||||
* | Include http directory in 'pip cache info' and 'pip cache purge' | Hugo van Kemenade | 2020-09-24 | 1 | -10/+31 |
| | |||||
* | Use format options for abspath | Devesh Kumar Singh | 2020-09-11 | 1 | -13/+29 |
| | |||||
* | Add option to output full path of cache enty | Devesh Kumar Singh | 2020-09-11 | 1 | -4/+19 |
| | |||||
* | Clean up code style changes | Pradyun Gedam | 2020-07-17 | 1 | -2/+4 |
| | | | | | | Toward minimizing style changes in the overall PR diff, or toward consistency with the future use of black (in cases where I wasn't sure of a good way to minimize the diff). | ||||
* | Enable flake8-logging-format | Nguyễn Gia Phong | 2020-07-17 | 1 | -3/+2 |
| | |||||
* | Apply suggestion from review comments | Pradyun Gedam | 2020-05-23 | 1 | -1/+1 |
| | |||||
* | Fix pip cache docstring to render correctly in docs | Devesh Kumar Singh | 2020-05-23 | 1 | -6/+6 |
| | |||||
* | Merge pull request #8157 from pradyunsg/cache/ignore-require-venv | Pradyun Gedam | 2020-04-28 | 1 | -0/+1 |
|\ | |||||
| * | Ignore require-virtualenv in `pip cache` | Pradyun Gedam | 2020-04-28 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #8095 from hugovk/pip-cache-dir2 | Pradyun Gedam | 2020-04-28 | 1 | -0/+10 |
|\ \ | |/ |/| | |||||
| * | Add 'pip cache dir' command to show the path to pip's cache directory | Hugo | 2020-04-20 | 1 | -0/+10 |
| | | |||||
* | | commands: cache: Abort early if cache is disabled | Noah Gorny | 2020-04-24 | 1 | -0/+5 |
|/ | |||||
* | [commands/cache] Have `pip cache info` raise an exception if it gets any ↵ | Ellen Marie Dash | 2020-04-01 | 1 | -0/+3 |
| | | | | arguments. | ||||
* | [commands/cache] Remove unnecessary re-definition of __init__. | Ellen Marie Dash | 2020-04-01 | 1 | -4/+0 |
| | |||||
* | [commands/cache] Make _find_wheels(), and this `pip cache {list,remove}` ↵ | Ellen Marie Dash | 2020-04-01 | 1 | -1/+20 |
| | | | | behave more predictably. | ||||
* | [commands/cache] Reformat output of `pip cache info` | Ellen Marie Dash | 2020-04-01 | 1 | -4/+3 |
| | | | Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> | ||||
* | [command/cache, utils/filesystem] Use existing format_size; remove ↵ | Ellen Marie Dash | 2020-04-01 | 1 | -2/+2 |
| | | | | _friendly_size; rename friendly_*_size to format_*_size for consistency. | ||||
* | [commands/cache] Reformat (more) documentation. | Ellen Marie Dash | 2020-04-01 | 1 | -2/+2 |
| | | | Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> | ||||
* | [commands/cache] Reformat documentation. | Ellen Marie Dash | 2020-04-01 | 1 | -8/+4 |
| | | | Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> | ||||
* | [commands/cache] Correct argument name in documentation for `pip cache list`. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | [commands/cache] Be explicit about `pip cache` only working on the wheel cache. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | [commands/cache] Avoid use of "(s)" suffix. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+1 |
| | | | | | | As @hugovk pointed out, it can cause problems sometimes: https://github.com/pypa/pip/pull/6391#discussion_r366259867 | ||||
* | [commands/cache] Minor clean-up. | Ellen Marie Dash | 2020-04-01 | 1 | -5/+5 |
| | | | | | | | | - Consistently use singular 'cache' (not plural 'caches'). - Remove unnecessary uses of the word 'currently'. - Use 'file(s)' instead of 'files', to account for case of only one file. - Use .format() when appropriate. - Minor cleanup of `pip cache`-related files in docs/. | ||||
* | [commands/cache] Add file size information. | Ellen Marie Dash | 2020-04-01 | 1 | -9/+16 |
| | |||||
* | [commands/cache] Add missing type annotation. | Ellen Marie Dash | 2020-04-01 | 1 | -0/+1 |
| | |||||
* | [commands/cache] Use location of wheel cache dir specifically. | Ellen Marie Dash | 2020-04-01 | 1 | -2/+5 |
| | |||||
* | [commands/cache] Change pattern suffix from -*.whl to *.whl. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | [commands/cache] Refactor get_cache_info(). | Ellen Marie Dash | 2020-04-01 | 1 | -6/+9 |
| | |||||
* | [commands/cache] Raise errors if wrong number of args. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+10 |
| | | | | Also add tests for purge_cache, since I apparently forgot those before. | ||||
* | [commands/cache] Add docs for 'pip cache' command. | Ellen Marie Dash | 2020-04-01 | 1 | -5/+10 |
| | |||||
* | [commands/cache] More refactoring of cache command | Ellen Marie Dash | 2020-04-01 | 1 | -15/+8 |
| | |||||
* | [commands/cache] fix 'pip cache info'; don't hide python/abi/platform tags. | Ellen Marie Dash | 2020-04-01 | 1 | -9/+2 |
| | |||||
* | [commands/cache] Refactor + fix linting failures. | Ellen Marie Dash | 2020-04-01 | 1 | -40/+72 |
| | |||||
* | Add 'pip cache' command. | Ellen Marie Dash | 2020-04-01 | 1 | -0/+106 |