Commit graph

151 commits

Author SHA1 Message Date
Dave Shawley
46d0326954 2.1.1: Fix testing with on stop methods. 2020-02-19 10:14:08 -05:00
cknave
07e6f0975a
Merge pull request #35 from dave-shawley/fix-testing
Use loop-specific create_task in Application.stop.
2020-02-19 09:14:31 -05:00
Dave Shawley
e81c4cefb4 Use loop-specific create_task in Application.stop.
Calling asyncio.create_task() requires a running event loop which we
cannot guarantee.  The event loop is not running when stop is called in
the testing.SprocketsHttpTestCase.
2020-02-19 06:37:58 -05:00
Dave Shawley
fd67c42a6a Release 2.1.0 2019-10-09 11:05:19 -04:00
Gavin M. Roy
39ac13d253
Merge pull request #33 from dave-shawley/require-log-config
Require log config
2019-09-12 11:52:04 -04:00
Dave Shawley
e6ef43c050 Deprecate calling run without a logging config. 2019-09-03 07:29:20 -04:00
Dave Shawley
b7b787ee31 Add _ShutdownHandler tests. 2019-09-03 07:05:09 -04:00
Dave Shawley
3c71ae0313 Add missing tests for top-level 2019-09-03 07:05:09 -04:00
Gavin M. Roy
fe4f4a7e38
Merge pull request #32 from dave-shawley/add-testing
Add testing module.
2019-09-02 22:10:51 -04:00
Dave Shawley
c800f9a00f Advertise support for python 3.8 2019-09-02 17:05:52 -04:00
Dave Shawley
cd478d0a3d Add sprockets.http.testing 2019-09-02 08:09:34 -04:00
Dave Shawley
7991f99807 Make shutdown timings configurable. 2019-09-02 08:01:09 -04:00
Dave Shawley
eab16f5f2a Update LICENSE year. 2019-09-02 07:57:24 -04:00
Dave Shawley
d2a1171279 Update development tool versions. 2019-09-02 07:56:11 -04:00
Andrew Rabert
474d4b268b Fix docs 2019-08-30 16:11:17 -04:00
dave-shawley
8baa4cdc1f
Merge pull request #31 from gmr/tornado6
Change pinning of Tornado to include Tornado 6
2019-03-05 14:23:35 -05:00
Gavin M. Roy
33e4ceb704 Change pinning of Tornado to include Tornado 6 2019-03-05 14:17:31 -05:00
Andrew Rabert
ef74068dd4 Update RTD conf 2018-11-29 17:19:25 -05:00
Andrew Rabert
d2c0d4a43d Release version 2.0.0 2018-11-27 17:33:28 -05:00
Andrew Rabert
a6305bedd8
Merge pull request #29 from nvllsvm/tornado5
Add support for Tornado >= 5
2018-11-27 17:27:23 -05:00
Andrew Rabert
63bf39cf4a Simplify doc config 2018-11-26 19:38:35 -05:00
Andrew Rabert
49195dd75a Ensure flake8 compliance in CI 2018-11-26 19:31:40 -05:00
Andrew Rabert
0cdbcd28d8 Add missing changelog link 2018-11-26 19:31:04 -05:00
Andrew Rabert
c68e5e1762 Ensure docs build in CI 2018-11-26 19:30:55 -05:00
Andrew Rabert
c6cfc2bc82 Simplify setup.py 2018-11-26 19:26:34 -05:00
Andrew Rabert
a981861bf1 Use python 3 super 2018-11-26 19:24:30 -05:00
Andrew Rabert
11bc7079c0 Remove explicit object inheritance 2018-11-26 19:03:37 -05:00
Andrew Rabert
78e063963d Remove mock and update tests 2018-11-26 19:03:37 -05:00
Andrew Rabert
234fb6d479 Support only tornado>=5.0
- Drop support for all versions of tornado prior to 5.0. This negates
the need for version-aware conditionals that previous existed.
- Update tox to test Tornado 5.0 and the unpinned latest version.
2018-11-26 19:03:37 -05:00
Andrew Rabert
8dfb33d6cc Drop pypy support 2018-11-26 19:03:37 -05:00
Andrew Rabert
3b30dbb8e2 Drop support for Python < 3.5 2018-11-26 19:03:37 -05:00
Andrew Rabert
378207f331 Reorganize and update requirements
- Move test deps to testing.txt
- Move doc deps to docs.txt. IMO - keeps things clearer
- Unpin flake8
- Require sprockets.http installation in edit mode
2018-11-26 19:03:21 -05:00
Andrew Rabert
008e5d51be Pin Tornado based on Python version 2018-11-26 19:03:21 -05:00
Andrew Rabert
74aaf7bf01 Add support for Tornado >= 5 2018-11-26 19:03:21 -05:00
Andrew Rabert
3a434d43c3
Merge pull request #26 from dave-shawley/signal-safe
Runner: remove logging from signal handler.
2018-08-21 10:51:43 -04:00
Andrew Rabert
c30343e8df Add Python 3.6 and 3.7 to Travis 2018-08-08 15:55:38 -04:00
Dave Shawley
3321987dfc Runner: remove logging from signal handler.
It turns out that logging.Logger SHOULD NOT be used in signal handlers.
We are running into this elsewhere in the system so that is absolutely
no reason to risk it here.

ref: https://docs.python.org/3/library/logging.html#thread-safety
2018-03-15 07:34:09 -04:00
Gavin M. Roy
1868d40e63 Bump the version, license year 2018-01-29 11:27:56 -05:00
Gavin M. Roy
7ef88a34ae
Merge pull request #19 from nvllsvm/master
Avoid RecursionError in test
2018-01-29 11:26:43 -05:00
Gavin M. Roy
615577e092
Merge pull request #24 from dave-shawley/reuse-that-address
Reuse the listening socket address
2018-01-29 11:26:21 -05:00
Dave Shawley
25cbd8e8af Add .readthedocs.yml. 2018-01-29 07:50:21 -05:00
Dave Shawley
fdb97b8987 LICENSE: version bump. 2018-01-29 07:39:35 -05:00
Dave Shawley
d4b05e2970 docs/history: fix syntax. 2018-01-29 07:38:37 -05:00
Dave Shawley
eb53e8711c travis: remove doc building.
RIP pythonhosted.org
2018-01-29 07:37:56 -05:00
Dave Shawley
cc90a09ae7 docs: add badges and links to README. 2018-01-29 07:37:53 -05:00
Dave Shawley
473f2f2de0 Install flake8 for development. 2018-01-29 07:18:58 -05:00
Dave Shawley
917f84bd3f tox.ini: Add testing of multiple Tornado versions. 2018-01-28 14:34:35 -05:00
Dave Shawley
fb909088d9 Enable reuse_port option to HTTPServer.bind.
This makes solutions that restart the process (e.g., envconsul) work
properly.  Without port reuse, you will get a very unpleasant "port
already in use" when the service restarts.

This requires Tornado >= 4.4
2018-01-28 14:32:41 -05:00
Brian Korty
a6fdbba463
Merge pull request #23 from bkorty/bump-to-142
Metadata bumps for 1.4.2.
2018-01-25 09:43:05 -05:00
Brian Korty
a3e7836acd Metadata bumps for 1.4.2. 2018-01-25 09:36:49 -05:00