Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main dependency shadows dev-dependency of local package #9497

Open
DivyanshuBhoyar opened this issue Jun 17, 2024 · 0 comments
Open

Main dependency shadows dev-dependency of local package #9497

DivyanshuBhoyar opened this issue Jun 17, 2024 · 0 comments
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged

Comments

@DivyanshuBhoyar
Copy link

DivyanshuBhoyar commented Jun 17, 2024

Description

Main dependencies:

image

Dev dependencies:

image

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

-
@DivyanshuBhoyar DivyanshuBhoyar added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 17, 2024
@DivyanshuBhoyar DivyanshuBhoyar changed the title Main dependency shadow dev-dependency of local package Main dependency shadows dev-dependency of local package Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant