Skip to content

Commit

Permalink
chore: Upgrade transformers to 4.38.2 in test environment (#7363)
Browse files Browse the repository at this point in the history
* upgrade transformers to 4.38.2 in test environment

* add pyproject to files to check in test workflow
  • Loading branch information
anakin87 committed Mar 15, 2024
1 parent abda78c commit e793c71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- "haystack/**/*.py"
- "haystack/core/pipeline/predefined/*"
- "test/**/*.py"
- "pyproject.toml"

env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests_skipper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e793c71

Please sign in to comment.