diff --git a/.github/pyinstaller/pyinstaller.spec b/.github/pyinstaller/pyinstaller.spec index 641da859..25dc3fa1 100644 --- a/.github/pyinstaller/pyinstaller.spec +++ b/.github/pyinstaller/pyinstaller.spec @@ -17,6 +17,8 @@ import sys import capa.rules.cache +from PyInstaller.utils.hooks import collect_submodules + from pathlib import Path # SPECPATH is a global variable which points to .spec file path @@ -34,6 +36,7 @@ a = Analysis( ["../../capa/main.py"], pathex=["capa"], binaries=None, + hiddenimports=collect_submodules('rich'), datas=[ # when invoking pyinstaller from the project root, # this gets invoked from the directory of the spec file, diff --git a/requirements.txt b/requirements.txt index b91134e6..c7180d13 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,7 +37,7 @@ pygments==2.19.1 pyghidra==3.0.0 python-flirt==0.9.2 pyyaml==6.0.2 -rich==14.2.0 +rich==14.3.2 ruamel-yaml==0.19.1 ruamel-yaml-clib==0.2.14 setuptools==80.10.1