Commit Graph

7994 Commits

Author SHA1 Message Date
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
Christopher Hunt cdbda9bfd3
Merge pull request #7022 from chrahunt/docs/triage-guide-1
Add triage guide document.
2019-09-19 07:48:19 -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 80339aab2c Add WIP note 2019-09-19 01:53:02 -04:00
Chris Hunt b6f7470185 Add news 2019-09-19 01:47:29 -04:00
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 878702efb7
Merge pull request #7030 from cjerdonek/package-finder-collector
Change PackageFinder.create() to accept a LinkCollector
2019-09-18 12:33:43 -07: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
Pradyun Gedam da29744940
Merge pull request #7028 from chrahunt/maint/move-unpacking-functions
Move unpacking functions from utils.misc to utils.unpacking.
2019-09-18 10:41:57 +05:30
Chris Hunt 5a759daaff Make style consistent. 2019-09-17 23:40:02 -04: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 Hunt 6a5bd723ec Move unpack_* from utils.misc to utils.unpacking. 2019-09-17 23:40:02 -04:00
Chris Hunt 0689cf5db7 Remove function-level imports in test. 2019-09-17 23:37:38 -04:00
Christopher Hunt 47293435bb
Merge pull request #6976 from atugushev/fix-issue-4910
Fix rmtree_errorhandler to skip nonexistent dirs
2019-09-17 22:40:46 -04:00
Christopher Hunt b1bc41b2c3
Merge pull request #6914 from sbidoul/pip6892-sbi
uninstall: remove symlinks created by flit install --symlink
2019-09-17 21:14:28 -04:00
Chris Hunt 5e785993b8 Normalize style. 2019-09-17 19:14:39 -04:00
Chris Hunt 0555261087 Move extra conversion to function. 2019-09-17 19:02:59 -04:00
Chris Hunt ec8bf2cc22 Clean up source location message creation. 2019-09-17 19:02:59 -04:00
Pradyun Gedam c3e6329039
Rename InstallRequirement.{build_location -> ensure_build_location} (#7021)
Merge pull request #7021 from pradyunsg/refactor/rename-build-location
2019-09-17 18:30:08 +05:30
Chris Hunt 459c1c7e40 Validate NEWS files with rstcheck. 2019-09-16 20:52:46 -04:00
Chris Hunt ddfe2be362 Fix unrelated test. 2019-09-16 12:51:30 -04:00
Christopher Hunt 82c2dd40eb
Merge pull request #6203 from vinicyusmacedo/fix-pep-508
Fix is_url from splitting the scheme incorrectly when using PEP 440's direct references
2019-09-16 09:52:40 -04:00
Pradyun Gedam 3f48765713
Merge pull request #7024 from atugushev/deprecated-yield-fixture
Use normal fixture instead of yield_fixture
2019-09-16 14:53:29 +05:30
Albert Tugushev e3a6ba6396 Use normal fixture instead of yield_fixture
It's been deprecated since pytest>=2.10.
See https://docs.pytest.org/en/latest/historical-notes.html#pytest-yield-fixture-decorator
2019-09-16 02:55:47 +03:00
Chris Hunt 51d7a97385 Remove Lockfile. 2019-09-15 17:09:44 -04:00
Chris Hunt 46ec707544 Remove unraised LockError. 2019-09-15 17:09:44 -04:00
Chris Hunt fb7b6329e6 Remove unused argument. 2019-09-15 17:09:40 -04:00