From 4eb58225a3b9b91858c1b44057c90c3d42075314 Mon Sep 17 00:00:00 2001 From: Edward Li Date: Wed, 12 Mar 2025 13:29:34 -0700 Subject: [PATCH 1/2] Add JWT as explicit dependency --- pyproject.toml | 3 ++- uv.lock | 15 +++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 441fe4954..3662c9216 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ dependencies = [ "hatch-vcs>=0.4.0", "hatchling>=1.25.0", "pyinstrument>=5.0.0", - "pip>=24.3.1", # This is needed for some NPM/YARN/PNPM post-install scripts to work! + "pip>=24.3.1", # This is needed for some NPM/YARN/PNPM post-install scripts to work! "rich-click>=1.8.5", "python-dotenv>=1.0.1", "giturlparse", @@ -80,6 +80,7 @@ dependencies = [ "colorlog>=6.9.0", "langsmith", "langchain-xai>=0.2.1", + "jwt>=1.3.1", ] license = { text = "Apache-2.0" } diff --git a/uv.lock b/uv.lock index a5a858c41..f5a64b7a0 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,4 @@ version = 1 -revision = 1 requires-python = ">=3.12, <3.14" resolution-markers = [ "python_full_version >= '3.12.4'", @@ -549,6 +548,7 @@ dependencies = [ { name = "hatchling" }, { name = "httpx" }, { name = "humanize" }, + { name = "jwt" }, { name = "langchain", extra = ["openai"] }, { name = "langchain-anthropic" }, { name = "langchain-core" }, @@ -679,6 +679,7 @@ requires-dist = [ { name = "hatchling", specifier = ">=1.25.0" }, { name = "httpx", specifier = ">=0.28.1" }, { name = "humanize", specifier = ">=4.10.0,<5.0.0" }, + { name = "jwt" }, { name = "langchain", extras = ["openai"] }, { name = "langchain-anthropic", specifier = ">=0.3.7" }, { name = "langchain-core" }, @@ -742,7 +743,6 @@ requires-dist = [ { name = "wrapt", specifier = ">=1.16.0,<2.0.0" }, { name = "xmltodict", specifier = ">=0.13.0,<1.0.0" }, ] -provides-extras = ["lsp", "types"] [package.metadata.requires-dev] dev = [ @@ -2002,6 +2002,17 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/54/09/2032e7d15c544a0e3cd831c51d77a8ca57f7555b2e1b2922142eddb02a84/jupyterlab_server-2.27.3-py3-none-any.whl", hash = "sha256:e697488f66c3db49df675158a77b3b017520d772c6e1548c7d9bcc5df7944ee4", size = 59700 }, ] +[[package]] +name = "jwt" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/66/1e792aef36645b96271b4d27c2a8cc9fc7bbbaf06277a849b9e1a6360e6a/jwt-1.3.1-py3-none-any.whl", hash = "sha256:61c9170f92e736b530655e75374681d4fcca9cfa8763ab42be57353b2b203494", size = 18192 }, +] + [[package]] name = "langchain" version = "0.3.20" From 42dadbd389fb52a23b9a9b6b97f02d55bf87616e Mon Sep 17 00:00:00 2001 From: EdwardJXLi <20020059+EdwardJXLi@users.noreply.github.com> Date: Wed, 12 Mar 2025 20:31:05 +0000 Subject: [PATCH 2/2] Automated pre-commit update --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3662c9216..1b5e2e607 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ dependencies = [ "hatch-vcs>=0.4.0", "hatchling>=1.25.0", "pyinstrument>=5.0.0", - "pip>=24.3.1", # This is needed for some NPM/YARN/PNPM post-install scripts to work! + "pip>=24.3.1", # This is needed for some NPM/YARN/PNPM post-install scripts to work! "rich-click>=1.8.5", "python-dotenv>=1.0.1", "giturlparse",