Is your feature request related to a problem? Please describe.
dataclasses is currently required for all users of gptables (python 3.6-3.10), however it is included as a part of python 3.7+. The two latest versions (0.7 and 0.8) of the dataclasses backport aren't compatible for python 3.7+, so users will have the earlier dataclasses 0.6 installed.
Describe the solution you'd like
Only install dataclasses for python 3.6, eg dataclasses; python_version<"3.7"
Describe alternatives you've considered
We could remove support for python 3.6, however it may still be in use in some organisations
Is your feature request related to a problem? Please describe. dataclasses is currently required for all users of gptables (python 3.6-3.10), however it is included as a part of python 3.7+. The two latest versions (0.7 and 0.8) of the dataclasses backport aren't compatible for python 3.7+, so users will have the earlier dataclasses 0.6 installed.
Describe the solution you'd like Only install dataclasses for python 3.6, eg
dataclasses; python_version<"3.7"
Describe alternatives you've considered We could remove support for python 3.6, however it may still be in use in some organisations
Links PEP 508 may be relevant