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

Py3, django 1.7 for example app, wheel support, tox #28

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

Conversation

NotSqrt
Copy link

@NotSqrt NotSqrt commented Oct 29, 2014

Running the test is as simple as:

tox

If you want to run them manually:

cd examples/protected_downloads
python manage.py test sendfile

Tests work for django 1.4 -> 1.7, and python 2.6, 2.7, 3.2, 3.3, 3.4.
Dropped support for django 1.3, minimal django is now 1.4.2, because it is the minimal version that is effectively compatible with python 3.

Let me know what you think of this !

@NotSqrt
Copy link
Author

NotSqrt commented Oct 29, 2014

cf #25

@johnsensible
Copy link
Owner

Sorry for not having looked at this. I might eventually get to this, but my capacity is pretty low ATM. Lots of client work, plus small children...

Anyway, I've never used tox before - I might need a little guidance...

@NotSqrt
Copy link
Author

NotSqrt commented Jan 19, 2015

The config is done, so nothing to do here, except adding new settings when django 1.8 arrives.

All you need to do is installing tox, and execute tox.
It will create multiple venv with the proper dependencies, and run tests for all combinations:
django 1.5/1.6/1.7 on python 2.7 and on py3.3, etc.

Very useful for checking the compatibility of the module.

EvaSDK added a commit to lexfo/django-sendfile that referenced this pull request Apr 5, 2017
EvaSDK added a commit to lexfo/django-sendfile that referenced this pull request Apr 10, 2017
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.

2 participants