From af1728564ac25898cf49edea280664ecc3076cf9 Mon Sep 17 00:00:00 2001 From: Kat Stevens Date: Wed, 20 Dec 2017 12:33:23 +0000 Subject: [PATCH 1/2] Bump pyJWT to v1.5.1 Fixes the following security vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2017-11424 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a0270a..98ad6f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ requests>=2.0.0 -PyJWT>=1 +PyJWT>=1.5.1 docopt>=0.3.0 monotonic>=0.1 future From f24722e0536e024814e281ec98f2239c1036ad4a Mon Sep 17 00:00:00 2001 From: Kat Stevens Date: Wed, 20 Dec 2017 12:37:03 +0000 Subject: [PATCH 2/2] Bump version to 4.7.1 --- notifications_python_client/__init__.py | 2 +- tests/notifications_python_client/test_base_api_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications_python_client/__init__.py b/notifications_python_client/__init__.py index 8cb6809..2288947 100644 --- a/notifications_python_client/__init__.py +++ b/notifications_python_client/__init__.py @@ -15,7 +15,7 @@ # # -- http://semver.org/ -__version__ = '4.7.0' +__version__ = '4.7.1' from notifications_python_client.errors import REQUEST_ERROR_STATUS_CODE, REQUEST_ERROR_MESSAGE diff --git a/tests/notifications_python_client/test_base_api_client.py b/tests/notifications_python_client/test_base_api_client.py index 1e3e1fc..e27a4d4 100644 --- a/tests/notifications_python_client/test_base_api_client.py +++ b/tests/notifications_python_client/test_base_api_client.py @@ -106,4 +106,4 @@ def test_user_agent_is_set(base_client, rmock): base_client.request('GET', '/') - assert rmock.last_request.headers.get("User-Agent") == "NOTIFY-API-PYTHON-CLIENT/4.7.0" + assert rmock.last_request.headers.get("User-Agent") == "NOTIFY-API-PYTHON-CLIENT/4.7.1"