Skip to content

Documentation inconsistency in #DependencyResolution chapter #12583

Open
@Stamp9

Description

@Stamp9

Description

In the v24.0 doc, in Dealing with conflicts section, the error message example is about python -m pip install "pytest < 4.6" pytest-cov==2.12.1 while the explanation also mentions package_tea version 4.3.0 depends on version 2.3.1 of package_water.
Then in the Loosen your top level requirements, it says "In our first example both package_coffee and package_tea have been pinned to use specific versions (package_coffee==0.44.1b0 package_tea==4.3.0)." actually there is no example about coffee & tea. It is a bit confusing.

Expected behavior

Maybe change(or add) the error message example in #Understanding your error messageor change the example used in #loosen-your-top-level-requirements

pip version

doc v24.0

Python version

OS

How to Reproduce

Go to https://pip.pypa.io/en/stable/topics/dependency-resolution/#

Output

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueA good item for first time contributors to work ontype: docsDocumentation related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions