Skip to content

Commit

Permalink
Merge pull request #12 from dave-shawley/py37
Browse files Browse the repository at this point in the history
Support python 3.7
  • Loading branch information
gmr committed Sep 18, 2018
2 parents 51abf97 + 54783c2 commit ebd9c05
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015-2016 AWeber Communications
Copyright (c) 2015-2018 AWeber Communications
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
8 changes: 7 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ http://localhost:8000/whatever provided that *whatever* is not an integer.

Version History
---------------
* `1.1.3`_

- Extend raven pin so that we can use python 3.7
- Advertise python 3.7 support

* `1.1.2`_

- Add email sanitization processor
Expand Down Expand Up @@ -99,7 +104,8 @@ License
.. _1.1.0: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.0.0...1.1.0
.. _1.1.1: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.1.0...1.1.1
.. _1.1.2: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.1.1...1.1.2
.. _Next Release: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.1.2...HEAD
.. _1.1.3: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.1.2...1.1.3
.. _Next Release: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.1.3...HEAD

.. |Version| image:: https://badge.fury.io/py/sprockets.mixins.sentry.svg?
:target: http://badge.fury.io/py/sprockets.mixins.sentry
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
raven>=5.11.0,<6
raven>=5.11.0,<7
tornado>3,<5
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def read_requirements_file(req_name):

setuptools.setup(
name='sprockets.mixins.sentry',
version='1.1.2',
version='1.1.3',
description='A RequestHandler mixin for sending exceptions to Sentry',
long_description=codecs.open('README.rst', encoding='utf-8').read(),
url='https://github.com/sprockets/sprockets.mixins.sentry.git',
Expand All @@ -47,6 +47,8 @@ def read_requirements_file(req_name):
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
Expand Down
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_that_request_data_is_included(self):
message = self.get_sentry_message()
self.assertEqual(message['request']['url'], self.get_url('/fail'))
self.assertEqual(message['request']['method'], 'GET')
self.assertEqual(message['request']['data'], b'')
self.assertEqual(message['request']['data'], '')

def test_that_extra_data_is_included(self):
self.fetch('/fail')
Expand Down

0 comments on commit ebd9c05

Please sign in to comment.