Commit Graph

93 Commits

Author SHA1 Message Date
Pradyun Gedam 2e51624bbb
Merge pull request #6764 from pradyunsg/style/isort
Change isort multi_line_output to 3
2019-07-26 23:52:24 +05:30
Chris Jerdonek 0a1571ba03 Fix a NoneType AttributeError when evaluating hashes. 2019-07-23 05:22:59 -04:00
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 190ea6a3d4 Remove strict_optional=False for models/link.py. 2019-07-14 23:08:55 -07:00
Chris Jerdonek e85a848ec8 Add Link.is_hash_allowed(). 2019-07-11 01:34:46 -07:00
Chris Jerdonek 979c8405d2 Add LinkEvaluator class. 2019-07-04 16:54:29 -07:00
Chris Jerdonek a8510bc5e6
Merge pull request #6638 from cjerdonek/debug-command
Add a "pip debug" command
2019-07-02 02:00:02 -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 a447be4785 Update PackageFinder to support "yanked" files (PEP 592). 2019-06-26 02:32:40 -07:00
Chris Jerdonek fdde0b483e Add Link.yanked_reason. 2019-06-25 03:34:38 -07:00
Xavier Fernandez 1638b06627 models.link: use named attribute 2019-06-24 14:24:23 +02:00
Chris Jerdonek a36064954f Add TargetPython.format_given(). 2019-06-23 09:28:58 -07:00
Chris Jerdonek 0ed518f0dc Fix an edge case where Link.filename can leak auth information. 2019-06-22 16:44:13 -07:00
Chris Jerdonek 0e741ef9bf Parse the url when creating a Link object. 2019-06-22 16:44:07 -07:00
Chris Jerdonek 761b2064f4 Remove models/search_scope.py's dependency on download.py. 2019-06-21 14:41:45 -07:00
Chris Jerdonek 7d08bb37a5 Add SearchScope class. 2019-06-18 00:47:10 -07:00
Chris Jerdonek b8d693c71e Add a TargetPython class. 2019-06-11 18:19:20 -07:00
Chris Jerdonek 99228e503a Import path_to_url() from utils/misc.py instead of download.py. 2019-06-03 02:31:40 -07:00
Maxim Kurnikov c4dfdbe265 remove unused imports 2019-02-22 14:18:46 +03:00
Maxim Kurnikov f77b8ca051 remove #noqa: F401 2019-02-22 14:17:07 +03:00
Maxim Kurnikov 410072bc8b add type annotations for pip._internal.models (#6065) 2018-12-17 16:42:36 +05:30
Pradyun Gedam fc62b5b677
Move wheel extension information to remove cycle imports 2018-11-30 12:46:08 +05:30
Pradyun Gedam ad70174bfc
Minor cleanups to format_control.py 2018-11-21 14:23:48 +05:30
Pradyun Gedam e64742d745
Merge branch 'master' into master 2018-11-09 17:01:47 +05:30
cytolentino 0dbdb6250b Add typing to cmdoptions.py 2018-10-28 16:44:00 +00:00
Tom Forbes 78371cc950 Redact basic authentication passwords from log messages (#5773)
Redact basic authentication passwords from URLs.
2018-10-19 02:06:10 -07:00
keanemind 8fac4de39a Satisfy isort 2018-10-05 12:42:40 -05:00
keanemind f0a842e12f Change order of imports 2018-10-05 09:23:22 -05:00
keanemind 419b252f8b Implement suggestions
Move check to handle_mutual_excludes and use code formatting in the news file.
2018-10-04 12:54:10 -05:00
Nitesh Sharma fd692f32ba move format control to models and write parametrized test 2018-09-02 23:08:07 +05:30
Pradyun Gedam 0b1b4797c0
Fix issues that occured due to merging 2018-07-24 08:08:43 +05:30
Pradyun Gedam 35c66f3ade
Fix a mistake made while merging 2018-07-24 08:07:05 +05:30
Pradyun Gedam 8df8e53901
Merge branch 'master' into refactor/introduce-models 2018-07-24 01:35:56 +05:30
Bstrdsmkr c71ac73102 Allow PEP508 url dependencies in install_requires 2018-07-11 08:23:49 -04:00
Pradyun Gedam 06314455e9
Add a utility for comparision logic and switch to it
It uses the operator module, instead of inline-lambdas
2018-06-24 02:38:22 +05:30
Pradyun Gedam 39995b32db
Move Link to models 2018-06-24 02:38:21 +05:30
Pradyun Gedam f1cf9a06e9
Move InstallationCandidate to models + add tests 2018-06-24 02:38:21 +05:30
Pradyun Gedam 44d79d3700
Rename Index -> PackageIndex and add tests 2018-06-24 02:38:21 +05:30
Pradyun Gedam 88e17b4aed
Update the import for PyPI Index model 2018-05-30 01:44:51 +05:30
Donald Stufft 275ab7c3f5 Switch pip to use Warehouse by default 2018-04-16 15:54:11 -04:00
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00