Commit Graph

9340 Commits

Author SHA1 Message Date
Ellen Marie Dash 2d978309a2 [commands/cache] Minor clean-up.
- 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/.
2020-04-01 16:54:42 -04:00
Ellen Marie Dash 554133a90e [commands/cache] Add file size information. 2020-04-01 16:54:42 -04:00
Ellen Marie Dash 61a0adcfe7 [commands/cache] Add missing type annotation. 2020-04-01 16:54:04 -04:00
Ellen Marie Dash 94a6593a59 [commands/cache] Add HTML docs for `pip cache`. 2020-04-01 16:54:04 -04:00
Ellen Marie Dash 61dd0bc16c [commands/cache] Use location of wheel cache dir specifically. 2020-04-01 16:54:04 -04:00
Ellen Marie Dash c838a67178 [commands/cache] Change pattern suffix from -*.whl to *.whl. 2020-04-01 16:54:04 -04:00
Ellen Marie Dash 6fb1ee7a3d [commands/cache] fix linting error. 2020-04-01 16:54:04 -04:00
Ellen Marie Dash 9563dfb526 [commands/cache] Refactor get_cache_info(). 2020-04-01 16:54:03 -04:00
Ellen Marie Dash 50604be6c4 [commands/cache] Raise errors if wrong number of args.
Also add tests for purge_cache, since I apparently forgot those before.
2020-04-01 16:54:03 -04:00
Ellen Marie Dash d57dcd934e [commands/cache] Add news file for cache command. 2020-04-01 16:54:03 -04:00
Ellen Marie Dash 8ae71adbea [commands/cache] Add docs for 'pip cache' command. 2020-04-01 16:54:03 -04:00
Ellen Marie Dash c59ced6942 [commands/cache] More refactoring of cache command 2020-04-01 16:54:03 -04:00
Ellen Marie Dash b9b29b8c10 [commands/cache] fix 'pip cache info'; don't hide python/abi/platform tags. 2020-04-01 16:54:03 -04:00
Ellen Marie Dash b0e7b66326 [commands/cache] Refactor + fix linting failures. 2020-04-01 16:54:03 -04:00
Ellen Marie Dash 04c0b0e6eb Add 'pip cache' command. 2020-04-01 16:54:03 -04:00
Paul Moore 657cf2515b
Merge pull request #7929 from McSinyx/tmp-file
Use better temporary files mechanism
2020-04-01 16:47:30 +01:00
Pradyun Gedam 43f82c27f5
Merge pull request #7938 from deveshks/remove-obsolete-git-urls
Remove VCS urls pertaining to git protocol from docs
2020-04-01 21:05:27 +05:30
Nguyễn Gia Phong 209c74f690 Use better temporary files mechanism 2020-04-01 22:02:34 +07:00
Devesh Kumar Singh 8f0dbec573 Updated clarification on unsafe urls 2020-04-01 19:38:41 +05:30
Devesh Kumar Singh d166adaee5 Merge branch 'master' into remove-obsolete-git-urls 2020-04-01 19:36:31 +05:30
Pradyun Gedam 7b02273f3e
Merge pull request #7927 from deveshks/raise-exception-if-rev-empty-git-url
Raise an exception if revision is empty in git url
2020-04-01 18:17:36 +05:30
Pradyun Gedam 0c30b45ce2
Merge pull request #7947 from pradyunsg/docs/nicer-formatting-vcs-support
Use a code block for denoting directory structure
2020-04-01 18:15:03 +05:30
Pradyun Gedam 895fe94240
Merge pull request #7950 from ilanschnell/combine-yaml
combine yaml test functionality into single module
2020-04-01 05:07:30 +05:30
Ilan Schnell 83ba23989d remove extra whitespace 2020-03-31 15:55:16 -05:00
Ilan Schnell 9de02c2b41 better naming of constant 2020-03-31 15:47:43 -05:00
Ilan Schnell 2a8f5705b2 combine yaml test functionality into single module 2020-03-31 15:35:29 -05:00
Devesh Kumar Singh 9af42c27e8 Clarification on removed urls 2020-03-31 20:40:57 +05:30
Pradyun Gedam 91444f546e
Avoid Sphinx from justify-expanding code block 2020-03-31 20:13:15 +05:30
Devesh Kumar Singh 59df536906 Update newsfile message 2020-03-31 20:10:35 +05:30
Pradyun Gedam c5908bd222
Use a code block for denoting directory structure 2020-03-31 18:45:05 +05:30
Paul Moore 534561cbec
Merge pull request #7945 from uranusjr/unit-tests-new-resolver
Rename unit tests to use the new_resolver scheme
2020-03-31 10:55:09 +01:00
Pradyun Gedam 0f7fac3a3d
Merge pull request #7801 from uranusjr/yanked-link-refactor
Move wheel cache out of InstallRequirement
2020-03-31 15:14:37 +05:30
Pradyun Gedam 827539544f
Merge pull request #7943 from ilanschnell/remove-scripttest
remove proxy module tests/lib/scripttest.py in favour of importing fr…
2020-03-31 14:36:09 +05:30
Tzu-ping Chung 64c78a5875 Rename unit tests to use the new_resolver scheme 2020-03-31 16:19:41 +08:00
Devesh Kumar Singh 6fbf80a9f9 Remove vcs urls pertaining to git protocol from docs 2020-03-31 13:35:05 +05:30
Ilan Schnell 6db7f42186 sort imports 2020-03-31 01:42:40 -05:00
Ilan Schnell 2c6a063a27 remove proxy module tests/lib/scripttest.py in favour of importing from tests.lib directly 2020-03-31 01:25:45 -05:00
Xavier Fernandez d79632a7a9 Remove test bugfix
This does not impact our users & should not appear in the changelog
2020-03-30 23:18:12 +02:00
Tzu-ping Chung 4a453e12d4 Reword docstring to match code 2020-03-31 01:31:11 +08:00
Tzu-ping Chung 799ffcbfe1 One arg per line 2020-03-31 01:29:15 +08:00
Devesh Kumar Singh 0d2ca67729 Changed ValueError to InstallationError 2020-03-30 22:29:40 +05:30
Pradyun Gedam 57cb941645
Merge pull request #7891 from deveshks/ignore-uninstall-error-if-easy-install-missing
Don't fail uninstallation if easy-install.pth doesn't exist
2020-03-30 21:42:38 +05:30
cjc7373 c388315bc0 Clarify the usage of --no-binary and --only-binary command 2020-03-30 16:57:24 +02:00
Tzu-ping Chung 1514d85a08 Fix wheel_cache argument for the new resolver 2020-03-30 17:37:28 +08:00
Tzu-ping Chung 6db0df928c Move wheel cache out of InstallRequirment 2020-03-30 17:36:03 +08:00
Devesh Kumar Singh 0d2954d726 Add test to ensure egg-link is removed after uninstall 2020-03-30 01:31:08 +05:30
Devesh Kumar Singh 051c3988b0 Reworded the news entry 2020-03-29 23:50:54 +05:30
Jason R. Coombs 019637cc67
Merge pull request #7930 from gutsytechster/strict_svn_check
fix(tests/lib): Catch `subprocess.CalledProcessError` in need_executable
2020-03-29 12:54:20 -04:00
Nguyễn Gia Phong 03f0ff440d Fix rst syntax in Getting Started guide 2020-03-29 15:17:42 +02:00
gutsytechster 315447d170 fix(tests/lib): Catch `subprocess.CalledProcessError` in need_executable
This fixes https://github.com/pypa/pip/issues/7924
2020-03-29 16:21:02 +05:30