# Hugging Face Space — runtime dependencies for FinAgent. # # This file is consumed by the Space builder and installs into a CPU-only # environment (the GPU inference runs elsewhere on AMD Developer Cloud). # Pins here stay tight where they matter and relax where the resolver # needs room (notably gradio vs crewai on aiofiles). # Gradio frontend framework. Pinned to 6.x because gradio 4.44 / 5.x cap # aiofiles<24 while crewai 1.14 pins aiofiles~=24.1 — they are # resolver-incompatible. Gradio 6 dropped the aiofiles dependency # entirely so both packages can coexist. gradio>=6.0,<7 # Agent orchestration crewai==1.14.4 langchain-openai>=1.2,<2 # Market / tool data providers yfinance==1.3.0 ddgs>=9.0,<10 pandas-ta-remake==1.0.4 # pandas-ta-remake 1.0.4 still imports pkg_resources; Setuptools >=81 removed it. setuptools<81 # Tokenizers 0.20.x lacks DecodeStream on Python 3.13; crewai needs >=0.21. tokenizers>=0.21,<1