Skip to content

Commit d3a5217

Browse files
committed
Limit GLiNER to ignore latest release, closes #984
1 parent 99e3457 commit d3a5217

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
- name: Build
5555
run: |
5656
pip install -U wheel
57-
pip install gliner==0.2.21
5857
pip install .[all,dev]
5958
pip cache purge
6059
python -c "import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
extras["pipeline-llm"] = ["litellm>=1.37.16", "llama-cpp-python>=0.2.75"]
7979

80-
extras["pipeline-text"] = ["gliner>=0.2.16", "sentencepiece>=0.1.91", "staticvectors>=0.2.0"]
80+
extras["pipeline-text"] = ["gliner>=0.2.16,<=0.2.21", "sentencepiece>=0.1.91", "staticvectors>=0.2.0"]
8181

8282
extras["pipeline-train"] = [
8383
"accelerate>=0.26.0",

0 commit comments

Comments
 (0)