-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 [package]
'required by' output is confusing
#9749
Comments
it's not saying that playwright 3.0.3 requires greenlet, it's saying that playwright requires greenlet at exactly version 3.0.3 |
It is still confusing (confused me too). Issue is valid as bad UX. |
sure, no disagreement, just pointing out what it is that poetry is actually telling you |
From my point of view, it's not saying that at all, and I'm not sure that anyone could reasonably say it does. The documentation has no detail at all here. But it's good to have the intended behaviour confirmed. I will try to submit a PR to add to the documentation. What if the command output said:
? |
might as well just tweak the code directly, rather than leave it confusing but documented-as-confusing. fwiw requiring an exact version is unusual - playwright is likely wrong to do this, though I know nothing about that project. The current output is somewhat less confusing when it says something like
|
Thanks for pointing me in the right direction @dimbleby - PR raised to change output. |
poetry show [package]
gives version of required by
package that doesn't match poetry.lock
poetry show [package]
'required by' output is confusing
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. |
Description
Here's an example.
Extract from my project's
poetry.lock
:Playwright's latest version is 1.47; it looks like the locked version of greenlet is being shown here instead.
Notes:
Workarounds
Examining
poetry.lock
and not trustingpoetry show [package]
.Poetry Installation Method
install.python-poetry.org
Operating System
Windows 11
Poetry Version
1.8.3
Poetry Configuration
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: