-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unittests & continuous integration #63
base: master
Are you sure you want to change the base?
Unittests & continuous integration #63
Conversation
As declared upstream at https://www.djangoproject.com/download/#supported-versions Update Trove classifiers and requires/install_requires as a consequence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work adding tox support. I believe it is missing Django 1.9 in the envlist
.
skip_missing_interpreters = True | ||
|
||
[testenv] | ||
changedir = examples/protected_downloads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In #62 I've fixed the tests so they can be run at the project top level. If that lands, I don't think this changedir
will be required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, I just picked up from #28, hence the status of this branch.
Django 1.9 is EOLed since April, 4th. See https://www.djangoproject.com/download/#supported-versions. |
Makes sense. Thank you for explanation. |
Make protected_download app known as download through the AppConfig mechanism. Inspired by Michał Pasternak <[email protected]> commits in PR#66.
six dependency must be added to tox.ini as setup.py will just fail due to version importing code. Atomic commits from PR#66.
Atomic commits from PR#66.
Atomic commits from PR#66.
Signed-off-by: Gilles Dartiguelongue <[email protected]>
Since unicode_literals is imported, there is no need to have this explicit string marker. Also, it breaks with python3.2.
As mentioned in other tickets & pull requests, a clean way to test support for multiple versions of Django & Python is needed as some changesets actually brake support for Python 2 or 3 alternatively, etc.
This branch I started a couple of days ago got raced by work in #62 but the purpose here is to bring incremental changes picking up work from other contributors like in #28 and build on that. Also, you retain the ability to test the full matrix locally if you wish with tox (and in parallel with detox).
The net result should end up the same though.
If required, I can also rework #28 to make more atomic commits prior to getting this branch merged.
You can see from the Travis CI logs that even with the Py3 changes from #28, current master has broken python 3 support.