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

8063 commits

Author SHA1 Message Date
Chris Hunt 7ea1fcdb13 Remove outer class for temp_dir tests 2019-09-23 18:49:12 -04:00
Chris Hunt 236fb82a1f Move temp_dir tests to separate file 2019-09-23 18:47:28 -04:00
Chris Hunt 97ec73881e Switch TempDirectory.path to property 2019-09-23 18:41:31 -04:00
Christopher Hunt 828da22e02
Merge pull request #7067 from chrahunt/maint/update-removal-wording
Update auto-svn+ removal wording
2019-09-23 16:57:21 -04:00
Chris Jerdonek 99ec6a5e31
Merge pull request #7057 from cjerdonek/remove-iter-links
Remove HTMLPage.iter_links()
2019-09-23 05:55:54 -07:00
Chris Jerdonek ec892cec97 Reflect that headers are non-optional in _get_encoding_from_headers(). 2019-09-23 05:12:33 -07:00
Chris Jerdonek 6c9e0c2536 Remove HTMLPage.iter_links(). 2019-09-23 05:12:33 -07:00
Chris Jerdonek 4ad5a58376 Change HTMLPage.__init__ to accept an encoding. 2019-09-23 05:12:29 -07:00
Chris Jerdonek d30bc69073 Move make_fake_html_page() elsewhere in the module. 2019-09-23 05:08:27 -07:00
Chris Hunt ea91012bee Update auto-svn+ removal wording 2019-09-22 17:37:48 -04:00
Christopher Hunt f7d06671dc
Merge pull request #7066 from chrahunt/refactor/editable-requirement-parts
Factor editable requirement parsing into dedicated function
2019-09-22 14:14:09 -04:00
Chris Hunt ad82dd0981 Move RequirementParts above new function 2019-09-22 12:03:47 -04:00
Chris Hunt 8fe2eb068a Factor out editable parsing into a function 2019-09-22 12:02:14 -04:00
Chris Hunt 05964ead48 Address previous review comments 2019-09-22 11:10:25 -04:00
Chris Hunt 658425a555 Add explicit test for hg+file
This was previously failing on the master branch.
2019-09-22 11:06:07 -04:00
Adam Tse 4022ac277f :fixed whitespace 2019-09-22 11:04:23 -04:00
atse 30df34de98 Update 4358.bugfix 2019-09-22 11:04:23 -04:00
Adam Tse 3f98ee4250 Explicit support and tests for hg+file scheme for pip install. 2019-09-22 11:04:23 -04:00
Pradyun Gedam 15154079d2
Move run_egg_info into operations.generate_metadata (#7063)
Merge pull request #7063 from pradyunsg/refactor/metadata-generator-legacy
2019-09-22 20:01:57 +05:30
Pradyun Gedam c787fcb3e1
Merge pull request #7064 from pradyunsg/rename-correct-build-location
Better name for _correct_build_directory
2019-09-22 19:37:11 +05:30
Chris Hunt 903580cace Use RequirementParts to populate editable InstallRequirement 2019-09-22 09:51:25 -04:00
Pradyun Gedam 359a670ba8
Use ZipFile as context manager in InstallRequirement.archive (#6988) 2019-09-22 12:51:42 +05:30
Pradyun Gedam 596b77c149
Better name for _correct_build_directory
Why: the older name doesn't clearly signal what is happening.
2019-09-22 12:49:20 +05:30
Pradyun Gedam ab0322b8a8
Fix a typo 2019-09-22 11:54:21 +05:30
Chris Hunt e4714fbe8a Early return if download path does not exist. 2019-09-22 00:08:13 -04:00
Chris Hunt 892b58f244 Move helper functions into Link 2019-09-22 00:08:10 -04:00
Chris Hunt ebd286ebec Add types to TempDirectory 2019-09-22 00:02:46 -04:00
Chris Hunt 85dcaa74bb Unconditionally create TempDirectory.path 2019-09-22 00:02:46 -04:00
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 Hunt 99c29af3ce Move SafeFileCache to network.cache. 2019-09-21 16:24:31 -04:00
Chris Hunt b0eed267a6 Remove autocomplete import from pip._internal.__init__ 2019-09-21 15:27:47 -04:00
Chris Hunt 09fd200c59 Move pip._internal:main to its own module
Moving content out of `__init__` is preferred in general because it
avoids conflicts with module names and unnecessary imports.
2019-09-21 15:27:39 -04: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
Chris Jerdonek a556278bf2
Merge pull request #7058 from cjerdonek/simplify-local-repos
Simplify local_repos.py
2019-09-21 10:44:05 -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
Chris Jerdonek f5e5f403b6 Test logging in test_collect_links(). 2019-09-21 10:10:53 -07:00
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
Chris Jerdonek 188ec6ff4e Don't pass "/trunk" when calling local_checkout() with svn. 2019-09-21 03:29:34 -07:00
Chris Jerdonek d7709fa106 Assert that initools_dir doesn't already exist. 2019-09-21 02:31:32 -07:00
Chris Jerdonek 1ca61e14ba Assert that repo_url_path doesn't exist. 2019-09-21 02:31:25 -07:00
Chris Jerdonek 144051e422 Simplify local_repos.py. 2019-09-21 02:30:30 -07:00
Pradyun Gedam ab6d550592
Remove link.is_artifact 2019-09-21 14:30:14 +05:30
Christopher Hunt 43864b86bb
Merge pull request #7056 from chrahunt/docs/networking-auth-docstring
Add documentation string to pip._internal.network.auth
2019-09-21 04:22:36 -04:00
Pradyun Gedam 7ad5670c4e
Improve code flow of _generate_metadata_legacy
Because it was a little difficult to follow.
Because the comments weren't helpful unless you've built enough context.
2019-09-21 11:30:49 +05:30
Pradyun Gedam 8a144447d7
Move run_egg_info logic into generate_metadata 2019-09-21 11:27:47 +05:30
Chris Hunt 2a4cfcb021 Address review comments. 2019-09-20 20:09:49 -04:00
Chris Hunt a8996f25e5 Initial triage guide. 2019-09-20 20:09:49 -04:00
Chris Hunt 7423c8ab02 Add documentation string to pip._internal.network.auth 2019-09-20 19:46:40 -04:00