Skip to content

Commit a2a4feb

Browse files
authored
Merge pull request #11761 from sbidoul/direct-url-hashes-part-3-sbi
2 parents efedf09 + ec7eb6f commit a2a4feb

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

docs/html/reference/inspect-report.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
```{versionadded} 22.2
44
```
55

6+
```{versionchanged} 23.0
7+
``version`` has been bumped to ``1`` and the format declared stable.
8+
```
9+
610
The `pip inspect` command produces a detailed JSON report of the Python
711
environment, including installed distributions.
812

docs/html/reference/installation-report.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
```{versionadded} 22.2
44
```
55

6+
```{versionchanged} 23.0
7+
``version`` has been bumped to ``1`` and the format declared stable.
8+
```
9+
610
The `--report` option of the pip install command produces a detailed JSON report of what
711
it did install (or what it would have installed, if used with the `--dry-run` option).
812

@@ -61,7 +65,7 @@ package with the following properties:
6165
`--find-links`.
6266

6367
```{note}
64-
For source archives, `download_info.archive_info.hash` may
68+
For source archives, `download_info.archive_info.hashes` may
6569
be absent when the requirement was installed from the wheel cache
6670
and the cache entry was populated by an older pip version that did not
6771
record the origin URL of the downloaded artifact.
@@ -96,7 +100,9 @@ will produce an output similar to this (metadata abriged for brevity):
96100
"download_info": {
97101
"url": "https://files.pythonhosted.org/packages/a4/0c/fbaa7319dcb5eecd3484686eb5a5c5702a6445adb566f01aee6de3369bc4/pydantic-1.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
98102
"archive_info": {
99-
"hash": "sha256=18f3e912f9ad1bdec27fb06b8198a2ccc32f201e24174cec1b3424dda605a310"
103+
"hashes": {
104+
"sha256": "18f3e912f9ad1bdec27fb06b8198a2ccc32f201e24174cec1b3424dda605a310"
105+
}
100106
}
101107
},
102108
"is_direct": false,
@@ -141,7 +147,9 @@ will produce an output similar to this (metadata abriged for brevity):
141147
"download_info": {
142148
"url": "https://files.pythonhosted.org/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl",
143149
"archive_info": {
144-
"hash": "sha256=5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"
150+
"hashes": {
151+
"sha256": "5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"
152+
}
145153
}
146154
},
147155
"is_direct": false,
@@ -160,7 +168,9 @@ will produce an output similar to this (metadata abriged for brevity):
160168
"download_info": {
161169
"url": "https://files.pythonhosted.org/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9/typing_extensions-4.2.0-py3-none-any.whl",
162170
"archive_info": {
163-
"hash": "sha256=6657594ee297170d19f67d55c05852a874e7eb634f4f753dbd667855e07c1708"
171+
"hashes": {
172+
"sha256": "6657594ee297170d19f67d55c05852a874e7eb634f4f753dbd667855e07c1708"
173+
}
164174
}
165175
},
166176
"is_direct": false,

0 commit comments

Comments
 (0)