Commit Graph

9428 Commits

Author SHA1 Message Date
Tzu-ping Chung e06048cb8b Aggregate helper usages into factory object
This prevents us from having to hold multiple references of
finder/preparer/make_install_req in each requirement/candidate class.
Instead we just pass around the factory object, and let others use the
instances on it.
2020-04-01 15:31:52 +08:00
Pradyun Gedam 895fe94240
Merge pull request #7950 from ilanschnell/combine-yaml
combine yaml test functionality into single module
2020-04-01 05:07:30 +05:30
Ilan Schnell 83ba23989d remove extra whitespace 2020-03-31 15:55:16 -05:00
Ilan Schnell 9de02c2b41 better naming of constant 2020-03-31 15:47:43 -05:00
Ilan Schnell 2a8f5705b2 combine yaml test functionality into single module 2020-03-31 15:35:29 -05:00
Devesh Kumar Singh 9af42c27e8 Clarification on removed urls 2020-03-31 20:40:57 +05:30
Pradyun Gedam 91444f546e
Avoid Sphinx from justify-expanding code block 2020-03-31 20:13:15 +05:30
Devesh Kumar Singh 59df536906 Update newsfile message 2020-03-31 20:10:35 +05:30
Pradyun Gedam c5908bd222
Use a code block for denoting directory structure 2020-03-31 18:45:05 +05:30
Paul Moore 534561cbec
Merge pull request #7945 from uranusjr/unit-tests-new-resolver
Rename unit tests to use the new_resolver scheme
2020-03-31 10:55:09 +01:00
Pradyun Gedam 0f7fac3a3d
Merge pull request #7801 from uranusjr/yanked-link-refactor
Move wheel cache out of InstallRequirement
2020-03-31 15:14:37 +05:30
Pradyun Gedam 827539544f
Merge pull request #7943 from ilanschnell/remove-scripttest
remove proxy module tests/lib/scripttest.py in favour of importing fr…
2020-03-31 14:36:09 +05:30
Tzu-ping Chung 64c78a5875 Rename unit tests to use the new_resolver scheme 2020-03-31 16:19:41 +08:00
Devesh Kumar Singh 6fbf80a9f9 Remove vcs urls pertaining to git protocol from docs 2020-03-31 13:35:05 +05:30
Ilan Schnell 6db7f42186 sort imports 2020-03-31 01:42:40 -05:00
Ilan Schnell 2c6a063a27 remove proxy module tests/lib/scripttest.py in favour of importing from tests.lib directly 2020-03-31 01:25:45 -05:00
Xavier Fernandez d79632a7a9 Remove test bugfix
This does not impact our users & should not appear in the changelog
2020-03-30 23:18:12 +02:00
Tzu-ping Chung 4a453e12d4 Reword docstring to match code 2020-03-31 01:31:11 +08:00
Tzu-ping Chung 799ffcbfe1 One arg per line 2020-03-31 01:29:15 +08:00
Devesh Kumar Singh 0d2ca67729 Changed ValueError to InstallationError 2020-03-30 22:29:40 +05:30
Pradyun Gedam 57cb941645
Merge pull request #7891 from deveshks/ignore-uninstall-error-if-easy-install-missing
Don't fail uninstallation if easy-install.pth doesn't exist
2020-03-30 21:42:38 +05:30
cjc7373 c388315bc0 Clarify the usage of --no-binary and --only-binary command 2020-03-30 16:57:24 +02:00
Tzu-ping Chung 1514d85a08 Fix wheel_cache argument for the new resolver 2020-03-30 17:37:28 +08:00
Tzu-ping Chung 6db0df928c Move wheel cache out of InstallRequirment 2020-03-30 17:36:03 +08:00
Devesh Kumar Singh 0d2954d726 Add test to ensure egg-link is removed after uninstall 2020-03-30 01:31:08 +05:30
Tzu-ping Chung 2c8a0bff42 Rewrite tests.lib.create_basic_wheel_for_package
This implementation uses tests.lib.make_wheel, which allows more
flexible wheel configuration in a more structured way.

Output-wise this should be almost identical to the previous
implementation, with the following exceptions:

* Metadata-Version is bumped from 2.0 (previous implementation) to 2.1
  (from make_wheel).
* Fields previously supplied as UNKNOWN are now omitted since they are
  not significant to tests.
* The DESCRIPTION file is omitted (since the description field is now
  missing, see previous point).
2020-03-30 03:20:00 +08:00
Devesh Kumar Singh 051c3988b0 Reworded the news entry 2020-03-29 23:50:54 +05:30
Jason R. Coombs 019637cc67
Merge pull request #7930 from gutsytechster/strict_svn_check
fix(tests/lib): Catch `subprocess.CalledProcessError` in need_executable
2020-03-29 12:54:20 -04:00
Nguyễn Gia Phong 03f0ff440d Fix rst syntax in Getting Started guide 2020-03-29 15:17:42 +02:00
gutsytechster 315447d170 fix(tests/lib): Catch `subprocess.CalledProcessError` in need_executable
This fixes https://github.com/pypa/pip/issues/7924
2020-03-29 16:21:02 +05:30
Devesh Kumar Singh 106bd0d77f Raise an exception if revision is empty in git url 2020-03-29 12:04:48 +05:30
Pradyun Gedam 720c77aa38
Merge pull request #7916 from ilanschnell/simple-yaml-test
add simple yaml test
2020-03-29 01:17:14 +05:30
Devesh Kumar Singh 326efa5c71 Defining multiple values for supported options 2020-03-28 14:35:31 +01:00
Paul Moore 4381493c52
Merge pull request #7917 from deveshks/fix-docs-for-pip-usage-in-program
Clarify use of freeze in pip in program example
2020-03-28 11:51:08 +00:00
Devesh Kumar Singh be2268ee87 Clarify use of freeze in pip in program example 2020-03-28 16:48:22 +05:30
Ilan Schnell b328a50125 add simple yaml test 2020-03-28 01:15:28 -05:00
Devesh Kumar Singh 0acfdcd719 Check for uninstalled package after deleting pth file 2020-03-28 11:07:52 +05:30
Pradyun Gedam e1e558835c
Merge pull request #7894 from brainwane/add-resolver-testing-links
Add docs link to resolver improvement blog post
2020-03-28 06:09:10 +05:30
Devesh Kumar Singh 7f37d5fc6a Add issue fix description in news file 2020-03-28 02:18:21 +05:30
Devesh Kumar Singh bcb4009688 Add a test case for missing easy-install.pth fix 2020-03-28 02:14:29 +05:30
Sumana Harihareswara f116e0c4ff Add docs link to resolver improvement blog post
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-27 16:25:45 -04:00
Pradyun Gedam 4e81af49eb
Architecture Documentation: Configuration deep dive
Merge pull request #7858 from pradyunsg/docs/deep-dive-configuration
2020-03-28 01:49:55 +05:30
Paul Moore 904d1c8c0a
Merge pull request #7907 from uranusjr/resolver-refactor-factory
Initial refactoring to decouple candidate and requirement modules
2020-03-27 14:18:41 +00:00
Pradyun Gedam 98f1a9576a
Improve description of Configuration.{load_only,isolated} 2020-03-27 17:19:21 +05:30
Pradyun Gedam ba81cc9bd0
Move Configuration.get_value to earlier section 2020-03-27 17:19:20 +05:30
Pradyun Gedam cb7b3af06f
Put the bracketed text in the correct position 2020-03-27 17:19:20 +05:30
Pradyun Gedam b0687a0aa7
Fix the bullets 2020-03-27 17:19:08 +05:30
Pradyun Gedam eb232dc7a7
Merge pull request #7899 from deveshks/remove-emails-from-authors
Only use names in AUTHORS.txt
2020-03-27 16:53:18 +05:30
Tzu-ping Chung 4ae50f9af7 Remove unused preparer from SpecifierRequirement 2020-03-27 19:00:27 +08:00
Tzu-ping Chung f32beda075 Remove unused provider fixture from argumnet lists 2020-03-27 18:57:53 +08:00