Don't use timedelta.total_seconds, since it requires Python 2.7.
Specifying our requirements explicitly.