mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-28 15:38:36 +00:00
chore: Upgrade transformers to 4.38.2 in test environment (#7363)
* upgrade transformers to 4.38.2 in test environment * add pyproject to files to check in test workflow
This commit is contained in:
parent
abda78c122
commit
e793c718b6
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -19,6 +19,7 @@ on:
|
||||
- "haystack/**/*.py"
|
||||
- "haystack/core/pipeline/predefined/*"
|
||||
- "test/**/*.py"
|
||||
- "pyproject.toml"
|
||||
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
||||
1
.github/workflows/tests_skipper.yml
vendored
1
.github/workflows/tests_skipper.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
||||
- haystack/**/*.py
|
||||
- "haystack/templates/predefined/*"
|
||||
- test/**/*.py
|
||||
- "pyproject.toml"
|
||||
|
||||
catch-all:
|
||||
# Don't run this check if the PR contains both code and non-code changes (e.g. release notes)
|
||||
|
||||
@ -101,7 +101,7 @@ format-check = "black --check ."
|
||||
|
||||
[tool.hatch.envs.test]
|
||||
extra-dependencies = [
|
||||
"transformers[torch,sentencepiece]==4.37.2", # ExtractiveReader, TransformersSimilarityRanker, LocalWhisperTranscriber, HFGenerators...
|
||||
"transformers[torch,sentencepiece]==4.38.2", # ExtractiveReader, TransformersSimilarityRanker, LocalWhisperTranscriber, HFGenerators...
|
||||
"spacy>=3.7,<3.8", # NamedEntityExtractor
|
||||
"spacy-curated-transformers>=0.2,<=0.3", # NamedEntityExtractor
|
||||
"en-core-web-trf @ https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.7.3/en_core_web_trf-3.7.3-py3-none-any.whl", # NamedEntityExtractor
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user