Commit Graph

14 Commits

Author SHA1 Message Date
Maik Hoepfel
cf94ec01fa Test against Python 3.4 and multiple Twisted versions (#75)
* Test against Python 3.4 and multiple Twisted versions

This commit adds tox to be able to test against different dependencies
locally. We agreed that Python 3.4 should be supported across all Channels
projects, so it is also added with this commit.

Furthermore, I think it makes sense to support a broad range of Twisted
releases, as users of daphne are not unlikely to have other Twisted code
running. It's not feasible to test against all releases since 16.0, and
it would require constant maintenance to add new releases as they come
out. So I opted to keep things simple for now, and only test against the
oldest supported and the current Twisted release.

I did consider @jpic's great idea from
https://github.com/django/daphne/pull/19 to just use tox to avoid having
to duplicate the dependency matrix. But it does lead to slower test runs
as it bypasses Travis' caching, and is slightly more verbose.

* Require asgiref 1.0 and use receive instead of receive_many

As both daphne and asgiref had a 1.0 release, I think it makes sense to
require the presumably more stable asgiref 1.0. It's also a good
occasion to fix the deprecation warnings when running the tests by
switching to receive instead of receive_many.

* Document supported Python and Twisted versions
2017-01-30 17:24:17 -08:00
Sean Mc Allister
e38c7541da Merge remote-tracking branch 'upstream/master' into ticket_10 2016-10-21 17:51:52 +02:00
Adam Chainz
bcaf1de155 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-09-21 08:43:24 +01:00
Andrew Godwin
2176b209f7 Django-ification 2016-09-09 13:27:25 +01:00
Andrew Godwin
8662b02daf Add maintenance and security README 2016-09-09 12:52:12 +01:00
Sean Mc Allister
ea399ecc1b updated README with an example of endpoint string usage 2016-08-12 10:19:41 +02:00
Sean Mc Allister
626b15e8c3 Update README.rst
Added some more text to explain usage behind proxy servers and inside process managers
2016-07-14 10:54:23 +02:00
Andrew Godwin
0ebfea94a8 Fix header name, add test 2016-06-21 08:20:34 -07:00
Andrew Godwin
5a451ab06a Fixed #24: Configurable root_name options 2016-06-21 08:15:35 -07:00
Andrew Godwin
e3ca0a9e28 Add version shield 2016-05-07 13:02:28 -07:00
Artem Khomenko
a0b2e2b72c Update README
For run Daphe server you need write ':' instead of '.' to use your channel_layer from asgi.py
2016-03-15 23:12:58 +02:00
Andrew Godwin
f85be12408 Add Travis CI config 2016-02-05 17:25:37 -08:00
Andrew Godwin
1889680fd0 Update README 2016-01-02 18:48:53 -08:00
Andrew Godwin
88d47df276 Initial commit 2015-12-23 17:05:15 +00:00