1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

1049 commits

Author SHA1 Message Date
Chris Jerdonek d20e02e728 Change PackageFinder._sort_locations() to a group_locations() function. 2019-08-23 07:53:52 -07:00
A_Rog 70027b2f50 Address #6876: Make command output go through a single function (#6881) 2019-08-22 17:29:22 -07:00
Chris Jerdonek 1ab37d31f1
Merge pull request #6903 from cjerdonek/move-trusted-hosts
Move PackageFinder's --trusted-host logic to PipSession
2019-08-22 03:56:13 -07:00
Chris Jerdonek ce218c340d Rename the insecure_hosts argument to trusted_hosts. 2019-08-22 00:03:28 -07:00
Chris Jerdonek 970dfdea2e Use variable names instead of indices in is_secure_origin(). 2019-08-22 00:03:25 -07:00
Chris Jerdonek cbd62171cd Remove the unneeded logger argument from is_secure_origin(). 2019-08-22 00:01:27 -07:00
Chris Jerdonek 9ef811638b
Merge pull request #6787 from cjerdonek/best-candidate-result
Simplify PackageFinder best candidate API some more
2019-08-21 13:13:44 -07:00
Pradyun Gedam 8dc5515784
Add helpers to RequirementSet to directly add requirements (#6904) 2019-08-21 17:10:59 +05:30
Chris Jerdonek 7783c47131
Hide security-sensitive strings in VCS command log messages (#6890) 2019-08-21 03:22:57 -07:00
Pradyun Gedam 476dfd2a8c
Add RequirementSet.add_named_requirement() 2019-08-21 15:44:55 +05:30
Pradyun Gedam 305c671d1f
Add RequirementSet.add_unnamed_requirement() 2019-08-21 15:44:55 +05:30
Chris Jerdonek a6cdb490b0 Move trusted_hosts logic to PipSession. 2019-08-21 03:03:17 -07:00
Christopher Hunt 5e97de4773 Ignore errors copying socket files for source installs (in Python 3). (#6844) 2019-08-21 02:19:02 -07:00
Chris Jerdonek 3eb803aa26 Add some assertions to BestCandidateResult.__init__(). 2019-08-20 22:49:30 -07:00
Chris Jerdonek a644fb074f Move BestCandidateResult before CandidateEvaluator. 2019-08-20 22:49:30 -07:00
Chris Jerdonek 1a8dc9cda1 Move compute_best_candidate() to the end of CandidateEvaluator. 2019-08-20 22:49:30 -07:00
Chris Jerdonek 6554273fe5 Pass the best candidate to BestCandidateResult instead of CandidateEvaluator. 2019-08-20 22:49:30 -07:00
Chris Jerdonek e8eda16ed8 Rename some PackageFinder "best candidate" classes and methods:
* Rename FoundCandidates to BestCandidateResult.

* Rename CandidateEvaluator's make_found_candidates() to
  compute_best_candidate().

* Rename CandidateEvaluator's get_best_candidate() to
  sort_best_candidate().

* Rename PackageFinder's find_candidates() to find_best_candidate().
2019-08-20 22:49:30 -07:00
Chris Jerdonek 97d9c6d156
Merge pull request #6880 from GadgetSteve/master
#6858: Changes to report any missing packages in pip show
2019-08-18 12:24:38 -07:00
Steve Barnes 3198ba6185 Change pip show to report missing packages. 2019-08-18 01:27:14 -07:00
Chris Jerdonek 0b23e2d68a
Merge pull request #6889 from cjerdonek/simplify-get-abi-tag-conditionals
Simplify get_flag() conditionals in get_abi_tag() [pep425tags]
2019-08-17 17:49:20 -07:00
Pradyun Gedam 9332803089
Merge pull request #6729 from asottile/3_10_fixes
sys.version fixes for python 3.10
2019-08-18 09:27:09 +09:00
Chris Jerdonek 6c96b27a37 Add intermediate is_cpython variable. 2019-08-17 10:30:14 -07:00
Chris Jerdonek 344f44c1e8 Simplify the get_flag() conditionals in pep425tags.py's get_abi_tag(). 2019-08-17 02:28:17 -07:00
Paul Moore 54eedbd7b4
Merge pull request #6874 from rdb/patch-1
Don't append "m" ABI flag in Python 3.8
2019-08-17 09:47:46 +01:00
Chris Jerdonek 393f626276 Add type annotations to VCS methods passing an url to run_command(). 2019-08-16 16:20:56 -07:00
rdb 48109b1bb5 Don't append 'm' ABI flag in Python 3.8 2019-08-16 08:53:20 +02:00
Stéphane Bidoul (ACSONE) 2e1dfbef76 consolidate vcs link detection 2019-08-16 08:14:33 +02:00
Chris Jerdonek bbae384d5b Make some final tweaks to the PR. 2019-08-14 22:13:26 -07:00
Frost Ming 3f9136f885 Make trusted host w/o port work for HTTPS 2019-08-14 22:13:18 -07:00
Stéphane Bidoul (ACSONE) ea517a2bb9 clarify WheelBuilder.build() a bit 2019-08-14 11:24:26 +02:00
Chris Jerdonek 908e2034fa
Merge pull request #6859 from cjerdonek/wheel-strict-optional
Remove WheelBuilder's dependence on PipSession
2019-08-11 12:17:50 -07:00
Chris Jerdonek 022a36662f Remove WheelBuilder's dependence on PipSession. 2019-08-11 11:33:23 -07:00
Chris Jerdonek 698b27b875 Start type checking commands/install.py and commands/wheel.py. 2019-08-11 11:33:18 -07:00
Chris Jerdonek 2bfafc9b70
Merge pull request #6854 from chrahunt/refactor/remove-unnecessary-as
Clean up import in moved module.
2019-08-10 15:21:39 -07:00
Chris Hunt a0418719b0 Clean up import in moved module. 2019-08-10 13:54:35 -04:00
Chris Jerdonek 6f0e873182
Merge pull request #6850 from cjerdonek/make-tags-argument-required
Make tags required in Wheel.support_index_min() and supported()
2019-08-10 06:17:12 -07:00
Pradyun Gedam d32365c552
Remove an unneeded argument from populate_requirement_set() (#6847) 2019-08-10 18:39:21 +05:30
Chris Jerdonek 63639bfc0f Make tags required in Wheel.support_index_min() and supported(). 2019-08-10 02:59:59 -07:00
Chris Jerdonek 8720d322cb
Merge pull request #6848 from cjerdonek/wheel-support-index-min-int-return-type
Change the return type of Wheel.support_index_min() from Optional[int] to int
2019-08-09 01:26:35 -07:00
Chris Jerdonek bb9cb5e19d Change the return type of Wheel.support_index_min() to int. 2019-08-08 22:58:17 -07:00
Chris Jerdonek 075358a0ec Simplify Wheel.supported(). 2019-08-08 22:49:48 -07:00
Christopher Hunt 76e1f1b5e6 Simplify file cache. (#6845) 2019-08-08 17:39:12 -07:00
Chris Jerdonek 23446f6d0e Remove the unneeded name argument from populate_requirement_set(). 2019-08-08 17:29:02 -07:00
Chris Jerdonek 234ef43915 Remove mypy: strict-optional=False from base_command.py. 2019-08-08 05:37:14 -07:00
Chris Jerdonek 24181c6f9d Make indentation consistent in req_command.py. 2019-08-07 14:12:47 -07:00
Chris Jerdonek e74fd24c71 Eliminate base_command.py's import dependency on PipSession. 2019-08-07 14:12:42 -07:00
Chris Jerdonek 5a1b97d572
Merge pull request #6835 from cjerdonek/requirement-command-import
Move RequirementCommand to a different module
2019-08-07 12:08:00 -07:00
Paul Moore d44938c56f
Merge pull request #6517 from blurstudio/uninstall-support-unc
Add unit tests for easy-install.pth uninstall
2019-08-07 08:46:22 +01:00
Chris Hunt df36ddfb0d Merge branch 'master' into maint/merge-5924 2019-08-06 23:42:04 -04:00