Limit GLiNER to ignore latest release, closes #984

This commit is contained in:
davidmezzetti
2025-11-19 08:29:13 -05:00
parent 99e3457b1f
commit d3a5217153
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -54,7 +54,6 @@ jobs:
- name: Build
run: |
pip install -U wheel
pip install gliner==0.2.21
pip install .[all,dev]
pip cache purge
python -c "import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])"
+1 -1
View File
@@ -77,7 +77,7 @@ extras["pipeline-image"] = ["imagehash>=4.2.1", "pillow>=7.1.2", "timm>=0.4.12"]
extras["pipeline-llm"] = ["litellm>=1.37.16", "llama-cpp-python>=0.2.75"]
extras["pipeline-text"] = ["gliner>=0.2.16", "sentencepiece>=0.1.91", "staticvectors>=0.2.0"]
extras["pipeline-text"] = ["gliner>=0.2.16,<=0.2.21", "sentencepiece>=0.1.91", "staticvectors>=0.2.0"]
extras["pipeline-train"] = [
"accelerate>=0.26.0",