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 show -t --no-dev should exclude all dependencies of any dev-dep #3448

Closed
dazza-codes opened this issue Dec 4, 2020 · 4 comments
Closed
Labels
kind/bug Something isn't working as expected

Comments

@dazza-codes
Copy link
Contributor

dazza-codes commented Dec 4, 2020

Try

poetry init  # etc etc
poetry add -D py-dev-deps
poetry show -t --no-dev

It shows all the dependencies of the py-dev-deps package, which itself is a dev-dep. The --no-dev flag should traverse the dep-tree of any dev-dep to exclude the entire tree. It might only include dependencies that are in the project deps (i.e. some intersection of the project deps and anything deep in a dev-dep tree, e.g. some very common libs are likely to be both project deps and somewhere in the dep-tree of the dev-deps).

@dazza-codes dazza-codes added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 4, 2020
@glencairn
Copy link
Contributor

Hey @dazza-codes, this looks like a duplicate of #3295 and it appears that this behavior was fixed by #3296, the fix just hasn't made it's way into the wild yet. Unless you disagree, I think this issue can be closed.

@blueyed
Copy link
Contributor

blueyed commented May 3, 2021

I can confirm that #3296 fixes this, but has not been released yet.

@blueyed
Copy link
Contributor

blueyed commented May 3, 2021

Backported for 1.1 already in 7a0fdf9 (will be in 1.1.7 then likely).

Copy link

github-actions bot commented Mar 2, 2024

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 Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

4 participants