Bug Details
enrichement app fails to start
With clean deployment enrichment app containers fails to start due huggingface_hub v0.26.0 breaking changes (huggingface_hub removed cached_download)
ImportError: cannot import name 'cached_download' from 'huggingface_hub'
Steps To Reproduce
- Deploy clean instance
- infoasst-enrichmentweb-xxxx is in degraded state due to start failure (ImportError: cannot import name 'cached_download' from 'huggingface_hub')
What is the expected behavior?
enrichmentweb should not fail
As temporary workaround you can just pin huggingface_hub to last working version 0.25.2 by adding
|
#### Any version change made here should also be made and tested for the webapp backend and function apps in /functions and /app/backend |
|
--extra-index-url https://download.pytorch.org/whl/cpu |
|
azure-core==1.31.0 |
|
azure-cosmos==4.7.0 |
|
azure-storage-blob==12.23.1 |
|
azure-storage-queue==12.12.0 |
|
azure-search-documents==11.5.1 |
|
azure-identity==1.18.0 |
|
fastapi==0.115.0 |
|
fastapi-utils==0.7.0 |
|
openai==1.50.2 |
|
sentence-transformers==3.1.1 |
|
tenacity==9.0.0 |
|
torch |
|
torchvision |
|
torchaudio |
|
uvicorn==0.31.0 |
If the bug is confirmed, would you be willing to submit a PR?
Bug Details
enrichement app fails to start
With clean deployment enrichment app containers fails to start due
huggingface_hubv0.26.0 breaking changes (huggingface_hub removed cached_download)Steps To Reproduce
What is the expected behavior?
enrichmentweb should not fail
As temporary workaround you can just pin
huggingface_hubto last working version0.25.2by addingPubSec-Info-Assistant/app/enrichment/requirements.txt
Lines 1 to 17 in 098e1db
If the bug is confirmed, would you be willing to submit a PR?