Commit Graph

9962 Commits

Author SHA1 Message Date
Pradyun Gedam 6ed32347af
📰 2020-05-13 02:50:10 +05:30
Pradyun Gedam 0bd624275d
Revert "build in place"
This reverts commit 88e6e6bc5c.
2020-05-13 02:50:10 +05:30
Pradyun Gedam 1b90e1bccf
Revert "remove _copy_source_tree and friends"
This reverts commit 873f1e6332.
2020-05-13 02:50:10 +05:30
Pradyun Gedam c0641464df
Revert "fix test_entrypoints_work test"
This reverts commit ace0c16531.
2020-05-13 02:50:10 +05:30
Pradyun Gedam 4297b8d9b7
Revert "fix test_uninstall_console_scripts"
This reverts commit 877e1ccc77.
2020-05-13 02:50:07 +05:30
Pradyun Gedam 0adeeef51e
Merge pull request #8227 from pradyunsg/linter-updates 2020-05-13 02:31:02 +05:30
Pradyun Gedam cb3f7babed
Bump linters 2020-05-13 01:00:21 +05:30
Pradyun Gedam e078531da2
Switch to upstream flake8 2020-05-13 01:00:21 +05:30
Pradyun Gedam 608530755f
Make mypy pretty 2020-05-13 01:00:17 +05:30
Pradyun Gedam 9a0a09e1bd
Merge pull request #8207 from nlhkabu/patch-1 2020-05-11 15:39:18 +05:30
Nicole Harris 1e4bfe7948 Fix linting? 2020-05-11 09:59:31 +01:00
Nicole Harris ab509f4fe0 Add news 2020-05-11 09:55:50 +01:00
Nicole Harris 0c8e97f9a9
Update resolver failure issue template
Update "about" to be more consistent with other templates. Add link to pipdevtree.
2020-05-10 13:34:44 +01:00
Nicole Harris c0c78e169d
Update .github/ISSUE_TEMPLATE/resolver-failure.md
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-05-10 13:31:05 +01:00
Nicole Harris f478156063
Update .github/ISSUE_TEMPLATE/resolver-failure.md
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-05-10 13:30:27 +01:00
Nicole Harris 05d171f66c
Template for users to report resolver failures 2020-05-08 13:22:53 +01:00
Pradyun Gedam 5cac4dc6bd
Merge pull request #8167 from pradyunsg/drop-list-parallelization 2020-05-07 23:57:17 +05:30
Pradyun Gedam d812fc2327
📰 2020-05-07 21:58:05 +05:30
Pradyun Gedam d18ebcfe41
Drop parallelization in `pip list` 2020-05-07 21:54:56 +05:30
Pradyun Gedam b0a3881828
Merge pull request #8143 from McSinyx/mypy-auto-pre 2020-05-07 18:49:48 +05:30
Pradyun Gedam abdc78fe33
Merge pull request #8199 from scop/changelog-project-url 2020-05-07 18:48:55 +05:30
Tzu-ping Chung 1ea42caf1f Allow prereleases in Requires-Python check 2020-05-07 21:15:43 +08:00
Paul Moore 94f2dc435b
Merge pull request #8170 from pfmoore/nr_constraints2
New Resolver: Second try at implementing constraints
2020-05-07 12:40:49 +01:00
Paul Moore c7c319c4ed Fix type declarations. Mypy let me down :-( 2020-05-07 11:55:56 +01:00
Paul Moore 64b3d1b278 Merge constraints into a single SpecifierSet 2020-05-06 11:30:25 +01:00
Paul Moore ee4830b5ec Move constraints from factory to provider 2020-05-06 10:56:50 +01:00
Ville Skyttä 4fa167e433 Add Changelog project URL
Background info at
  https://github.com/pypa/warehouse/pull/7882#issue-412444446
2020-05-06 08:25:35 +03:00
Tzu-ping Chung 6ab42a86b8 Add tests for --user installs
Tests are based on equivalents from test_install_user.py with
modifications to appropriately monkey-patch things in the new resolver
module.
2020-05-06 03:48:34 +08:00
Tzu-ping Chung d8062791dd Implement use-user-site 2020-05-06 03:48:34 +08:00
Pradyun Gedam a395afba81
Merge pull request #8185 from uranusjr/contain-include-prereleases 2020-05-05 18:13:56 +05:30
Tzu-ping Chung 9eb47650b0 Please don't use shell=True :( 2020-05-05 20:29:21 +08:00
Pradyun Gedam 6d1b1cf6c1
Merge pull request #8061 from uranusjr/no-requirementset-before-resolve 2020-05-05 16:42:57 +05:30
Pradyun Gedam 09a5af52e4
Merge pull request #8125 from uranusjr/yanked-link-warning-relocate 2020-05-05 16:15:52 +05:30
Tzu-ping Chung 1f32d8dfc6 Refine output check to accomodate specifier change 2020-05-05 18:42:53 +08:00
Paul Moore 8664218164 Merge branch 'master' into nr_constraints2 2020-05-05 11:41:09 +01:00
Pradyun Gedam c74128c424
Merge pull request #8180 from sbidoul/wheel-absent-warning-sbi 2020-05-05 16:08:54 +05:30
Pradyun Gedam cbfbc29b63
Merge pull request #8118 from ilanschnell/yaml_updates 2020-05-04 19:30:50 +05:30
Tzu-ping Chung 6b34b39b7e Build ireq line from parent for installed dist 2020-05-04 02:19:12 +08:00
Tzu-ping Chung 647dc6e128 Include prereleases in specifier check 2020-05-04 02:08:27 +08:00
Tzu-ping Chung 8facc4cee1 Avoid RequirementSet before reaching the resolver
The RequirementSet implementation conflates requirements incorrectly in
a lot of places. This means the (new) resolver would get incomplete
requirements.

The removes all RequirementSet.add_requirement() calls outside of the
legacy resolver, so the new resolver can get the unmodified list of
requirements specified by the user, allowing for more sophisticated
requirement merging.
2020-05-04 01:24:19 +08:00
gutsytechster b30dd1e04e fix(tests/unit): Update tests to be endian safe
This updates `test_path_to_display` and `test_str_to_display__encoding`
to use the endian safe expected result instead of the hardcoded one.

This fixes https://github.com/pypa/pip/issues/7921
2020-05-03 22:51:00 +05:30
Paul Moore 67e42423d0
Merge pull request #8126 from pfmoore/nr_upgrade_strategy
Implement upgrade strategies for the new resolver
2020-05-03 12:39:45 +01:00
Paul Moore 1599cc2a36 Merge branch 'master' into nr_upgrade_strategy 2020-05-03 11:01:27 +01:00
Paul Moore 218e7d830d
Merge pull request #8146 from uranusjr/new-resolver-extra-in-explicit-requirement
New resolver: Carry extras info in ExplicitRequirement
2020-05-03 10:57:48 +01:00
Paul Moore d3847e3071
Merge pull request #8059 from pelson/extra_requirements
Add xfail tests for case where specifications added as an extra are not honoured
2020-05-03 10:07:40 +01:00
Paul Moore 79a0afb79a
Merge pull request #8005 from uranusjr/candidate-from-link-retains-specifier
New resolver: Use requirement line to populate LinkCandidate._ireq
2020-05-03 09:59:50 +01:00
Paul Moore 2483fb6cdd
Merge pull request #8127 from pradyunsg/resolver/installation-order
Rework `get_installation_order` to allow for dependency cycles
2020-05-03 09:58:59 +01:00
Stéphane Bidoul 55d6022989
Update news/8178.bugfix
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-05-01 21:36:02 +02:00
Stéphane Bidoul 430ca847f3
Add news 2020-05-01 09:57:16 +02:00
Stéphane Bidoul d8c14d4006
Clarify message when wheel is not installed 2020-05-01 09:57:16 +02:00