Skip to content

Commit

Permalink
fix: pypi direct dependency failure (#459)
Browse files Browse the repository at this point in the history
* remove trf from toml and then ran `poetry update`

* update all neccessary files
  • Loading branch information
KrishPatel13 authored Aug 10, 2023
1 parent a62d7f3 commit d638469
Show file tree
Hide file tree
Showing 5 changed files with 502 additions and 572 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ pip3 install poetry
poetry install
poetry shell
alembic upgrade head
python -m spacy download en_core_web_trf
pytest
```

Expand Down
1 change: 1 addition & 0 deletions install/install_openadapt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ Set-Location .\OpenAdapt
RunAndCheck "pip install poetry" "Run ``pip install poetry``"
RunAndCheck "poetry install" "Run ``poetry install``"
RunAndCheck "poetry run alembic upgrade head" "Run ``alembic upgrade head``" -SkipCleanup:$true
RunAndCheck "poetry run python -m spacy download en_core_web_trf" "Run ``python -m spacy download en_core_web_trf``" -SkipCleanup:$true
RunAndCheck "poetry run pytest" "Run ``Pytest``" -SkipCleanup:$true
Write-Host "OpenAdapt installed Successfully!" -ForegroundColor Green
Start-Process powershell -Verb RunAs -ArgumentList "-NoExit", "-Command", "Set-Location -Path '$pwd'; poetry shell"
Expand Down
1 change: 1 addition & 0 deletions install/install_openadapt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ cd OpenAdapt
RunAndCheck "pip3.10 install poetry" "Install Poetry"
RunAndCheck "poetry install" "Install Python dependencies"
RunAndCheck "poetry run alembic upgrade head" "Update database"
RunAndCheck "poetry run python -m spacy download en_core_web_trf" "Download spacy en_core_web_trf model"
RunAndCheck "poetry run pytest" "Run tests"
if [ -z "$SKIP_POETRY_SHELL" ]; then
RunAndCheck "poetry shell" "Activate virtual environment"
Expand Down
Loading

0 comments on commit d638469

Please sign in to comment.