Maxim Kurnikov
|
3692097cca
|
add per-file disallow_untyped_defs=False, and set it to True globally
|
2019-09-29 23:31:15 +02:00 |
Pradyun Gedam
|
40a0f189b9
|
Enable check-builtin-literals
|
2019-09-24 18:03:22 +05:30 |
Chris Jerdonek
|
6d94944efd
|
Change PackageFinder.create() to accept a LinkCollector.
|
2019-09-18 00:59:04 -07:00 |
Chris Hunt
|
5656364112
|
Move supporting functions to utils.unpacking.
|
2019-09-17 23:40:02 -04:00 |
Chris Hunt
|
6a8b47d20b
|
Move file type info to utils.filetypes.
|
2019-09-17 23:40:02 -04:00 |
Chris Jerdonek
|
fe2509bd58
|
Move LinkCollector to a new collector.py module.
|
2019-09-14 02:54:07 -07:00 |
Chris Jerdonek
|
180a795660
|
Merge pull request #7015 from cjerdonek/simplify-get-pages
Remove unused project_name argument from LinkCollector._get_pages()
|
2019-09-14 01:33:45 -07:00 |
Chris Jerdonek
|
1a42641762
|
Remove unused project_name argument from LinkCollector._get_pages().
|
2019-09-13 23:47:58 -07:00 |
Chris Jerdonek
|
3303c11828
|
Remove index.py and req/constructors.py's dependence on download.py.
|
2019-09-13 09:57:04 -07:00 |
Chris Jerdonek
|
ed55cde689
|
Add LinkCollector class to index.py.
|
2019-09-10 10:13:02 -07:00 |
Chris Jerdonek
|
9ae5f1a8df
|
Rename PackageFinder's _package_versions() to evaluate_links().
|
2019-09-10 10:12:57 -07:00 |
Albert Tugushev
|
3c9770d9b2
|
Redact single-part login credentials from URLs (#6921)
|
2019-08-26 15:50:07 -07:00 |
Frost Ming
|
8ac22141c2
|
Support including port part in trusted-host (#6909)
|
2019-08-25 16:26:01 -07:00 |
Chris Jerdonek
|
5e80b8286d
|
Move four PackageFinder methods.
This moves the methods to before the method where they are called.
|
2019-08-23 08:22:38 -07:00 |
Chris Jerdonek
|
d20e02e728
|
Change PackageFinder._sort_locations() to a group_locations() function.
|
2019-08-23 07:53:52 -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
|
cbd62171cd
|
Remove the unneeded logger argument from is_secure_origin().
|
2019-08-22 00:01:27 -07:00 |
Chris Jerdonek
|
a6cdb490b0
|
Move trusted_hosts logic to PipSession.
|
2019-08-21 03:03:17 -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
|
f377148f6d
|
Use mypy's inline configuration syntax for opt-outs
|
2019-07-30 12:39:51 +05:30 |
Pradyun Gedam
|
537b0fca12
|
Change isort multi_line_output to 3
|
2019-07-22 10:15:27 +05:30 |
Pradyun Gedam
|
f669719c96
|
Rename InstallationCandidate.{location -> link}
|
2019-07-20 12:41:22 +05:30 |
Chris Jerdonek
|
2de38044bb
|
Pass the specifier to CandidateEvaluator.create().
|
2019-07-16 01:09:14 -07:00 |
Chris Jerdonek
|
3cf192ff1b
|
Add debug logging to filter_unallowed_hashes().
|
2019-07-14 10:56:07 -07:00 |
Chris Jerdonek
|
0d96a49cf7
|
Add project_name to CandidateEvaluator.
|
2019-07-14 10:56:00 -07:00 |
Chris Jerdonek
|
74504fff6c
|
Prefer candidates with allowed hashes when sorting.
|
2019-07-14 02:50:51 -07:00 |
Chris Jerdonek
|
9ddc89a21d
|
Pass the hashes when creating the CandidateEvaluator.
|
2019-07-14 02:50:51 -07:00 |
Chris Jerdonek
|
e80fc233ff
|
Add filter_unallowed_hashes().
|
2019-07-14 02:50:48 -07:00 |
Chris Jerdonek
|
4a9e306678
|
Add get_applicable_candidates(), and test.
|
2019-07-07 14:35:56 -07:00 |
Chris Jerdonek
|
b2389bf8c7
|
Add CandidatePreferences and PackageFinder.make_candidate_evaluator().
|
2019-07-07 14:35:50 -07:00 |
Chris Jerdonek
|
9d3d369834
|
Simplify FoundCandidates.
|
2019-07-06 01:08:51 -07:00 |
Chris Jerdonek
|
979c8405d2
|
Add LinkEvaluator class.
|
2019-07-04 16:54:29 -07:00 |
Chris Jerdonek
|
ba2c382511
|
Merge pull request #6660 from cjerdonek/rename-egg-info-matches
Rename _egg_info_matches()
|
2019-06-30 15:00:49 -07:00 |
Chris Jerdonek
|
2f1be4e6ec
|
Rename index.py's _egg_info_matches(egg_info, canonical_name).
|
2019-06-30 12:51:09 -07:00 |
Chris Jerdonek
|
ae79b5bf5c
|
Add a SelectionPreferences class.
|
2019-06-28 11:14:55 -07:00 |
Chris Jerdonek
|
d3b3f16871
|
Support yanked reasons with non-ascii characters.
|
2019-06-27 22:53:58 -07:00 |
Chris Jerdonek
|
8af3f21a57
|
Filter out yanked links earlier when allow_yanked=False.
|
2019-06-27 19:50:25 -07:00 |
Chris Jerdonek
|
a447be4785
|
Update PackageFinder to support "yanked" files (PEP 592).
|
2019-06-26 02:32:40 -07:00 |
Chris Jerdonek
|
8666bb1a5d
|
Start parsing the "data-yanked" attribute.
|
2019-06-25 03:34:42 -07:00 |
Chris Jerdonek
|
cab7316e2b
|
Change PackageFinder.create() to accept a SearchScope object.
|
2019-06-21 14:41:49 -07:00 |
Chris Jerdonek
|
7d08bb37a5
|
Add SearchScope class.
|
2019-06-18 00:47:10 -07:00 |
Chris Jerdonek
|
c0bda1b906
|
Log when adding a trusted host from a file.
|
2019-06-14 01:14:36 -07:00 |
Chris Jerdonek
|
d72758394d
|
Fully support --trusted-host inside requirements files.
|
2019-06-13 01:21:05 -07:00 |
Chris Jerdonek
|
4c1ccaec73
|
Store PackageFinder.trusted_hosts instead of secure_origins.
|
2019-06-12 02:18:23 -07:00 |
Chris Jerdonek
|
b8d693c71e
|
Add a TargetPython class.
|
2019-06-11 18:19:20 -07:00 |
Chris Jerdonek
|
8dbf88dff7
|
Update pip-download to respect --python-version.
|
2019-06-06 13:20:29 -07:00 |