Skip to content
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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

EvaSDK
Copy link

@EvaSDK EvaSDK commented Apr 10, 2017

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.

Copy link
Contributor

@jdufresne jdufresne left a 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
Copy link
Contributor

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.

Copy link
Author

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.

@EvaSDK
Copy link
Author

EvaSDK commented Apr 10, 2017

Django 1.9 is EOLed since April, 4th. See https://www.djangoproject.com/download/#supported-versions.

@jdufresne
Copy link
Contributor

Makes sense. Thank you for explanation.

@timabbott timabbott mentioned this pull request Oct 17, 2017
EvaSDK and others added 6 commits November 13, 2017 15:37
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.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants