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

1239 commits

Author SHA1 Message Date
Chris Jerdonek
dd62731107
Merge pull request #7060 from cjerdonek/get-page-links
Improve logging in LinkCollector.collect_links()
2019-09-21 16:36:46 -07:00
Chris Jerdonek
7c00316268 Use a single log message. 2019-09-21 15:49:43 -07:00
Chris Jerdonek
a2b2a24513 Remove duplicate links before logging. 2019-09-21 10:52:56 -07:00
Chris Jerdonek
7b7d162870 Add _remove_duplicate_links(), and test. 2019-09-21 10:52:52 -07:00
Pradyun Gedam
aea7d86a22
Merge pull request #7059 from pradyunsg/cleanup/get-rid-of-is-artifact
Remove link.is_artifact
2019-09-21 22:46:28 +05:30
Pradyun Gedam
7fabb1621d
Merge pull request #7051 from pradyunsg/refactor/metadata-generator
Call into operations.generate_metadata to generate metadata
2019-09-21 22:34:49 +05:30
Pradyun Gedam
ab6d550592
Remove link.is_artifact 2019-09-21 14:30:14 +05:30
Chris Hunt
7423c8ab02 Add documentation string to pip._internal.network.auth 2019-09-20 19:46:40 -04:00
Pradyun Gedam
0a2238ac38
Create new module: network.auth (#7045) 2019-09-20 22:43:34 +05:30
Christopher Hunt
16f1b4b5dd
Merge pull request #7046 from chrahunt/refactor/constructors-req-parsing
Refactoring req.constructors requirement parsing
2019-09-20 12:16:03 -04:00
Pradyun Gedam
fbe8fe21ab
Normalize usage of TempDirectory (#7047) 2019-09-20 19:46:31 +05:30
Pradyun Gedam
6d8c3fdd29
Pass self to the metadata generation function 2019-09-20 19:43:14 +05:30
Pradyun Gedam
b2e0a12363
Return early for legacy processes 2019-09-20 19:43:13 +05:30
Pradyun Gedam
b5495b4d1e
Introduce an operations.generate_metadata module
As things stand, it'll completely delegate all the metadata generation
to InstallRequirement's methods.

Follow ups will move related code into this module.
2019-09-20 19:43:13 +05:30
Christopher Hunt
716628a103
Merge pull request #7044 from chrahunt/refactor/no-download-in-wheel
Remove download dependency from wheel
2019-09-20 01:57:02 -04:00
Christopher Hunt
33ba61c373
Merge pull request #7039 from pradyunsg/misc/cleanups-in-req_set
A few cleanups in req_set.py
2019-09-19 23:50:25 -04:00
Chris Hunt
7e1d02226b Rename networking to network 2019-09-19 23:13:47 -04:00
Chris Hunt
92e9748147 Make TempDirectory._create return path instead of setting self.path 2019-09-19 22:16:00 -04:00
Chris Hunt
fbdd02e2fd Manage InstallRequirement._temp_build_dir itself instead of its path 2019-09-19 22:09:01 -04:00
Chris Hunt
8b8f8abe45 Unconditionally create TempDirectory in install 2019-09-19 21:54:39 -04:00
Chris Hunt
d0336be3ee Move requirement parsing to separate function in req.constructors 2019-09-19 21:30:00 -04:00
Chris Hunt
1ae28f6946 Add RequirementParts to hold parsed requirement info 2019-09-19 21:23:13 -04:00
Chris Hunt
fe7d0b0172 Normalize style 2019-09-19 21:11:16 -04:00
Chris Hunt
f8d03e4baa Move MultiDomainBasicAuth to networking.auth 2019-09-19 21:02:22 -04:00
Chris Hunt
e9274f6548 Move keyring-related functions to new networking.auth module 2019-09-19 20:48:09 -04:00
Chris Hunt
ee8cc0e648 Use unpack_file instead of unpack_file_url in wheel 2019-09-19 20:19:24 -04:00
Chris Hunt
59b0a79bde Add Link.file_path property 2019-09-19 20:14:10 -04:00
Chris Hunt
767b028724 Drop usage of url_without_fragment in favor of url
`url_to_path` discards fragment anyway (5th element of
urllib_parse.urlsplit)
2019-09-19 20:07:25 -04:00
Chris Hunt
2aeed371e5 Make content_type optional in unpack_file. 2019-09-19 20:02:47 -04:00
Chris Hunt
8d19b31b66 Remove unnecessary else in convert_extras 2019-09-19 19:28:54 -04:00
Pradyun Gedam
13ab7a2bce
Linearize a nested-error-message-generation (#7040)
Merge pull request #7040 from pradyunsg/cleanup/nicer-error-message-creation
2019-09-19 20:06:54 +05:30
Pradyun Gedam
402b468f43
Move isolation setup to helper method (#7041) 2019-09-19 18:30:23 +05:30
Pradyun Gedam
8d6e3204de
Ignore "require_virtualenv" in pip config (#6991) 2019-09-19 18:22:27 +05:30
Pradyun Gedam
fcee19ffe1
Add parse_links() (#7038) 2019-09-19 18:20:22 +05:30
Christopher Hunt
79ec3def25
Merge pull request #7037 from chrahunt/refactor/clean-up-unpack
Remove svn handling in unpacking.unpack_file
2019-09-19 08:35:12 -04:00
Pradyun Gedam
f051201d08
Invoke method only when build isolation is needed 2019-09-19 15:23:10 +05:30
Pradyun Gedam
b22333e44e
Linearize a nested-error-message-generation 2019-09-19 15:19:06 +05:30
Pradyun Gedam
8dac3a046b
Move isolation setup code into a helper method 2019-09-19 15:05:31 +05:30
Pradyun Gedam
1bc6b94dc1
Canonicalize names stored in RequirementSet 2019-09-19 14:56:24 +05:30
Pradyun Gedam
bd26e768c7
Drop "name = install_req.name"
It didn't help with formatting style and added just enough confusion
when reading that I think this is a worthwhile change.
2019-09-19 14:56:24 +05:30
Pradyun Gedam
061be18ed3
Cleanup RequirementSet str/repr computation 2019-09-19 14:55:51 +05:30
Chris Hunt
ea6eb1f898 Remove unused functions 2019-09-19 01:47:27 -04:00
Chris Hunt
89bbe73498 Remove unused argument in unpacking.unpack_file 2019-09-19 01:47:24 -04:00
Pradyun Gedam
83780a2991
Merge pull request #7025 from chrahunt/refactor-1
Clean up req.constructors.install_req_from_line
2019-09-19 11:17:23 +05:30
Chris Hunt
8648ff568f Removed unused Subversion().unpack in unpack_file
`download.unpack_url` already calls `unpack_vcs_link`, it looks like
this was leftover from before that change.
2019-09-19 01:47:20 -04:00
Chris Jerdonek
75c8bceb49 Add parse_links(). 2019-09-18 21:39:02 -07:00
Christopher Hunt
b0a6428d3b
Merge pull request #7023 from chrahunt/maint/remove-lockfile-dependency
Remove Lockfile
2019-09-19 00:23:57 -04:00
Christopher Hunt
41ea07ac4a
Merge pull request #7005 from epicfaace/patch-1
Fix grammar
2019-09-18 19:59:12 -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