Closed finswimmer closed 2 years ago
Dependencies that are not needed during runtime are better suited in the [tool.poetry.dev-dependencies] section of the pyproject.toml.
[tool.poetry.dev-dependencies]
pyproject.toml
Doing so makes it possible to exclude those dependencies in the production environment by installing the project via poetry install --no-dev.
poetry install --no-dev
Furthermore those dev-dependencies doesn't influence the dependencies resolution tree. if other project define monarch-ingest as a dependency.
monarch-ingest
I also updated pytest to its latest version, because the current version haven't worked with python3.10.
pytest
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.
Dependencies that are not needed during runtime are better suited in the
[tool.poetry.dev-dependencies]
section of thepyproject.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.