Skip to content

Commit

Permalink
Expand on troubleshooting steps in resolver migration guide
Browse files Browse the repository at this point in the history
Co-authored-by: Sumana Harihareswara <sh@changeset.nyc>
  • Loading branch information
pradyunsg and brainwane committed Nov 29, 2020
1 parent b5304f3 commit 9c8dfdd
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions docs/html/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1747,10 +1747,21 @@ How to upgrade and migrate
deliver part of your functionality, please test your integration
with pip 20.3.

4. **Temporarily use the old resolver when necessary.** If you run
into resolution errors and need a workaround while you're fixing
their root causes, you can choose the old resolver behavior
using the flag ``--use-deprecated=legacy-resolver``.
4. **Troubleshoot and try these workarounds if necessary.**

- If pip is taking longer to install packages, read
:ref:`Dependency resolution backtracking` for ways to reduce the
time pip spends backtracking due to dependency conflicts.
- If you don't want pip to actually resolve dependencies, use the
``--no-deps`` option. This is useful when you have a set of package
versions that work together in reality, even though their metadata says
that they conflict. For guidance on a long-term fix, read
:ref:`Fixing conflicting dependencies`.
- If you run into resolution errors and need a workaround while you're
fixing their root causes, you can choose the old resolver behavior using
the flag ``--use-deprecated=legacy-resolver``. This will work until we
release pip 21.0 (see
:ref:`Deprecation timeline for 2020 resolver changes`).

5. **Please report bugs** through the `resolver testing survey`_.

Expand Down

0 comments on commit 9c8dfdd

Please sign in to comment.