From 9d626bde2f59d3ae93263936ba87b0de7c7eb3d2 Mon Sep 17 00:00:00 2001 From: red Date: Thu, 18 Apr 2024 15:52:08 +0800 Subject: [PATCH 1/2] Changed pyjq to jq --- g2p_openid_vci/__manifest__.py | 2 +- g2p_openid_vci/models/vci_issuer.py | 2 +- g2p_openid_vci_rest_api/__manifest__.py | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/g2p_openid_vci/__manifest__.py b/g2p_openid_vci/__manifest__.py index af770ba..efdd258 100644 --- a/g2p_openid_vci/__manifest__.py +++ b/g2p_openid_vci/__manifest__.py @@ -12,7 +12,7 @@ "g2p_registry_base", "g2p_encryption", ], - "external_dependencies": {"python": ["cryptography<37", "python-jose", "pyjq", "PyLD"]}, + "external_dependencies": {"python": ["cryptography<37", "python-jose", "jq", "PyLD"]}, "data": [ "security/ir.model.access.csv", "views/vci_issuers.xml", diff --git a/g2p_openid_vci/models/vci_issuer.py b/g2p_openid_vci/models/vci_issuer.py index ca50a57..d856bfb 100644 --- a/g2p_openid_vci/models/vci_issuer.py +++ b/g2p_openid_vci/models/vci_issuer.py @@ -4,7 +4,7 @@ import uuid from datetime import datetime -import pyjq as jq +import jq import requests from cryptography.hazmat.primitives import hashes from jose import jwt diff --git a/g2p_openid_vci_rest_api/__manifest__.py b/g2p_openid_vci_rest_api/__manifest__.py index 1a2e6d2..f34b2e0 100644 --- a/g2p_openid_vci_rest_api/__manifest__.py +++ b/g2p_openid_vci_rest_api/__manifest__.py @@ -12,7 +12,7 @@ "fastapi", "extendable_fastapi", ], - "external_dependencies": {"python": ["extendable-pydantic", "pydantic", "pyjq"]}, + "external_dependencies": {"python": ["extendable-pydantic", "pydantic", "jq"]}, "data": ["data/fastapi_endpoint_vci.xml"], "assets": { "web.assets_backend": [], diff --git a/requirements.txt b/requirements.txt index 039cbd4..59c90ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,5 @@ PyLD cryptography<37 extendable-pydantic pydantic -pyjq +jq python-jose From c6f35376fb39da92a702079e65794c75ecacead0 Mon Sep 17 00:00:00 2001 From: red Date: Thu, 18 Apr 2024 15:52:47 +0800 Subject: [PATCH 2/2] pre-commt run -a --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 59c90ac..e62132f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ PyLD cryptography<37 extendable-pydantic -pydantic jq +pydantic python-jose