Commit Graph

7428 Commits

Author SHA1 Message Date
Chris Jerdonek 3cfa8a76c7 Store instances in the VcsSupport registry instead of classes. 2019-05-09 22:35:26 -04:00
Chris Jerdonek 6553dd0aa5 Remove unused cls argument from VcsSupport.unregister(). 2019-05-09 20:12:52 -04:00
David Bordeynik 91e106af58 fix-5963: Add news file 2019-05-09 20:35:16 +03:00
David Bordeynik 8f330a5959 fix-5963: fail elegantly on missing name or section in config set / unset 2019-05-09 20:33:30 +03:00
Chris Jerdonek 6217335a41 Remove unnecessary slices. 2019-05-08 19:34:55 -04:00
Chris Jerdonek 3a2a28aeb7 Fix typo. 2019-05-08 19:34:43 -04:00
Chris Jerdonek 9ab91a19ff
Merge pull request #6389 from cjerdonek/issue-5518-global-option-vcs-install
Respect --global-option and --install-option for VCS installs.
2019-05-08 19:22:07 -04:00
Pradyun Gedam 7e45d1180d
Merge pull request #6478 from cjerdonek/packaging-remove-sys-import
Remove utils/packaging.py's dependence on the current environment
2019-05-08 19:10:12 -04:00
SeongSoo Cho 17be5bfe81 Upgrade Sphinx version for Read the Docs (#6477) 2019-05-08 11:26:34 -04:00
Steve Dower 3816a747e1 Upwrap import 2019-05-08 10:58:25 -04:00
Chris Jerdonek 5be4e1481e Remove utils/packaging.py's dependence on the current environment. 2019-05-07 21:51:39 -04:00
Chris Jerdonek 919ee314fc
Merge pull request #6425 from cjerdonek/move-link-package-versions
Move _link_package_versions() to CandidateEvaluator
2019-05-07 21:42:50 -04:00
Steve Dower 49b9298a44 Improve import error handling
Fix --no-index usage
Fix missing type annotation type
2019-05-07 17:01:41 -04:00
Chris Jerdonek 0573d7f81f
Merge pull request #6408 from cjerdonek/vcs-remove-url-attribute
Remove url as an attribute of VersionControl
2019-05-07 15:17:56 -04:00
Pulkit Goyal d2742a9049 Improve sentence about PyPI package search (#6476) 2019-05-07 14:30:39 -04:00
Chris Jerdonek 10c68e674b Rename _link_package_versions() to evaluate_link(). 2019-05-07 11:54:28 -04:00
Chris Jerdonek 651d6fe705 Move _link_package_versions() to CandidateEvaluator. 2019-05-07 11:46:08 -04:00
Chris Jerdonek 58ee598b03 Refine return type of _package_versions() and find_all_candidates(). 2019-05-07 11:46:08 -04:00
Pradyun Gedam 422d989056
Merge pull request #5931 from xrmx/fix5059
Remove last use of SafeConfigParser
2019-05-07 11:37:37 -04:00
Steve Dower e04cb497c8 Fix mismerged import 2019-05-07 09:59:43 -04:00
Steve Dower c63ee61027 Issue #5948: Enable keyring support
This requires keyring and any backends to be installed separately.
Once discovered, it will be used to retrieve credentials by index URL
and netloc before prompting. If the user is prompted and the
credentials work, they will (optionally) be saved to keyring against
the netloc of the requested URL.
2019-05-07 09:55:02 -04:00
Chris Jerdonek a163ae5af1
Fix some formatting issues in the pip-install docs (#6432) 2019-05-07 09:13:56 -04:00
Pradyun Gedam 2386806ab4
Cleanup outdated warning check code (#6467) 2019-05-07 08:17:51 -04:00
Chris Jerdonek 0b8377d53f Move run_with_log_command() after run_stderr_with_prefix().
We do this to better parallel the test order in TestPipTestEnvironment,
since the tests using run_with_log_command() occur later.
2019-05-07 07:05:01 -04:00
Chris Jerdonek 8a9e36ee15 Change to never allow logging errors during tests. 2019-05-07 07:04:57 -04:00
Chris Jerdonek 46fc5ccf45 Add failing test. 2019-05-07 06:51:42 -04:00
Chris Jerdonek 0ea639d644 Remove url as an instance attribute of the VersionControl class. 2019-05-06 22:59:18 -04:00
Chris Jerdonek 4cf8f4240a Refactor away Git.__init__(). 2019-05-06 22:59:18 -04:00
Chris Jerdonek 5a00ac4130
Merge pull request #6383 from cjerdonek/fix-freeze-debug-message
Fix a freeze debug log message.
2019-05-06 22:56:13 -04:00
Masaki cf1bab093d Refactor local_version_is_older conditional
Exit conditional sooner if not local_version_is_older for faster execution

Delete whitespace
2019-05-06 16:34:50 -04:00
Masaki 8738ef401e Refactor outdated for readability
Moved local and remote pip version check conditional to a variable
2019-05-06 15:23:07 -04:00
Chris Jerdonek 7e109086b5 Remove unneeded expect_error=True in some vcs tests. 2019-05-06 14:55:16 -04:00
Chris Jerdonek e0e07bf046 Remove unneeded expect_stderr=True in some vcs tests. 2019-05-06 14:55:16 -04:00
Chris Jerdonek bef5b2e6f3 Improve PipTestEnvironment to check for logging errors. 2019-05-06 14:55:16 -04:00
Chris Jerdonek dc1217713e Fix freeze log debug message. 2019-05-06 14:55:16 -04:00
Donald Stufft 58c93acd4f
Merge pull request #6465 from dstufft/release/19.1.1
Release/19.1.1
2019-05-06 10:51:34 -04:00
Donald Stufft ae914c00ce Update NEWS.rst 2019-05-06 10:08:58 -04:00
Donald Stufft bc1f9d92dd Bump version for release 2019-05-06 10:08:24 -04:00
Donald Stufft 808bb17964 Update AUTHORS.txt 2019-05-06 10:07:27 -04:00
Pradyun Gedam cd403c6114
Merge pull request #6461 from ekristina/master
Improve code reuse in TestSafeFileCache
2019-05-05 06:25:47 -04:00
ekristina 2e5b4461f4 Improve code reuse in TestSafeFileCache
Use a fixture creating a temporary directory for cache.
2019-05-04 17:11:44 -04:00
Pradyun Gedam f6e525aa87
Update test_vcs_mercurial.py 2019-05-04 16:17:09 -04:00
Chris Jerdonek f8732ac06d
Merge pull request #6449 from cjerdonek/restore-pyproject-toml-19.0.3
Restore pyproject.toml handling to its version 19.0.3 state
2019-04-29 13:33:33 -07:00
Chris Jerdonek 44643b8e28 Restore pyproject.toml handling to its version 19.0.3 state. 2019-04-26 20:29:44 -07:00
Chris Jerdonek 285a23fb8f Revert "Refactor out read_pyproject_toml() and resolve_pyproject_toml()."
This reverts commit f66c1f7639.
2019-04-26 20:21:04 -07:00
Chris Jerdonek fb2533a945 Revert "Error out if installing a pyproject.toml-style (PEP 517) project in editable mode."
This reverts commit cc2d299f76.
2019-04-26 20:19:24 -07:00
Chris Jerdonek 24688ee8e8 Revert "Require --no-use-pep517 if using editable mode with pyproject.toml."
This reverts commit 71f506e71e.
2019-04-26 20:19:05 -07:00
Chris Jerdonek 0453f79b9e Revert "Allow --no-use-pep517 to be used with editable mode in more cases."
This reverts commit f069769948.
2019-04-26 20:18:43 -07:00
Chris Jerdonek 1f27d9659e Revert "Fix "build_system value" to "build-system table" in pyproject.toml messages."
This reverts commit ee80bf98ff.
2019-04-26 20:18:27 -07:00
Chris Jerdonek 8d0b73fc5b
Merge pull request #6445 from cjerdonek/tweak-pyproject-messages
Fix "build_system value" to "build-system table" in pyproject.toml messages
2019-04-25 15:43:39 -07:00