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 @@ -111,7 +111,7 @@ def add_requirement(
111111
112112 # This next bit is really a sanity check.
113113 assert not install_req .user_supplied or parent_req_name is None , (
114- "a direct req shouldn't have a parent"
114+ "a user supplied req shouldn't have a parent"
115115 )
116116
117117 # Unnamed requirements are scanned again and the requirement won't be
@@ -166,8 +166,8 @@ def add_requirement(
166166 # If we're now installing a constraint, mark the existing
167167 # object for real installation.
168168 existing_req .constraint = False
169- # If we're now installing a top level requirement, mark the existing
170- # object as top level .
169+ # If we're now installing a user supplied requirement,
170+ # mark the existing object as such .
171171 if install_req .user_supplied :
172172 existing_req .user_supplied = True
173173 existing_req .extras = tuple (sorted (
You can’t perform that action at this time.
0 commit comments