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
6fb1ee7a3d
[commands/cache] fix linting error.
2020-04-01 16:54:04 -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
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
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
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
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
0acfdcd719
Check for uninstalled package after deleting pth file
2020-03-28 11:07:52 +05:30
Devesh Kumar Singh
bcb4009688
Add a test case for missing easy-install.pth fix
2020-03-28 02:14:29 +05:30
Tzu-ping Chung
79f2553228
Use set operations in tests for readability
2020-03-27 02:39:33 +08:00
Paul Moore
fea9766fa2
Merge branch 'master' into new_resolver_extras
2020-03-26 15:49:43 +00:00
Paul Moore
a68345e81c
Warn if invalid extras are given
2020-03-26 14:53:24 +00:00
Paul Moore
7e97cf6426
Ignore invalid extras
2020-03-26 11:57:34 +00:00
Tzu-ping Chung
6d3a89c992
Add --no-deps test for the new resolver
2020-03-26 01:48:47 +08:00
Tzu-ping Chung
1a210d1c62
Improve utility to test installed env
...
Make assert_installed actually check the provided entries against the
pip --list output.
Add assert_not_installed to check for the reverse.
2020-03-26 01:47:22 +08:00
Paul Moore
653bac26c9
Add a test to validate if extras are respected
2020-03-25 12:27:23 +00:00
Paul Moore
0b1306bbf0
I must remember to run lint locally before pushing :-(
2020-03-20 11:12:38 +00:00
Paul Moore
89f4f16e3e
Add some functional tests for the new resolver
2020-03-20 11:00:07 +00:00
Paul Moore
cec27c747c
Added an end-to-end install test of the new resolver
2020-03-18 14:54:29 +00:00
Pradyun Gedam
4f6bef6eb4
Merge pull request #7792 from pradyunsg/misc/utils-tags
...
Rename pep425tags -> utils.compatibility_tags
2020-03-12 14:46:52 +05:30
Jason R. Coombs
6282a307dc
👹 Feed the hobgoblins (delint).
2020-03-06 12:43:10 -05:00
Jason R. Coombs
3511d3d493
Convert the remaining '%' formatters to '.format'. Fixes #6973 .
2020-03-06 12:43:03 -05:00
sinscary
716c9202ee
Raise error if --user and --target arguments are used together
2020-02-27 12:22:56 +05:30
Pradyun Gedam
3fa356a772
Update references to pep425tags
2020-02-26 10:24:43 -08:00
Pradyun Gedam
e648e00dc0
pip is spelt all-lowercase
2020-02-18 10:55:16 +05:30
Pradyun Gedam
313740f6ee
Merge pull request #7593 from uranusjr/hg-under-git
...
Detect all registered VCS and choose inner-most
2020-02-08 17:34:31 +05:30
Chris Hunt
98cd193727
Remove delete_marker_file writing in tests
...
Nothing checks for this file, so no need to write it.
2020-02-05 20:14:44 -05:00
Chris Hunt
667dc392e5
Remove unused futurewheel fixture
2020-01-31 19:33:51 -05:00
Chris Hunt
e83e134f5f
Use wheel_builder for future wheel functional test
2020-01-31 19:33:48 -05:00
Chris Hunt
dd8753cdee
Mitigate Windows test failures due to PAX-format wheel release
2020-01-29 08:53:23 -05:00
Deepak Sharma
b242c3979a
String formatting updated
2020-01-23 18:09:59 +05:30
Pradyun Gedam
8bc1024a13
Touch command may not be available on Windows ( #7601 )
2020-01-15 16:08:17 +00:00
Paul Moore
3288d902e6
Touch command may not be available on Windows
2020-01-15 15:14:22 +00:00
Tzu-ping Chung
2dc061d960
Normailze case in tests
2020-01-15 17:50:41 +08:00
Christopher Hunt
f2bb7c4e57
Merge pull request #7588 from uranusjr/reinstall-test
...
Delete a file to let --force-reinstall fix it
2020-01-15 11:48:27 +08:00
Tzu-ping Chung
8b1f4d80c1
Modify test to unify site_packages path usages
2020-01-14 21:56:23 +08:00
Tzu-ping Chung
d301cbeb4e
Add marker to Mercurial test
2020-01-14 18:00:49 +08:00
Tzu-ping Chung
284352a42c
Add test to verify freeze output
2020-01-14 17:54:54 +08:00
Tzu-ping Chung
e5c43ed6af
Add tests for get_repository_root
2020-01-14 16:45:28 +08:00
Christopher Hunt
cf722df4f9
Merge pull request #7581 from chrahunt/refactor/split-install-tests
...
Split relative requirement install tests
2020-01-14 01:40:29 +08:00
Tzu-ping Chung
2d3f2cdba5
Delete a file to let --force-reinstall fix it
2020-01-13 18:04:52 +08:00
Christopher Hunt
7e65a5a40f
Merge pull request #7578 from uranusjr/test-uppercase-console-scripts
...
Add test for uppercase script name
2020-01-13 09:42:38 +08:00
Tzu-ping Chung
8e72502118
Add test for uppercase script name
2020-01-12 17:16:52 +08:00
Tzu-ping Chung
4def73ca3a
Refactor test to remove unneeded network dep
2020-01-12 17:12:08 +08:00
Tzu-ping Chung
10022df906
Rename test to make its intention clearer
2020-01-12 17:03:28 +08:00
Chris Hunt
e53d10db01
Remove unnecessary uninstall
...
Since a new temporary script path is used for each test, no need to do
uninstall.
2020-01-11 19:39:12 -05:00