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

9826 commits

Author SHA1 Message Date
Tzu-ping Chung d8aede42d1 Correctly pass extras to explicit requirement
Local source directory is still not working due to some other reasons.
Need to investigate.
2020-04-27 14:23:15 +08:00
Ilan Schnell 87a6bbec39 add backtracking resolver yaml test 2020-04-26 14:09:27 -05:00
Ilan Schnell 850b8c5f53 add information about only single tests to readme 2020-04-26 10:43:52 -05:00
Nguyễn Gia Phong ff869e0c15 Make mypy happy with beta release automation
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-26 22:33:19 +07:00
Tzu-ping Chung adef52610e Fix assertion 2020-04-26 18:22:21 +08:00
Tzu-ping Chung 8e65f531b2 News 2020-04-26 18:18:28 +08:00
Tzu-ping Chung f1977cfa5f Set permission on manually created metadata files 2020-04-26 18:18:28 +08:00
Tzu-ping Chung 9af0b3daeb Use oct for better error message 2020-04-26 18:17:33 +08:00
Tzu-ping Chung 388ca923ef Add persumably failing permission check 2020-04-26 18:14:38 +08:00
Tzu-ping Chung 452d39eb2f Wrap wheel file generation in function 2020-04-26 17:43:21 +08:00
Tzu-ping Chung 0104adb037 Add failing test for explicit requirement extras 2020-04-26 16:39:31 +08:00
Ilan Schnell 6529780461 move import so isort does not try to "fix" import order 2020-04-26 00:51:12 -05:00
Ilan Schnell a9930dbd19 add checking for requested package dict 2020-04-25 23:10:43 -05:00
Ilan Schnell b837b37074 update link to refer directly to benoit-pierre's comment 2020-04-25 20:00:44 -05:00
Ilan Schnell 9c9ae3dc8b update description - make flake8 happy 2020-04-25 18:26:40 -05:00
Ilan Schnell 1b22ef6666 simplify code, ensure state is a list 2020-04-25 18:17:18 -05:00
Ilan Schnell bb9a2bdc4b add yaml linter and update readme 2020-04-25 14:48:29 -05:00
Ilan Schnell 051c394944 typo 2020-04-25 00:27:28 -05:00
Ilan Schnell 17103e8d1a add new test example mentioned in issue #988 2020-04-25 00:07:57 -05:00
Ilan Schnell f8fa3f8c4f add comment 2020-04-24 23:11:35 -05:00
Ilan Schnell da99c14790 add test contructed from blog post, see notes within file 2020-04-24 23:09:42 -05:00
Pradyun Gedam 6a7bf94776
Merge pull request #8124 from NoahGorny/abort-cache-when-no-cache-dir 2020-04-25 04:30:55 +05:30
Pradyun Gedam 58e2057f1a
Optimize "in path" lookups
O(n) list lookups to O(1) set lookups
2020-04-25 04:20:20 +05:30
Pradyun Gedam ea52559cf8
Add tests for get_topological_weights 2020-04-25 04:09:28 +05:30
Pradyun Gedam 9ae99b6d2b
Factor out test logic for graph generation 2020-04-25 04:09:28 +05:30
Pradyun Gedam ebc0e33378
Amend tests, by fixing typos 2020-04-25 04:09:28 +05:30
Pradyun Gedam d236004138
Rewrite get_topological_weights to allow cycles
We take the length for the longest path to any node from root, ignoring
any paths that contain any node twice (i.e. cycles).
2020-04-25 04:09:14 +05:30
Tzu-ping Chung 367e6617bd Move yanked message unit tests to use resolver 2020-04-25 03:53:53 +08:00
Tzu-ping Chung 806067f09f Move yanked link warning into the legacy resolver 2020-04-25 02:28:43 +08:00
Tzu-ping Chung f35f37ef72 Add find_requirement() wrapper in legacy resolver 2020-04-25 02:28:43 +08:00
Paul Moore bdf56a0303 Fix really, really dumb mistake 2020-04-24 17:52:51 +01:00
Paul Moore 2a66ad1e2d Add an assertion to ensure we don't reuse the factory 2020-04-24 16:44:02 +01:00
Pradyun Gedam e6853336fe
Revert "Drop code for nicer diffs later"
This reverts commit f927f9ae39.
2020-04-24 19:57:58 +05:30
Paul Moore 7a54b2b3a8 Use is_direct rather than an explicit root parameter 2020-04-24 14:30:34 +01:00
Paul Moore 04bf571521 Ensure root requirement name is canonicalised 2020-04-24 14:30:34 +01:00
Pradyun Gedam 746f47cc3a
Factor out logic for getting weights 2020-04-24 17:27:40 +05:30
Tzu-ping Chung e03614fe6d Use req to populate candidate line instead of link
This ensures a candidate built from a "found" link (from e.g. index) is
categorized as specifier-based, not URL-based. This is important to
avoid a specifier-based candidate to be 'pip freeze'-ed in the direct
URL form due to PEP 610 (direct-url.json).
2020-04-24 19:14:00 +08:00
Paul Moore df3b440f7b Fix the factory fixture to supply the new upgrade_strategy argument 2020-04-24 12:03:29 +01:00
Noah Gorny 8c28b8173a tests: commands: cache: Add no-cache-dir test case 2020-04-24 13:08:59 +03:00
Paul Moore d605530b44 Implement upgrade strategies for the new resolver 2020-04-24 11:08:06 +01:00
Noah Gorny e212f66575 commands: cache: Abort early if cache is disabled 2020-04-24 12:57:13 +03:00
Ilan Schnell 08aecfb41c add test for https://github.com/python-poetry/poetry/issues/2298 2020-04-23 22:40:53 -05:00
Ilan Schnell 3ba506fd53 update work on yaml readme 2020-04-22 23:05:51 -05:00
Pradyun Gedam f927f9ae39
Drop code for nicer diffs later 2020-04-23 07:04:28 +05:30
Pradyun Gedam 3fe1eab593
Reword get_installation_order docstring 2020-04-23 07:02:53 +05:30
Ilan Schnell 8780a80c4d make flake8 happy 2020-04-22 18:23:24 -05:00
Ilan Schnell 1d1b7a674e simplify assertion for valid skip values 2020-04-22 17:57:20 -05:00
Ilan Schnell 05babbcb68 improve test name 2020-04-22 17:50:01 -05:00
Ilan Schnell 5af919c475 yaml test extras-2 passws with new resolver 2020-04-22 17:45:08 -05:00
Ilan Schnell 9ef15bc012 run tests with old and new resolver, and add ability to skip for either 2020-04-22 17:33:12 -05:00