fix: 1.x - nltk upgrade, use nltk.download('punkt_tab')
#5108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependency checker | |
on: | |
push: | |
branches: | |
- main | |
# release branches have the form v1.9.x | |
- 'v[0-9].*[0-9].x' | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths: | |
- "**.py" | |
- "pyproject.toml" | |
- "!.github/**/*.py" | |
- "!rest_api/**/*.py" | |
- "!test/*" | |
env: | |
PYTHON_VERSION: "3.8" | |
jobs: | |
base-install: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Haystack with no extras | |
run: pip install . | |
- name: Import Haystack | |
run: python -c 'import haystack' |