If we fail to find a set of versions, try to return a close match
commit0359a02a1e302dc0417bc7d516aec7aa998db9d3
authorThomas Leonard <talex5@gmail.com>
Fri, 26 Mar 2010 19:45:47 +0000 (26 19:45 +0000)
committerThomas Leonard <talex5@gmail.com>
Fri, 26 Mar 2010 19:45:47 +0000 (26 19:45 +0000)
treeff8e7d3bcad5fd63e33697e464c9d0e0950d2425
parent60534f47b55c6c0588249950440f4db3ddc2fe6b
If we fail to find a set of versions, try to return a close match

After failing to solve, try again with an extra dummy version for every interface.
This matches any restriction and any architecture and has no dependencies, but we
only select it if we have no other choice.

The idea is that failed selections give the user a better idea of where the
problem is.
tests/testsat.py
zeroinstall/injector/sat.py
zeroinstall/injector/solver.py