poetry
poetry copied to clipboard
Main dependency shadows dev-dependency of local package
Description
Main dependencies:
Dev dependencies:
Same dependencies re-declared in dev group, with develop = True wont be installed in editable mode using poetry install.
My usecase is:
In prod i run, poetry install --no-dev
In local development: poetry install
but it installs the package in non editable mode. I have tried --dev-only but it removes the main dependencies.
Is this expected?
Is there any way to install all the dependencies + override in dev mode for overlapping (editable) dependencies ?
Workarounds
Poetry Installation Method
install.python-poetry.org
Operating System
Ubuntu 22.04
Poetry Version
1.6.1
Poetry Configuration
-
Python Sysconfig
-
Example pyproject.toml
-
Poetry Runtime Logs
-