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

poetry install --without dev allow for missing dev group dependencies #7259

Closed
2 tasks done
scottwalshqs opened this issue Dec 27, 2022 · 2 comments
Closed
2 tasks done
Labels
status/duplicate Duplicate issues

Comments

@scottwalshqs
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the FAQ and general documentation and believe that my question is not already covered.

Feature Request

I would like to be able to have a [tool.poetry.group.dev.dependencies] group with local dependencies that do not exist and allow poetry install --without dev to continue to work in this case. This would help with developing within a monorepo where local packages may exists in different relative paths in development compared to production.

pyproject.toml

[tool.poetry]
name = "testname"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
dne = {path = "../diffpath/packages/dne", develop = true}

[tool.poetry.group.dev.dependencies]
dne = {path = "../../packages/dne", develop = true}


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
➜  poetry install --without dev

Directory ../../packages/dne does not exist
@scottwalshqs scottwalshqs added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Dec 27, 2022
@neersighted
Copy link
Member

Duplicate #668

@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2022
@neersighted neersighted added status/duplicate Duplicate issues and removed kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Dec 27, 2022
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants