This PR aims to bring pydruid closer to current python standards by doing the following:
Bump dependencies, most notably unpinning Pandas from <1.0.
add isort to test matrix and pre-commit and reformat accordingly.
Remove py2 remnants by removing redundant __future__ imports and replacing six with regular py3 syntax.
Replace deprecated assertEquals with assertEqual and pandas.util.testing with pandas.testing which were causing deprecation warnings on tests.
Remove support for py35 due to current dependencies no longer supporting it (e.g. Pandas 1.0.4 doesn't support py35). I don't consider py35 to be production grade any longer (if ever).
Add requirements-dev.in to automate updating of requirements-dev.txt.
Move pycurl from requirements.txt to requirements-dev.txt (it's only needed for tests).
I propose doing at least a minor bump to the version number, as this removes support for py35.
This PR aims to bring
pydruid
closer to current python standards by doing the following:<1.0
.isort
to test matrix andpre-commit
and reformat accordingly.__future__
imports and replacingsix
with regular py3 syntax.assertEquals
withassertEqual
andpandas.util.testing
withpandas.testing
which were causing deprecation warnings on tests.requirements-dev.in
to automate updating ofrequirements-dev.txt
.pycurl
fromrequirements.txt
torequirements-dev.txt
(it's only needed for tests).I propose doing at least a minor bump to the version number, as this removes support for py35.