Commit graph

61 commits

Author SHA1 Message Date
Andrew Rabert
1b603b5d7a Release 2.5.0 2022-05-26 15:06:41 -04:00
Andrew Rabert
32be20fb0e Release 2.4.0 2022-03-16 10:41:24 -04:00
Andrew Rabert
e85e7fbc9e Add support for python 3.10 2022-03-15 17:48:03 -04:00
Andrew Rabert
a0ad9837b4 Release 2.3.0 2022-02-03 15:16:56 -05:00
Andrew Rabert
2beb76207a Update contributing
Basic, but the previous was very out of date
2022-02-03 11:56:43 -05:00
Andrew Rabert
62dd020d42 Release 2.2.0 2020-09-28 09:27:29 -04:00
Dave Shawley
886b559e4f 2.1.2: Fixes for python 3.9. 2020-09-15 09:21:54 -04:00
Dave Shawley
5c103cde0e Deprecation notice for sprockets.http.run.
sprockets.http.run will only accept sprockets.app.Application instances
in the near future.  I'm doing this so that we can clean up the runner
code significantly as we move to using `async` and `await` instead of
futures.
2020-07-18 16:31:32 -04:00
Dave Shawley
9430941e4a Use asyncio.all_tasks if it exists.
Python 3.9 removed ``asyncio.Task.all_tasks`` so I switched to using
``asyncio.all_tasks`` instead.  The ``all_tasks`` function was added
in 3.7 and ``Task.all_tasks`` was deprecated then.
2020-07-18 08:50:20 -04:00
Dave Shawley
46d0326954 2.1.1: Fix testing with on stop methods. 2020-02-19 10:14:08 -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
Dave Shawley
e6ef43c050 Deprecate calling run without a logging config. 2019-09-03 07:29:20 -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
Gavin M. Roy
33e4ceb704 Change pinning of Tornado to include Tornado 6 2019-03-05 14:17:31 -05:00
Andrew Rabert
d2c0d4a43d Release version 2.0.0 2018-11-27 17:33:28 -05:00
Andrew Rabert
63bf39cf4a Simplify doc config 2018-11-26 19:38:35 -05:00
Andrew Rabert
0cdbcd28d8 Add missing changelog link 2018-11-26 19:31:04 -05:00
Andrew Rabert
a981861bf1 Use python 3 super 2018-11-26 19:24:30 -05: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
Dave Shawley
d4b05e2970 docs/history: fix syntax. 2018-01-29 07:38:37 -05:00
Dave Shawley
cc90a09ae7 docs: add badges and links to README. 2018-01-29 07:37:53 -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
a3e7836acd Metadata bumps for 1.4.2. 2018-01-25 09:36:49 -05:00
Dave Shawley
e7106c6c71 Metadata bumps for 1.4.1. 2018-01-03 13:44:32 -05:00
Dave Shawley
57b161a5d3 requirements: pin sphinx version.
See https://bitbucket.org/birkenfeld/sphinx-contrib/issues/184/
2018-01-03 13:10:03 -05:00
Dave Shawley
f3946a747f docs/api.rst: Fix typo. 2016-11-03 15:28:16 -04:00
Dave Shawley
677e0ba6c0 Metadata bumps for 1.4.0 2016-11-03 07:53:04 -04:00
Dave Shawley
53f30b9476 Update user-land docs. 2016-11-03 07:52:53 -04:00
Dave Shawley
531b796559 Add sprockets.http.app module.
This module separates out the application state management from the
mechanics of running the application.  The former is destined for a
sub-class of tornado.web.Application (as app.Application) and the
latter remains in sprockets.http.runner.
2016-11-01 22:01:27 -04:00
Gavin M. Roy
22a33b13ae Include correlation-id in the structured log data when logging. 2016-09-20 16:44:45 -04:00
Gavin M. Roy
a2c31f31eb Include environment and service in the structured log data 2016-09-19 10:02:46 -04:00
Gavin M. Roy
03b3f9d0d5 Remove the hook on startup and sprockets.logging 2016-08-29 16:12:51 -04:00
Gavin M. Roy
ae85b3bc89 Ready 1.3.0 2016-08-29 15:10:14 -04:00
Dave Shawley
140da0e79e - Fix sprockets namespace packaging. 2016-07-31 21:15:28 -04:00
Dave Shawley
acc29c1428 Documentation clean up. 2016-06-13 23:23:35 -04:00
Dave Shawley
2f263b0997 Add `httprun` distutils command. 2016-06-13 23:23:17 -04:00
Gavin M. Roy
20d0a0ed43 Update documentation 2016-03-11 10:29:14 -05:00
Kelly O'Brien
ddafcc240b document headers feature 2016-02-23 13:33:55 -05:00
Dave Shawley
f3bfb0bd28 Delay grabbing the IOLoop until after fork. 2016-02-15 13:01:16 -05:00
Dave Shawley
64e7261543 docs/history: Fix broken link. 2016-02-11 14:46:04 -05:00
Dave Shawley
4278f513bb Release 1.1.0 2016-02-11 14:45:09 -05:00
Dave Shawley
7c55f1c93e Add codecov support. 2016-01-27 18:26:44 -05:00
Dave Shawley
a1ba8874f6 Add support for `before_run` callbacks. 2016-01-27 18:24:02 -05:00
Dave Shawley
92ca0bf70e Add log_config parameter to sprockets.http.run. 2015-12-10 10:48:25 -05:00
Dave Shawley
a742456a7d docs/history: Add missing link. 2015-11-20 15:06:54 -05:00
Gavin M. Roy
f028723e45 Use mediatype.ContentMixin if its also extended 2015-11-20 14:14:39 -05:00
Dave Shawley
12d2855bd7 Bumps for 1.0.0. 2015-11-20 08:26:27 -05:00