pbordescnil commited on
Commit
bf6dc1e
·
1 Parent(s): 437c8f6

Pin huggingface_hub to 1.8.0 for Python 3.9

Browse files

The Space's neo4j image runs Python 3.9, but huggingface_hub >= 1.9 requires Python >= 3.10, so the build failed to install 1.25.1. 1.8.0 is the latest release that still supports Python 3.9 and has the same local_dir download behavior.

Files changed (1) hide show
  1. application_neo4j/requirements.txt +4 -2
application_neo4j/requirements.txt CHANGED
@@ -3,5 +3,7 @@ neo4j==5.28.1
3
  graphdatascience==1.15.1
4
  pandas==2.2.3
5
  Jinja2 ==3.1.6
6
- # Bootstrap only: fetch the Neo4j dump from the Hub dataset at container start
7
- huggingface_hub==1.25.1
 
 
 
3
  graphdatascience==1.15.1
4
  pandas==2.2.3
5
  Jinja2 ==3.1.6
6
+ # Bootstrap only: fetch the Neo4j dump from the Hub dataset at container start.
7
+ # Pinned to the latest release that still supports Python 3.9 (the neo4j image);
8
+ # huggingface_hub >= 1.9 requires Python >= 3.10.
9
+ huggingface_hub==1.8.0