Update check_requirement and tests to take account of changes for PEP 440 compatibility. refs #2354

Signed-off-by: Daira Hopwood <daira@jacaranda.org>