diff --git a/.travis.yml b/.travis.yml index 762480d..aca4d38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ language: python cache: pip -python: ["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "pypy"] +python: ["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "pypy"] install: - pip install jsonpickle diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3f6cd33..1143f2a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,8 @@ +3.1.5 + +- Fix a syntax error in the WSGI middlewre introduced in 3.1.4 +- Relaxes dependency requirements for jsonpickle etc + 3.1.4 - Fix runtime bugs involving the WSGI pipeline, a local variable accessor edge case, and a pickling old-style classes exception diff --git a/python2/raygun4py/middleware/wsgi.py b/python2/raygun4py/middleware/wsgi.py index c6c9787..651fbe6 100644 --- a/python2/raygun4py/middleware/wsgi.py +++ b/python2/raygun4py/middleware/wsgi.py @@ -40,7 +40,7 @@ def __call__(self, environ, start_response): def build_request(self, environ): request = {} - http_host = environ.get('HTTP_HOST'], None) + http_host = environ.get(['HTTP_HOST'], None) if http_host is not None: http_host = http_host.replace(' ', '') diff --git a/python3/raygun4py/middleware/wsgi.py b/python3/raygun4py/middleware/wsgi.py index 3ca4e74..0305e10 100644 --- a/python3/raygun4py/middleware/wsgi.py +++ b/python3/raygun4py/middleware/wsgi.py @@ -38,7 +38,7 @@ def __call__(self, environ, start_response): def build_request(self, environ): request = {} - http_host = environ.get('HTTP_HOST'], None) + http_host = environ.get(['HTTP_HOST'], None) if http_host is not None: http_host = http_host.replace(' ', '') diff --git a/setup.py b/setup.py index 7ed3a71..538f193 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='raygun4py', - version='3.1.4', + version='3.1.5', packages=packages, package_dir= { "raygun4py": base_dir + "/raygun4py" @@ -22,9 +22,9 @@ description='Official Raygun provider for Python 2.6/2.7 and Python 3+', long_description=open('README.rst').read(), install_requires=[ - 'jsonpickle == 0.9.2', - 'blinker == 1.3.0', - 'requests == 2.9.1' + 'jsonpickle >= 0.9.2', + 'blinker >= 1.3.0', + 'requests >= 2.9.1' ], entry_points={ 'console_scripts': [