monarch-initiative / monarch-ingest

Data ingest application for Monarch Initiative knowledge graph using Koza
https://monarchinitiative.org
14 stars 1 forks source link

fix: move non-runtime dependencies into dev-dependencies section #199

Closed finswimmer closed 2 years ago

finswimmer commented 2 years ago

Dependencies that are not needed during runtime are better suited in the [tool.poetry.dev-dependencies] section of the pyproject.toml.

Doing so makes it possible to exclude those dependencies in the production environment by installing the project via poetry install --no-dev.

Furthermore those dev-dependencies doesn't influence the dependencies resolution tree. if other project define monarch-ingest as a dependency.

I also updated pytest to its latest version, because the current version haven't worked with python3.10.

kevinschaper commented 2 years ago

Thank you so much for this! (and, of course, for your work on Poetry). I missed the --dev option when I first built the project, and I hadn't gone back to fix it, so this is much appreciated.