You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DivyanshuBhoyar
changed the title
Main dependency shadow dev-dependency of local package
Main dependency shadows dev-dependency of local package
Jun 18, 2024
Description
Main dependencies:
Dev dependencies:
Same dependencies re-declared in dev group, with
develop = True
wont be installed in editable mode usingpoetry 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
The text was updated successfully, but these errors were encountered: