Ben Darnell
04db75362c
Bump required autopep8 version.
...
This version can be installed on py3 but was having problems on py2.
2014-05-24 23:24:55 -04:00
Ben Darnell
0d3e2d337d
Switch to python 3.4 for maint/requirements.txt.
2014-05-24 23:18:46 -04:00
Ben Darnell
883b6635a1
Update maint/requirements.txt versions.
...
Everything but autopep8, which seems to have trouble installing on py27.
2014-05-24 22:32:26 -04:00
Ben Darnell
4b6fc9cb9f
Fix Tornado on Google App Engine.
...
Imports of tornado.ioloop have crept into more places, so the old
app engine policy of never importing these modules doesn't work.
Instead, we add guards around imports of unavailable modules
(fcntl, ssl, multiprocessing) so that everything is at least importable.
Closes #1059 .
2014-05-17 10:56:35 -04:00
Ben Darnell
ec4b7e4643
Remove ca-certificates bundle and instead depend on the certifi package.
2014-04-27 21:03:08 -04:00
Ben Darnell
073a535d52
Fix unix socket test on linux.
...
Unix socket addresses are bytes on linux (but str on mac). This mostly
works but causes errors in py3's -bb strict mode.
2014-04-27 12:58:40 -04:00
Ben Darnell
c8ce4517e3
Stop overriding _execute in WebSocketHandler; use get() instead.
...
Revise HTTP1Connection detach protocol.
As a side effect, this now decodes the arguments to open() in the same
way as the arguments to get().
2014-03-16 23:29:50 -04:00
Ben Darnell
824226d71b
Fix bit-rotted app engine tests.
...
sys.argv is no longer empty in dev_appserver.
2014-02-23 12:49:11 -05:00
Ben Darnell
665bd981df
Remove some vestigial references to 2to3.
2014-01-19 18:55:53 -05:00
Ben Darnell
d7d24217b8
Add usage comement to run_fixers.py.
2013-12-31 15:08:50 -05:00
Ben Darnell
647dce9818
Update run_autopep8.sh flags.
2013-12-29 23:43:23 -05:00
Ben Darnell
93714293c0
Upgrade maint/requirements.txt versions.
2013-12-29 23:33:47 -05:00
Ben Darnell
a324680856
Point Ubuntu 12.04 Vagrant file to a readily-available base image.
2013-11-06 11:53:00 -05:00
Ben Darnell
4a5fdb1e83
Add backports.ssl_match_hostname dependency in place of our copy.
...
This function has changed recently and it makes more sense to stop
maintaining a separate copy, even though it does introduce our first
required dependency.
2013-11-05 16:00:42 -05:00
Ben Darnell
9ce47af00c
Update autopep8 blacklist
2013-05-27 17:15:24 -04:00
Ben Darnell
86143dfe64
Update development dependency versions.
2013-05-27 17:15:12 -04:00
Ben Darnell
c022f7c915
Update redbot tests to work with current versions of redbot.
2013-05-18 19:58:18 -04:00
Ben Darnell
0de3de6ff4
Update pyuv test for latest version of pyuv and tornado-pyuv
2013-04-04 22:30:52 -04:00
Ben Darnell
d5426b861c
Upgrade requirement packages.
...
Upgrades are available for tox and virtualenv, but don't work for me
because of https://github.com/pypa/virtualenv/issues/366 (to be fixed
in virtualenv 1.9).
2013-03-02 19:43:59 -05:00
Ben Darnell
80bee0c240
Add IOLoop.run_sync convenience method.
2013-03-02 18:58:02 -05:00
Ben Darnell
4bfbbad331
Fix resolver test script.
2013-03-02 14:45:43 -05:00
Ben Darnell
d735bd818a
Add a resolver test script for external queries that cannot be unittested.
...
Note an issue with CaresResolver (it cannot resolve www.dropbox.com when
family==AF_UNSPEC)
2013-02-24 12:56:09 -05:00
Ben Darnell
75176a01eb
Add autobahn tests for client side of websockets.
2013-02-17 00:20:01 -05:00
Ben Darnell
d98afd41f1
Add a tox config for testing with the pyuv-based IOLoop.
2013-02-13 23:03:25 -05:00
Ben Darnell
e7d9e8a5b7
Update pyflakes version.
...
The new version no longer complains about all our conditional imports.
2013-02-05 19:51:51 -05:00
Ben Darnell
fa9534bb1b
Add a script for setting up a windows VM for testing.
...
This works with the images provided by http://modern.ie .
2013-02-02 22:40:53 -05:00
Ben Darnell
60cc236c96
Add vagrant config for ubuntu 12.10.
...
This release is interesting because it includes a python3 port of
pycurl (which is difficult to use from tox but can at least be tested
manually).
2013-01-23 21:22:34 -05:00
Ben Darnell
e582e58792
Update autopep8 to 0.8.5 and run it.
2013-01-19 13:48:02 -05:00
Ben Darnell
7faeeb1537
Remove more py25 testing configs
2013-01-13 21:59:48 -05:00
Ben Darnell
65df55da40
Convert print to a function and add future imports.
...
Automated with 2to3 and custom fixer.
2to3 -f print tornado > print.diff
2to3 -f print -d tornado > print_doctest.diff
maint/scripts/run_fixers.py -f future_import tornado > future.diff
cd tornado
git apply ../{print,print_doctest,future}.diff
2013-01-13 19:35:04 -05:00
Ben Darnell
8b40fafec7
Add tornado.util.u and a fixer script to start using it.
2013-01-13 18:40:18 -05:00
Ben Darnell
69ead0286c
Return a Vary: Accept-Encoding header whenever gzip is enabled.
...
This is one of two problems found with redbot. The other,
that etags should change when content-encoding is used, is trickier to
fix and seems to be less problematic.
Closes #578 .
2012-12-02 12:42:53 -05:00
Ben Darnell
0b1b515fc6
Add tests using the Redbot library for HTTP validation and caching.
2012-12-02 11:13:42 -05:00
Ben Darnell
e4ebf8be14
Add a mock.patch-compatible wrapper for options objects.
2012-12-01 15:50:40 -05:00
Ben Darnell
c04005b7ba
Fix TwistedIOLoop on epoll.
...
Twisted's removeAll doesn't like it if a socket is closed without being
unregistered. EPoll generates events slightly differently so be more
careful about doubled connectionLost events.
2012-10-07 16:59:36 -07:00
Ben Darnell
8b32830d73
Move IOLoop subclasses to their own modules under platform.
2012-10-06 21:11:54 -07:00
Ben Darnell
3747af59cb
Add futures to travis and vm tests, update assorted dependency versions.
2012-09-29 17:47:41 -07:00
Ben Darnell
186e947112
Remove tornado.database, which is now distributed separately.
2012-09-16 14:02:49 -07:00
Ben Darnell
5b7ebadd1b
Add unittest2 to other test configurations.
2012-09-05 17:54:21 -07:00
Ben Darnell
4e91f6720b
Start using new unittest features from py27/unittest2.
...
Tornado's test suite now requires unittest2 on py25 and py26.
tornado.testing will use unittest2 if available but does not require
it.
This means we can no longer run the test suite under app engine 2.5,
although it still works for app engine 2.7.
2012-08-30 18:24:49 -04:00
Ben Darnell
73c1ddfe2b
Move maint/appengine to maint/test/appengine
2012-08-30 14:41:24 -04:00
Ben Darnell
0148fda37b
Autobahn websocket test has moved to a separate package.
2012-08-29 13:33:00 -04:00
Ben Darnell
0cb3924a9e
Don't let autopep8 rewrite all the lines longer than 80 chars.
2012-08-27 17:31:47 -04:00
Ben Darnell
685a4cd99c
Update docutils dependency version.
...
0.9 doesn't appear to be in pypi any more.
2012-08-13 10:06:10 -07:00
Ben Darnell
ae3d20f57f
Update dependency versions
2012-06-14 21:29:21 -07:00
Ben Darnell
67d69340a2
Fix zope.interface/py25 dependencies for other tox.ini files
2012-05-27 21:35:27 -07:00
Ben Darnell
50244877b5
Ubuntu 12.04 is out, so add a vagrant config for it.
...
Replace the 11.04 config, but keep 10.04 to cover the two LTS releases.
2012-04-27 20:50:01 -07:00
Ben Darnell
5ae39bc6d1
Update vagrant configs for vagrant 1.0
2012-04-23 01:12:09 -07:00
Ben Darnell
2d665a41b0
Check in autopep8 script
2012-02-09 01:08:04 -08:00
Ben Darnell
58a7ff10a8
Turn on __future__ division too.
...
All existing uses of division were already using a float for at least
one operand (except the tests that just do 1/0 as a quick way to throw
an exception).
We have now turned on all the __future__ options available in python2.5.
2012-02-09 00:17:58 -08:00