@@ -54,9 +54,10 @@ A single requirement resolves to its full tree:
5454 .. code-block :: console
5555
5656 $ pipdeptree from-index "starlette"
57- starlette==1.3.1
58- └── anyio [candidate: 4.14.2]
59- └── idna [candidate: 3.18]
57+ starlette==1.6.0
58+ └── anyio [candidate: 4.15.1]
59+ ├── idna [candidate: 3.19]
60+ └── typing-extensions [candidate: 4.16.0]
6061
6162 Several requirements resolve together into one graph, and a version specifier bounds the pick:
6263
@@ -65,16 +66,17 @@ Several requirements resolve together into one graph, and a version specifier bo
6566
6667 $ pipdeptree from-index "fastapi<=0.115.2" starlette
6768 fastapi==0.115.2
68- ├── pydantic [candidate: 2.13.4 ]
69- │ ├── annotated-types [candidate: 0.7 .0]
70- │ ├── pydantic-core [candidate: 2.46.4 ]
69+ ├── pydantic [candidate: 2.13.5 ]
70+ │ ├── annotated-types [candidate: 0.8 .0]
71+ │ ├── pydantic-core [candidate: 2.46.5 ]
7172 │ │ └── typing-extensions [candidate: 4.16.0]
7273 │ ├── typing-extensions [candidate: 4.16.0]
73- │ └── typing-inspection [candidate: 0.4.2 ]
74+ │ └── typing-inspection [candidate: 0.4.4 ]
7475 │ └── typing-extensions [candidate: 4.16.0]
7576 ├── starlette [candidate: 0.40.0]
76- │ └── anyio [candidate: 4.14.2]
77- │ └── idna [candidate: 3.18]
77+ │ └── anyio [candidate: 4.15.1]
78+ │ ├── idna [candidate: 3.19]
79+ │ └── typing-extensions [candidate: 4.16.0]
7880 └── typing-extensions [candidate: 4.16.0]
7981
8082 Request extras with the ``name[extra] `` syntax. The resolver pulls the extra's dependencies into the tree. They appear
@@ -85,9 +87,9 @@ as children, such as ``pysocks`` below, with the pinned version from the resolve
8587
8688 $ pipdeptree from-index "requests[socks]"
8789 requests==2.34.2
88- ├── certifi [candidate: 2026.6.17 ]
89- ├── charset-normalizer [candidate: 3.4.9 ]
90- ├── idna [candidate: 3.18 ]
90+ ├── certifi [candidate: 2026.7.22 ]
91+ ├── charset-normalizer [candidate: 3.5.1 ]
92+ ├── idna [candidate: 3.19 ]
9193 ├── pysocks [candidate: 1.7.1]
9294 └── urllib3 [candidate: 2.7.0]
9395
@@ -98,7 +100,7 @@ requirement; a non-matching marker drops it. Quote the argument so the shell kee
98100 .. code-block :: console
99101
100102 $ pipdeptree from-index 'idna; python_version >= "3.10"'
101- idna==3.18
103+ idna==3.19
102104
103105 Resolve from a requirements file
104106~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -195,37 +197,50 @@ The graph and render flags behave as they do for the default command. Emit JSON
195197 "package": {
196198 "key": "anyio",
197199 "package_name": "anyio",
198- "candidate_version": "4.14.2 "
200+ "candidate_version": "4.15.1 "
199201 },
200202 "dependencies": [
201203 {
202204 "key": "idna",
203205 "package_name": "idna",
204- "candidate_version": "3.18"
206+ "candidate_version": "3.19"
207+ },
208+ {
209+ "key": "typing-extensions",
210+ "package_name": "typing-extensions",
211+ "candidate_version": "4.16.0"
205212 }
206213 ]
207214 },
208215 {
209216 "package": {
210217 "key": "idna",
211218 "package_name": "idna",
212- "candidate_version": "3.18 "
219+ "candidate_version": "3.19 "
213220 },
214221 "dependencies": []
215222 },
216223 {
217224 "package": {
218225 "key": "starlette",
219226 "package_name": "starlette",
220- "candidate_version": "1.3.1 "
227+ "candidate_version": "1.6.0 "
221228 },
222229 "dependencies": [
223230 {
224231 "key": "anyio",
225232 "package_name": "anyio",
226- "candidate_version": "4.14.2 "
233+ "candidate_version": "4.15.1 "
227234 }
228235 ]
236+ },
237+ {
238+ "package": {
239+ "key": "typing-extensions",
240+ "package_name": "typing-extensions",
241+ "candidate_version": "4.16.0"
242+ },
243+ "dependencies": []
229244 }
230245 ]
231246
@@ -235,8 +250,8 @@ Trace why the resolver pulled a package in with ``--reverse`` (``-r``):
235250 .. code-block :: console
236251
237252 $ pipdeptree from-index "fastapi<=0.115.2" --reverse --packages anyio
238- anyio==4.14.2
239- └── starlette==0.40.0 [requires: anyio==4.14.2 ]
253+ anyio==4.15.1
254+ └── starlette==0.40.0 [requires: anyio==4.15.1 ]
240255 └── fastapi==0.115.2 [requires: starlette==0.40.0]
241256
242257 Other supported flags include ``-o mermaid ``, the ``graphviz-* `` formats, ``--depth `` (``-d ``), package filters,
0 commit comments