Remove dependency on `six`
rwhogg opened this issue · 0 comments
rwhogg commented
Describe the solution you'd like
We added a dependency on six
in #912 because without it, importing the module fails. But it's only needed from the days when we supported Python 2.7 (which we no longer do) and so we'd rather get rid of it.
This will require both:
a) removing it from setup.py and the testing constraints files
b) Rewriting all code that imports six
The latter can likely be accomplished in many cases by inlining the definitions and removing anything that only works/is needed on Python 2
Additional context
See also #911 where it was first noticed that we had an undeclared dependency