Pradyun Gedam
eb865b4e10
Merge pull request #7955 from deveshks/pip-list-not-contain-pkg-work-dir
...
Don't list packages in current directory
2020-04-05 21:13:14 +05:30
Devesh Kumar Singh
feac595446
Don't use cwd in python -m pip command
2020-04-05 19:59:05 +05:30
Tzu-ping Chung
aaa82cddcc
isort
2020-04-04 20:52:39 +08:00
Tzu-ping Chung
2430aba879
Implement editable candidate
2020-04-04 17:51:43 +08:00
Paul Moore
037791d170
Add a test demonstrating #7966
2020-04-03 11:18:44 +01:00
Tzu-ping Chung
f061f3f691
Fetch install dist for a candidate if available
...
The candidate creation logic is further moved into the factory. The
factory would use pkg_resources.get_distribution() to find a matching
distribution for a givan InstallationCandidate. If found, the Candidate
would be created based on that found distribution, instead of the link.
--ignore-installed is implemented as to always use the link to create
candidates, even if an installed distribution is found.
2020-04-03 00:36:26 +08:00
Tzu-ping Chung
557f7670ea
Typo in comment
2020-04-02 21:44:54 +08:00
Tzu-ping Chung
34c24f6e79
Switch to create_basic_wheel_for_package
2020-04-02 18:40:48 +08:00
Tzu-ping Chung
630339e577
Add new resolver test for Requires-Python
2020-04-02 18:36:08 +08:00
Stéphane Bidoul
196706d305
Better freeze using direct_url.json
2020-04-01 22:57:00 +02:00
Stéphane Bidoul
a0ed759fb3
Add direct_url support to InstallRequirement
...
pass it to install_wheel via install
2020-04-01 22:57:00 +02: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