Commit Graph

12 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
5a5fd08633 Tidy up setup.py a bit
* Remove unused import 'sys'
* Github is HTTPS
* Add some trove classifiers based upon Django's
2016-09-22 22:28:55 +01:00
Andrew Godwin
2176b209f7 Django-ification 2016-09-09 13:27:25 +01:00
Andrew Godwin
0b37e80614 Add attribute check for #31 and remove version pin 2016-08-28 11:14:13 -07:00
Sean Mc Allister
95351ffebb use twisted endpoint description strings to bind to ports and sockets 2016-08-11 17:52:27 +02:00
Andrew Godwin
d17394e84c Releasing 0.14.2 2016-07-07 16:58:12 -07:00
Andrew Godwin
105e914468 Releasing version 0.12.0 2016-05-07 13:01:05 -07:00
Andrew Godwin
a5946922f5 Releasing version 0.10 2016-03-21 16:45:24 -07:00
Andrew Godwin
b5400d0be5 Update setup a little 2016-02-21 13:17:17 +00:00
Andrew Godwin
bac3c14bfa Fix python 3 support 2016-02-05 17:23:49 -08:00
Andrew Godwin
88d47df276 Initial commit 2015-12-23 17:05:15 +00:00