From f7e133dfedb0ece98bce63db0c06507423b11d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= Date: Thu, 30 Apr 2026 12:30:15 +0200 Subject: [PATCH] [lldb] Add Python cryptography package as new test dependency (#192434) HTTPS tests for SymbolLocatorSymStore need the Python cryptography package --- .ci/all_requirements.txt | 7 +++++-- lldb/test/CMakeLists.txt | 2 +- lldb/test/requirements.txt | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.ci/all_requirements.txt b/.ci/all_requirements.txt index 0594d875ed18..1ab2a81b1d1d 100644 --- a/.ci/all_requirements.txt +++ b/.ci/all_requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --generate-hashes --output-file=./.ci/all_requirements.txt ./.ci/requirements.txt ./lldb/test/requirements.txt ./mlir/python/requirements.txt @@ -236,7 +236,9 @@ cryptography==46.0.3 \ --hash=sha256:e7aec276d68421f9574040c26e2a7c3771060bc0cff408bae1dcb19d3ab1e63c \ --hash=sha256:ef639cb3372f69ec44915fafcd6698b6cc78fbe0c2ea41be867f6ed612811963 \ --hash=sha256:f260d0d41e9b4da1ed1e0f1ce571f97fe370b152ab18778e9e8f67d6af432018 - # via pyjwt + # via + # -r lldb/test/requirements.txt + # pyjwt google-api-core==2.25.1 \ --hash=sha256:8a2a56c1fef82987a524371f99f3bd0143702fecc670c72e600c1cda6bf8dbb7 \ --hash=sha256:d2aaa0b13c78c61cb3f4282c464c046e45fbd75755683c9c525e6e8f7ed0a5e8 @@ -578,6 +580,7 @@ typing-extensions==4.15.0 \ --hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548 # via # -r mlir/python/requirements.txt + # cryptography # pygithub urllib3==2.5.0 \ --hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \ diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 070f05ceacaa..86974d86bbec 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -12,7 +12,7 @@ endif() if(LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS) message(STATUS "Enforcing strict test requirements for LLDB") # Lit uses psutil to do per-test timeouts. - set(useful_python_modules psutil packaging) + set(useful_python_modules psutil packaging cryptography) if(NOT WIN32) # We no longer vendor pexpect and it is not used on Windows. diff --git a/lldb/test/requirements.txt b/lldb/test/requirements.txt index e2438bf70b6e..d666b3511e9a 100644 --- a/lldb/test/requirements.txt +++ b/lldb/test/requirements.txt @@ -7,3 +7,5 @@ pexpect>=4.9.0; sys_platform != 'win32' packaging # Required for python tests swig>=4.0.0 +# Required for SymStore HTTPS API tests +cryptography>=43.0.0