From 4f52927d2fbcdb16411db138bf762623a80a124f Mon Sep 17 00:00:00 2001 From: James Woglom Date: Wed, 2 Oct 2024 00:45:39 -0400 Subject: [PATCH] try to fix jwt import error --- Pipfile | 2 +- Pipfile.lock | 2 +- setup.cfg | 2 +- tconnectsync/__init__.py | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Pipfile b/Pipfile index 6f123a2..42b336b 100644 --- a/Pipfile +++ b/Pipfile @@ -17,7 +17,7 @@ pysocks = "*" urllib3 = "==1.26.6" requests = {extras = ["socks"], version = "==2.31.0"} requests-oidc = "*" -pyjwt = "==2.8.0" +PyJWT = "==2.8.0" cryptography = "*" dataclasses-json = "*" cffi = ">=1.15.1" diff --git a/Pipfile.lock b/Pipfile.lock index e87bb1b..8c448fc 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "6b5baa4e659a598014fa6602acb241be0ab59a63126a132652c305792a1a3752" + "sha256": "1d28c5104c37e390b88704d1453eec15e5c6df241ca85f82a88973f8aee2d1d1" }, "pipfile-spec": 6, "requires": {}, diff --git a/setup.cfg b/setup.cfg index 44a4f90..427dd03 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ install_requires = urllib3 requests requests-oidc - pyjwt + PyJWT cryptography dataclasses-json cffi diff --git a/tconnectsync/__init__.py b/tconnectsync/__init__.py index 63d5357..6dc860d 100644 --- a/tconnectsync/__init__.py +++ b/tconnectsync/__init__.py @@ -5,6 +5,8 @@ import argparse import logging import pkg_resources import typing + +# Required for cryptography lib in python 3.7 if sys.version_info < (3, 8): import typing_extensions typing.Protocol = typing_extensions.Protocol