Skip to content

Commit

Permalink
Make identity mapping mutually exclusive with install-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Nour-Mws committed Aug 8, 2023
1 parent 9e8c66c commit ffeec61
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions fawltydeps/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,11 +474,8 @@ def setup_resolvers(

if install_deps:
yield TemporaryPipInstallResolver()

# Identity mapping being at the end of the resolver sequence ensures that
# _all_ deps are matched. TODO: If we make the identity mapping optional,
# we must remember to properly handle/signal unresolved dependencies.
yield IdentityMapping()
else:
yield IdentityMapping()


def resolve_dependencies(
Expand Down

0 comments on commit ffeec61

Please sign in to comment.