As Python 2.7 deprecation is coming up and the package supports old Python and Django versions, cleaning up old code allows cleaner dependencies, faster development, and better security.
This PR updates the test support matrix for Python 3.7, Python 3.8 and PyPy. It also removes old deprecated compatibility shims supporting e.g. old Django versions that are EOL.
The old testfixtures and mock libraries have also been deprecated in favour or unittest.mock and Python core modules, which allows for a more lightweight test setup.
Travis has been updated to use tox-travis for neater test support and tox file was added to run the tests easily against multiple Python and Django versions in a local environment.
As Python 2.7 deprecation is coming up and the package supports old Python and Django versions, cleaning up old code allows cleaner dependencies, faster development, and better security.
This PR updates the test support matrix for Python 3.7, Python 3.8 and PyPy. It also removes old deprecated compatibility shims supporting e.g. old Django versions that are EOL.
The old
testfixtures
andmock
libraries have also been deprecated in favour orunittest.mock
and Python core modules, which allows for a more lightweight test setup.Travis has been updated to use
tox-travis
for neater test support andtox
file was added to run the tests easily against multiple Python and Django versions in a local environment.Fixes #102