Make get_years pass unit tests.

- Update requirements to add dateutil for relativedelta.