@@ -165,6 +165,9 @@ will avoid performing dependency resolution during deployment.
165
165
166
166
## Dealing with dependency conflicts
167
167
168
+ This section uses hypothetical packages (` package_coffee ` , ` package_tea ` , and
169
+ ` package_water ` ) to explain how pip resolves conflicts.
170
+
168
171
This section provides practical suggestions to pip users who encounter
169
172
a ` ResolutionImpossible ` error, where pip cannot install their specified
170
173
packages due to conflicting dependencies.
@@ -194,6 +197,11 @@ because they each depend on different versions of the same package
194
197
- `` package_tea `` version `` 4.3.0 `` depends on version `` 2.3.1 `` of
195
198
`` package_water ``
196
199
200
+ Note: ` package_coffee ` , ` package_tea ` , and ` package_water ` are hypothetical
201
+ packages used only to illustrate dependency conflicts. They are not real
202
+ projects you can install.
203
+
204
+
197
205
Sometimes these messages are straightforward to read, because they use
198
206
commonly understood comparison operators to specify the required version
199
207
(e.g. ` < ` or ` > ` ).
@@ -252,10 +260,10 @@ the same version of `package_water`, you might consider:
252
260
253
261
In the second case, pip will automatically find a version of both
254
262
` package_coffee ` and ` package_tea ` that depend on the same version of
255
- ` package_water ` , installing :
263
+ ` package_water ` , for example :
256
264
257
265
- ` package_coffee 0.44.1 ` , which depends on ` package_water 2.6.1 `
258
- - ` package_tea 4.4.3 ` which _ also _ depends on ` package_water 2.6.1 `
266
+ - ` package_tea 4.4.3 ` , which also depends on ` package_water 2.6.1 `
259
267
260
268
If you want to prioritize one package over another, you can add version
261
269
specifiers to _ only_ the more important package:
0 commit comments