diff options
author | Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com> | 2020-11-29 21:17:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 21:17:35 +0000 |
commit | a498c131585ad3ee4febbeecd5f50bb1dd47ffc2 (patch) | |
tree | 85683b92dea8feab752c7173cacd63cd0e9f71d4 | |
parent | 502b4b1b84550822bc7259a8ab00bd5c71517c1e (diff) | |
parent | 9c8dfdd31383a4dd1528d6062eb13154108488d3 (diff) | |
download | pip-a498c131585ad3ee4febbeecd5f50bb1dd47ffc2.tar.gz |
Merge pull request #9174 from pradyunsg/tweaks-to-migration-guide
Expand on troubleshooting steps in resolver migration guide
-rw-r--r-- | docs/html/user_guide.rst | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/docs/html/user_guide.rst b/docs/html/user_guide.rst index 9c30dca5a..e3aa5dc33 100644 --- a/docs/html/user_guide.rst +++ b/docs/html/user_guide.rst @@ -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`_. |