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
dave-shawley
9efd85f197
Merge pull request #22 from bkorty/expose-http-server-options
...
Support max_body_size and max_buffer_size.
2018-01-25 09:22:39 -05:00
Brian Korty
4109dd3885
Support max_body_size and max_buffer_size.
...
Allow max_body_size and max_buffer_size settings to be passed into the
underlying Tornado HTTPServer to override the default settings.
2018-01-24 20:07:12 -05:00
Dave Shawley
e7106c6c71
Metadata bumps for 1.4.1.
2018-01-03 13:44:32 -05:00
dave-shawley
a11ec9063a
Merge pull request #21 from dave-shawley/upload-to-pythonhosted
...
Enable uploading docs to pythonhosted.org.
2018-01-03 13:41:02 -05:00
Dave Shawley
261a6bd1ca
requirements: hard pin development tools.
2018-01-03 13:37:31 -05:00
Dave Shawley
0730428069
Enable uploading docs to pythonhosted.org.
...
If this works, then consider ditching readthedocs.org since there is no
way to downgrade the sphinx version there /sigh
2018-01-03 13:19:28 -05:00
dave-shawley
c49175a610
Merge pull request #20 from dave-shawley/fix-docs
...
Fix documentation builds
2018-01-03 13:17:05 -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
Andrew Rabert
4181abc542
Avoid RecursionError in test
...
A sleep value of 0.05 resulted in a RecursionError in some environments.
2017-06-08 17:01:51 -04:00
Gavin M. Roy
7f2956413c
Merge pull request #17 from dave-shawley/add-app
...
Add application class
2016-11-03 15:32:50 -04: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
d7370ab5e6
Rename CallbackManager.run to start.
...
It was too easy to confuse this with Runner.run
2016-11-03 07:43:23 -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
957ce4c4a5
Update for structured syslog output when non-debug
2016-09-16 15:45:23 -04:00
Gavin M. Roy
f1b9cdc195
Change non-debug logging to be structured for rsyslog parsing from docker
2016-09-16 15:22:31 -04:00
dave-shawley
cc2c8b9f62
Merge pull request #16 from sprockets/no-json-logging
...
Update the logging to remove JSON logging
2016-08-29 19:23:19 -04:00
Gavin M. Roy
bb4c7e20a5
Import logging.config
2016-08-29 16:15:56 -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
Gavin M. Roy
a056a05d78
Update the logging to remove JSON logging
2016-08-29 15:07:01 -04:00
Gavin M. Roy
3c620aa7dc
Merge pull request #15 from dave-shawley/add-run-command
...
Add run command
2016-08-04 19:41:04 -04:00
Dave Shawley
140da0e79e
- Fix sprockets namespace packaging.
2016-07-31 21:15:28 -04:00
Dave Shawley
160a3c70dd
Appease flake8.
2016-06-13 23:23:46 -04:00