Use soft requirements for versions.

The dependencies in test scope don't need a version range. Soft
requirements makes the build more stable.