File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- Generate PEP 376 REQUESTED metadata for top level requirements installed
1+ Generate PEP 376 REQUESTED metadata for user supplied requirements installed
22by pip.
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def add_requirement(
108108
109109 # This next bit is really a sanity check.
110110 assert not install_req .user_supplied or parent_req_name is None , (
111- "a direct req shouldn't have a parent"
111+ "a user supplied req shouldn't have a parent"
112112 )
113113
114114 # Unnamed requirements are scanned again and the requirement won't be
@@ -164,8 +164,8 @@ def add_requirement(
164164 # If we're now installing a constraint, mark the existing
165165 # object for real installation.
166166 existing_req .constraint = False
167- # If we're now installing a top level requirement, mark the existing
168- # object as top level .
167+ # If we're now installing a user supplied requirement,
168+ # mark the existing object as such .
169169 if install_req .user_supplied :
170170 existing_req .user_supplied = True
171171 existing_req .extras = tuple (sorted (
You can’t perform that action at this time.
0 commit comments