Skip to content

Commit

Permalink
A constraint is not a top level requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Apr 12, 2020
1 parent e3a90dd commit 14be8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/cli/req_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def get_requirements(
parsed_req,
isolated=options.isolated_mode,
)
req_to_add.is_direct = True
req_to_add.is_direct = False
requirement_set.add_requirement(req_to_add)

for req in args:
Expand Down

0 comments on commit 14be8dc

Please sign in to comment.