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

75 commits

Author SHA1 Message Date
Pradyun Gedam c0afe5c81d
Add require_hashes to RequirementPreparer 2019-11-09 12:13:29 +05:30
Pradyun Gedam 4e7867d0a8
Compute require_hashes in populate_requirement_set 2019-11-09 12:05:28 +05:30
Chris Hunt deac2343dc Don't pass PackageFinder to Preparer from Resolver
Preparer's overall responsibilities align more with having its own
reference to finder, which will help us remove it from resolver later.
2019-11-05 20:57:14 -05:00
Chris Hunt f305f66eb2 Trace common finder info outside resolver
There's no reason for Resolver to trace this information about our
PackageFinder, we just need a common one-time function to trace useful
information.
2019-11-05 20:57:14 -05:00
Chris Hunt 3076c39f25 Remove unused Resolver.session 2019-11-03 14:31:38 -05:00
Chris Hunt 44cc3aeb0a Use session from RequirePreparer, not Resolver 2019-11-03 14:26:47 -05:00
Pradyun Gedam 9ab9040d75
Remove RequirementSet.require_hashes (#7068) 2019-10-20 13:23:40 +05:30
Pradyun Gedam 2db6f428bf
Update imports to {index -> index.package_finder} 2019-10-19 22:24:01 +05:30
Chris Hunt b8fb97a815 Remove unused RequirementSet.require_hashes 2019-10-13 13:19:49 -04:00
Chris Hunt bbc29f0c6c Pass require_hashes directly to Resolver
This removes some of the dependence of the Resolver on our specific
RequirementSet implementation.
2019-10-13 13:19:49 -04:00
John Paton 6b57c1f5df Move outdated outside utils and rename (pypa/pip#6532) 2019-09-30 09:56:44 +02:00
Maxim Kurnikov 3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
Chris Hunt cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
Chris Jerdonek 6d94944efd Change PackageFinder.create() to accept a LinkCollector. 2019-09-18 00:59:04 -07:00
Chris Jerdonek 6a55f0788b Move make_search_scope() to outdated.py. 2019-09-18 00:48:48 -07:00
Chris Hunt 81d8005bd1 Change argument name to better reflect purpose.
Also assert on provided path, since it should have been created in all
cases.
2019-09-11 19:03:57 -04:00
Chris Hunt 82be4ee76a Use application context manager for PipSession.
This removes a level of indentation from all commands without
introducing any dummy functions.
2019-09-07 09:46:48 -04:00
Chris Hunt 7514a50e1d Remove unused arguments from Resolver constructor. 2019-09-06 18:53:35 -04:00
Chris Hunt 0ee1f9762b Move make_install_req out of Resolver. 2019-09-06 18:45:27 -04:00
Chris Jerdonek ce218c340d Rename the insecure_hosts argument to trusted_hosts. 2019-08-22 00:03:28 -07:00
Chris Jerdonek a6cdb490b0 Move trusted_hosts logic to PipSession. 2019-08-21 03:03:17 -07:00
Chris Jerdonek 23446f6d0e Remove the unneeded name argument from populate_requirement_set(). 2019-08-08 17:29:02 -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 da9ebed9df Move RequirementCommand to req_command.py. 2019-08-04 02:05:33 -07:00