Commit Graph

94 Commits

Author SHA1 Message Date
Ben Darnell 2f29baa6c6 Fix lint checks
This was being run from the wrong directory in CI so some errors had
slipped in.
2018-05-18 14:24:55 -04:00
Ben Darnell b440d504a4 docs: Update examples to modern interfaces
Get rid of most uses of callbacks and convert most coroutines to
native form. The sphinx doctests now require python 3.
2018-05-05 21:50:05 -04:00
Ben Darnell 475fd6ff4c travis.yml: Disable coverage in pypy builds 2018-03-04 12:52:39 -05:00
Ben Darnell ddc0220613 travis.yml: Fix build on nightly python 2018-03-04 12:12:41 -05:00
Ben Darnell 336da267f0 travis: Ignore failures on nightly
This is currently failing with setuptools errors.
2018-01-26 20:09:42 -05:00
Ben Darnell f7a7026c8b build: Enforce flake8-cleanliness in CI 2018-01-06 18:22:41 -05:00
Ben Darnell 1d113d861e netutil: Use a threaded resolver by default
Uses IOLoop.run_in_executor.
concurrent.futures is now required on Python 2.
2017-12-22 21:52:53 -05:00
Ben Darnell 12a4627b35 travis.yml: Upgrade pypy3
This may fix weird test failures as seen in #2193
2017-12-08 12:32:51 -05:00
Ben Darnell 941d6f30d7 asyncio: Drop support for trollius
This package is no longer maintained and was never widely used.
2017-11-05 15:09:50 -05:00
Ben Darnell b7d2a152f9 ioloop: Disallow non-asyncio IOLoops on python 3 2017-11-05 15:09:50 -05:00
Ben Darnell 34c43f4775 Drop support for python 3.3, 3.5.[01] (#2116)
* Drop support for python 3.3

In June 2017, Python 3.3 accounted for 0.2% of Tornado's downloads
from pypi.

* travis.yml: Use trusty, update pypy versions

Get a py35-compatible version of pypy3. Plain "pypy" no longer seems
to work in this environment, so specify a version.

Drop testing of python 2.7.8, which no longer seems to be available.

* gen,queues: Drop the "legacy aiter protocol"

This protocol changed in Python 3.5.2 (after being introduced in
3.5.0). Async iteration now requires that version of Python (or
newer).

Closes #2107

* travis.yml: Only run doctests on one version of python 3

* Get tests passing on latest version of pypy3
2017-09-04 15:32:52 -04:00
Ben Darnell dc7b58d8fe ioloop: Make asyncio the default when available
In addition to changing the configurable default, add a special case
in IOLoop.current() so that the current IOLoop will be backed by
the main asyncio event loop.
2017-06-03 23:43:29 -04:00
Ben Darnell 5570350d93 travis: Skip "nodeps" build on pypy3
virtualenv (or pip, or setuptools) no longer supports py32, so this
won't work until travis has pypy3 3.5 available.
2017-04-15 11:03:21 -04:00
INADA Naoki 6596545bbe use new virtualenv 2017-04-13 11:21:32 +09:00
INADA Naoki 6998310b55 travis: fix using wrong Python version 2017-04-13 11:03:43 +09:00
Eugene Dubovoy 09caeaed52 Add Python 3.6 support 2017-01-08 18:19:30 +02:00
Ben Darnell 243feb9e8a travis.yml: Reproduce #1780 in CI 2016-07-25 23:53:36 -04:00
Felix Yan d0c600220a Add monotonic as an alternative to Monotime 2015-11-07 14:01:40 +08:00
Ben Darnell 153f61c574 Streamline travis-ci build.
Instead of running a DEPS=false version of every test, just run one
test environment per version and use a separate virtualenv for basic
tests in the DEPS=false case.
2015-11-06 20:03:18 -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 7b3e31be1f Make singledispatch and backports_abc mandatory dependencies.
I anticipate confusion around the differing behavior based on whether or
not these packages are installed, so it's better to just make them
mandatory (except on app engine).
2015-10-18 22:34:47 +02:00
Ben Darnell 943e14e394 Remove redundant travis_retry calls.
Thanks @ajdavis
2015-10-04 00:26:25 -04:00
Ben Darnell fe02b565fc Update versions in CI/tox configs. 2015-10-03 11:22:19 -04:00
Ben Darnell 1453e66572 Add some diagnostics for travis versions. 2015-09-27 14:08:24 -04:00
Ben Darnell 006a93e9e6 Fix coverage installation for py32. 2015-09-27 11:58:07 -04:00
Steve Peak 55b3b56389 Only call on specific py versions 2015-08-24 10:29:59 -04:00
Steve Peak ac156424c7 Generate coverage reports in maint
This was when `codecov` is called from the project root the coverage xml files will be found and uploaded
2015-08-24 10:21:26 -04:00
Steve Peak 7ee7338f0f Debug .coverage 2015-08-24 10:00:03 -04:00
Steve Peak 836f7c2742 use Codecov as coverage provider 2015-08-21 14:36:29 -04:00
Ben Darnell 135e2534f0 Disable coverage collection on the 'nightly' python version. 2015-08-02 22:43:57 -04:00
Ben Darnell 2caffda74a Enable test runs on py35 2015-08-02 21:44:46 -04:00
Lee Clemens 4339c9723f Update travis-ci.org URL in comment 2015-07-04 20:00:29 -04:00
Ben Darnell 616e9f0c42 Use the correct expression for detecting the presence of asyncio. 2015-04-18 12:21:10 -04:00
Ben Darnell 71d1cb484b Fix typo in travis.yml 2015-04-18 12:06:40 -04:00
Ben Darnell a80b353aac Add AsyncIOLoop to travis.yml 2015-04-18 12:00:31 -04:00
Ben Darnell 7698257764 Enable sphinx doctests on travis-ci 2015-02-09 00:22:28 -05:00
Ben Darnell 841b2d4de3 Singledispatch and twisted don't work well together on py26.
Only install singledispatch on py27.
2015-01-19 13:50:12 -05:00
Ben Darnell d6a940924b Use functools.singledispatch for convert_yielded when available.
Register a converter for asyncio.Future and add tests.
2015-01-19 10:12:56 -05:00
Ben Darnell 23e6098a98 travis-ci: don't install pycurl on pypy3. 2015-01-15 22:53:08 -05:00
Ben Darnell 27c54653ac Merge commit 'bbd1f9'
Conflicts:
	.travis.yml
2015-01-14 08:59:21 -05:00
Ben Darnell 3b7f2f6d04 Disable pycares tests on travis due to ipv6 issues. 2014-10-11 12:01:24 -04:00
Omer Katz bbd1f90107 Excluded more non-PyPy related build steps that I missed. 2014-09-15 13:12:14 +03:00
Omer Katz 5ddf3c3480 Build should fast finish since matrix is large. 2014-09-15 12:57:15 +03:00
Omer Katz db881d6e1e Added travis_retry to all network operations in order to avoid build errors due to connections being dropped. 2014-09-15 12:56:15 +03:00
Omer Katz 3af4823a0d Any pypy version probably shouldn't be installing/running those tests.
Correct me if I'm wrong.
2014-09-15 12:54:12 +03:00
Omer Katz 30aa673fba Added pypy3 to the build matrix. 2014-09-15 12:52:24 +03:00
Ben Darnell 1635b4093f Add "sudo: false" to .travis.yml in an attempt to stop the random build failures. 2014-07-24 22:28:45 -04:00
Ben Darnell 625bb0e075 Install sphinx_rtd_theme when running sphinx tests. 2014-07-12 23:07:01 -04:00
Ben Darnell 235e52d52a Disable twisted tests on pypy on travis-ci since they seem to be flaky.
They were already disabled in tox.ini.
2014-07-02 22:01:22 -04:00