Commit Graph

84 Commits

Author SHA1 Message Date
Andrew Sumin c162ebbc4d remove redundant with_statement feature 2017-03-07 12:07:06 +03:00
Ben Darnell c45e10c9bc tox: Update some configs to use py36
Closes #1926
2017-02-20 17:04:14 -05:00
Andrey Sumin e17bdfeb40 deprecate libcurl < 7.22.0 and remove Ubuntu 10.04 Vagrant configs 2016-09-06 11:28:28 +03:00
Ben Darnell b9c875712d Mass update of dependency versions 2016-04-10 15:41:29 -04:00
Ben Darnell f36280600f Invert fix_unicode_literal to switch back to real literals. 2015-11-06 18:53:11 -05:00
Ben Darnell 4d6fef7897 Drop support for Python 3.2.
Remove python 3.2 support from all test configurations and docs,
but do not actively remove code that exists for 3.2 compatibility.
2015-11-06 18:53:11 -05:00
Ben Darnell 02e67efa6b Drop Python 2.6 support.
Remove python 2.6 support from all test configurations and docs,
but do not actively remove code that exists for 2.6 compatibility.
2015-11-06 18:53:11 -05:00
Ben Darnell 5268068cb5 Re-run our custom fixers to normalize future imports 2015-10-25 11:20:10 -04:00
Ben Darnell b9d8e00ad5 Slight update to bit-rotted test.
Currently failing because tornaduv doesn't support the new 4.2
make_current features.
2015-10-18 21:52:17 +02:00
Ben Darnell 703802857e Support patchless use of backports_abc 0.4 2015-09-30 01:05:28 -04:00
Ben Darnell d3ff7acc5c Remove stale comment. 2015-09-30 00:03:13 -04:00
Ben Darnell 8dfe52e9db Update requirements 2015-09-29 23:51:56 -04:00
Ben Darnell 631187aec6 Clarify comment about `@cython.binding`.
It's only necessary for static functions, not methods.
2015-09-14 20:29:53 -04:00
Ben Darnell 4ccfe8925d Make ArgReplacer compatible with cython-compiled functions.
This requires a directive in the cython code to make the signature
introspectable.
2015-09-14 00:50:26 -04:00
Ben Darnell 3463036d75 Support coroutines compiled with cython
On Python 3.5, this means supporting awaitables that are not
iterables. On older versions of python, this includes
* In `@gen.coroutine`, recognizing cython's coroutines
  via the backports_abc module.
* At various points in the gen module, recognize cython's
  use of `StopIteration.args[0]` in place of `StopIteration.value`.
* Implementing Future.__await__ and _wrap_awaitable for
  pre-3.3 versions of python.
2015-09-13 23:13:43 -04:00
daftshady 89e153fcda added etag testcases to red_test 2015-03-05 17:17:34 +09:00
Ben Darnell 2d33c94548 Update requirement versions; add flake8 and twine 2015-02-08 13:55:02 -05:00
Ben Darnell 212c0c8df1 Update dependency versions in maint/requirements.txt 2014-10-11 11:47:03 -04:00
Ben Darnell 429e499158 Modernize freebsd vagrant config. 2014-08-31 23:33:15 -04:00
INADA Naoki c6596d55a4 Replace tornado.util.bytes_type to bytes 2014-08-25 14:56:49 +09:00
Ben Darnell 576c1c43bc Implement permessage-deflate websocket extension.
Parameters to the extension are not fully supported (the client side
supports client_no_context_takeover which is mandatory to implement,
but the server rejects any parameters offered by the client, and neither
side supports setting wbits).

Closes #308.
Closes #668.
2014-07-27 01:32:09 -04:00
Ben Darnell a8e272adca Add an ubuntu 14.04 vagrant config; drop 12.10. 2014-07-19 11:18:24 -04:00
Ben Darnell b96d6f6b52 Use sphinx_rtd_theme instead of our lightly-customized version of sphinx default.
The main benefit of this change is the responsive layout for phones and
tablets.
2014-07-12 22:57:16 -04:00
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