Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add poetry.lock back to versioning and trying minimal dependency (#400)
- [x] Added `poetry.lock` back to version control - [ ] ~Removed pinning of poetry version in GitHub Actions~ - [ ] ~Pruned dependency list to the minimal required one based on the dependencies that already bring in other packages that are needed.~ - [x] figure out why the error was occurring: - So `linkml-runtime` has a dependency on `prefixcommons` which has a dependency on `pytest-logging`. This package (pytest-logging) is causing issues with the windows instance within GitHub Actions. - I do not know why this is **not** happening in any of the other projects we have. - The fix in `qc.yml` is : ``` poetry run pip wheel --use-pep517 "pytest-logging (==2015.11.4)" ``` before `poetry install` - Another issue was with Windows environment not detecting `poetry` as a command in spite of being installed. - Reason: `poetry` path was not automatically being added to environment variables when it is invoked using an reusable gh-action ( `snok/install-poetry@v1`). - Fix: ``` - name: Windows specific step. if: matrix.os == 'windows-latest' run: echo "${HOME}/.local/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append ``` - `pyparsing` is not really used in the project as far as I know. It is also causing errors in GH Actions. So removing it Note: `poetry` is still pinned to version 1.3.2 as before.
- Loading branch information