From 078b193b764134b1f1dc1e703a49bcf8d6d996bf Mon Sep 17 00:00:00 2001 From: Joao Santos Date: Tue, 28 Nov 2023 13:40:20 -0300 Subject: [PATCH] update twilio to fix pyjwt security issue --- Pipfile | 2 +- Pipfile.lock | 25 ++++++++++--------------- setup.py | 2 +- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/Pipfile b/Pipfile index aee0686..62741bf 100644 --- a/Pipfile +++ b/Pipfile @@ -11,7 +11,7 @@ pylint = "*" pytest-asyncio = "*" [packages] -twilio = "==6.54.0" +twilio = "==7.17.0" signalwire = {editable = true,path = "."} aiohttp = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 1efddcb..212fb4f 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "0bab5ca8ce20afc86f6ce5ae3aa3e75a234f8c9735a1816a8545995a2e053cb7" + "sha256": "15c5329e584072d3cd572a6e07280facf3c9964d1c46b2420dcb3cb2ba2a14db" }, "pipfile-spec": 6, "requires": {}, @@ -382,10 +382,11 @@ }, "pyjwt": { "hashes": [ - "sha256:5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e", - "sha256:8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96" + "sha256:57e28d156e3d5c10088e0c68abb90bfac3df82b40a71bd0daa20c65ccd5c23de", + "sha256:59127c392cc44c2da5bb3192169a91f429924e17aff6534d70fdc02ab3e04320" ], - "version": "==1.7.1" + "markers": "python_version >= '3.7'", + "version": "==2.8.0" }, "pytz": { "hashes": [ @@ -399,7 +400,7 @@ "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1" ], - "markers": "python_version >= '3.0'", + "markers": "python_version >= '3.7'", "version": "==2.31.0" }, "signalwire": { @@ -407,20 +408,14 @@ "markers": "python_version >= '3.6'", "path": "." }, - "six": { - "hashes": [ - "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", - "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.16.0" - }, "twilio": { "hashes": [ - "sha256:016a936061e1c85a879314e5fbf9bf09927b10b33f5b7143ea904ca0a09bfca3" + "sha256:312e25b0a1ca782974a359d95123f270574e6e4b195b0e2095a156219ad7b7ec", + "sha256:f43de32cdc27f8853bb02ab0b8703a487beffbb9dcc8118398b6757e1376e6ed" ], "index": "pypi", - "version": "==6.54.0" + "markers": "python_full_version >= '3.6.0'", + "version": "==7.17.0" }, "urllib3": { "hashes": [ diff --git a/setup.py b/setup.py index 452f0a9..735d2d1 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def get_version(): license='MIT', packages=find_packages(exclude=['tests', 'tests.*']), install_requires=[ - 'twilio==6.54.0', + 'twilio==7.17.0', 'aiohttp', ], python_requires='>=3.6',