diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index f3d4fca..bf071e6 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -26,8 +26,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install flake8 pytest poetry + poetry install - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/pyproject.toml b/pyproject.toml index 9e84fb0..007479e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Indico Data "] packages = [ { include = "sequence_metrics" } ] [tool.poetry.dependencies] -python = ">=3.7" +python = ">=3.10" spacy = "~3.0.0" scikit-learn = "~1.0.0"