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

7595 commits

Author SHA1 Message Date
Chris Jerdonek aa14d3aecf Add a make_no_network_finder() test helper. 2019-08-23 07:55:01 -07:00
Chris Jerdonek d20e02e728 Change PackageFinder._sort_locations() to a group_locations() function. 2019-08-23 07:53:52 -07:00
Pradyun Gedam 9b9d7b7d5d
Rename 6637.feature to 6637.doc (#6907) 2019-08-23 08:33:44 +05:30
A_Rog 70027b2f50 Address #6876: Make command output go through a single function (#6881) 2019-08-22 17:29:22 -07:00
Pradyun Gedam 2b572d5e85
Rename 6637.feature to 6637.doc 2019-08-22 23:02:13 +05:30
Pradyun Gedam d23ecf0be2
Add WIP architecture overview
Merge pull request #6637 from brainwane/architecture
2019-08-22 23:01:00 +05:30
Sumana Harihareswara 289af52b59 Add WIP note 2019-08-22 12:42:35 -04:00
Pradyun Gedam 9b82fcc9d8
Merge branch 'master' into architecture 2019-08-22 21:07:58 +05:30
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
Pradyun Gedam f0d48d1897
Merge pull request #6901 from pypa/pradyunsg-docs-improve-note
Note that pip's internals can change at any time
2019-08-22 12:50:47 +05:30
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
Chris Jerdonek e888587c68
Note that pip's internals can change at any time 2019-08-21 15:51:38 +05:30
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 8db3944a64 Add initial architecture section for index.py and PackageFinder. 2019-08-20 22:49:30 -07:00
Chris Jerdonek 06d786dee1 Add a test for compute_best_candidate() returning a None best candidate. 2019-08-20 22:49:30 -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
Pradyun Gedam 58a66066cc
Merge pull request #6882 from pradyunsg/update-test-to-py36
Update marker test to use Python 3.6 instead of 2.6
2019-08-21 06:53:47 +05:30
Pradyun Gedam 1e8a47c2f3
Update variable names 2019-08-21 01:53:33 +05:30
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 d6a2ce458a
Merge pull request #6887 from cjerdonek/add-vcs-url-type-annotations
Add type annotations to VCS url-passing methods
2019-08-16 17:45:44 -07:00
Chris Jerdonek 393f626276 Add type annotations to VCS methods passing an url to run_command(). 2019-08-16 16:20:56 -07:00
Chris Jerdonek 76ae377d7e
Merge pull request #6883 from sbidoul/is_vcs-refactor-sbi
consolidate vcs link detection
2019-08-16 00:49:18 -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 c4e45e9b89
Merge pull request #6709 from frostming/fix-trusted-host
Fix inconsistent behavior of trusted host
2019-08-15 12:19:34 -07:00
Pradyun Gedam 5d7cc475d4
📰 2019-08-15 23:03:35 +09:00
Pradyun Gedam 376f1136d8
Update marker test to use Python 3.6 instead of 2.6 2019-08-15 23:02:40 +09: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
Chris Jerdonek c2cf232279
Merge pull request #6869 from sbidoul/clarify-autobuilding-sbi
Clarify WheelBuilder.build() a bit
2019-08-14 03:23:22 -07:00
Stéphane Bidoul (ACSONE) ea517a2bb9 clarify WheelBuilder.build() a bit 2019-08-14 11:24:26 +02:00
Sumana Harihareswara 9b0383ea6c WIP improve linking and formatting 2019-08-13 19:21:01 -04:00