Deployment Blocked – Request for Upgrade or Docker-Based Build to Resolve huggingface_hub Compatibility
ericlowpw
FREEOP

10 months ago

Hi Railway team,

I'm running into a deployment blocker with my Flask app using sentence-transformers==2.2.0, which depends on:

from huggingface_hub.snapshot_download import REPO_ID_SEPARATOR

This is only available from huggingface_hub>=0.24.0.

Even after explicitly setting this in requirements.txt, the deploy logs still show:

huggingface_hub version: 0.23.0 ModuleNotFoundError: No module named 'huggingface_hub.snapshot_download'

My ask:

Could you help me with one of the following:

  1. Upgrade the base environment or builder so that Python libraries (esp. huggingface_hub) aren't pinned to older versions.

  2. Allow full control with a Dockerfile-based deployment (if not already supported on my plan) to manage packages directly and avoid these version conflicts.

  3. If Railway Nixpacks is enforcing cached dependencies, can I opt into a full cache purge or switch to a clean build pipeline?

I’m happy to upgrade to a paid plan if that unlocks more consistent dependency control.

Thanks in advance for your help!

Solved

1 Replies

I am curious if you'd face the same issues on Railpack?


Status changed to Awaiting User Response Railway 11 months ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...