My requirements.txt has got dataclasses in it, to backport for python 3.6
However, some build machines and coworkers use python 3.7, which fails when it attempts to install this module.
Is there a way to make dataclasses only installed if it is necessary?